LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-09-2011, 02:24 AM   #1
salimshahzad
Member
 
Registered: Dec 2009
Posts: 200

Rep: Reputation: 15
samba windows share guideline need step by step


hello , v need guideline,
v want to made 2 users in samba by which windows machine we access share, say user1 has read,execute permission, user2 has read write delete update full permission. we have done user1 configuration as premia user. we need your guideline for user2

we change the smb.conf file
# less /etc/samba/smb.conf
[global]
workgroup = tmsa.com
server string = tmsrvr1
hosts allow = 10.0. 127.
log file = /var/log/samba/%m.log
security = user
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

[premia]
comment = premia
path = /premia
browseable = yes
writable = yes
public = yes
read only = yes

#cat /etc/passwd | mksmbpasswd.sh > /etc/samba/smbpasswd

#smbpasswd premia

# service smb start
#service smb stop
#service smb restart
 
Old 01-09-2011, 07:06 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 12,490
Blog Entries: 16

Rep: Reputation: 3208Reputation: 3208Reputation: 3208Reputation: 3208Reputation: 3208Reputation: 3208Reputation: 3208Reputation: 3208Reputation: 3208Reputation: 3208Reputation: 3208
See Samba by example. It's the best guide I have found and it's full of sample smb.conf files.

http://samba.org/samba/docs/man/Samba-Guide/
 
Old 01-10-2011, 02:13 AM   #3
piyusharora420
Member
 
Registered: Nov 2010
Posts: 93

Rep: Reputation: 0
i am not sure but i think you should add
Quote:
write list= user2
in your smb configuration file.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Step by Step guide installing Ubuntu 10.10 on a Windows 7 System (Dual booting) LXer Syndicated Linux News 0 11-24-2010 06:20 PM
Step by Step Method for Installing Ubuntu 10.10 on a Windows 7 System (Dual booting) allu john sudhakar Linux - Newbie 2 11-21-2010 12:07 PM
Step by step configuration documents of FTP/DNS/MAIL/Appache/SAMBA sidharthasankar.raja Linux - Server 2 04-15-2010 06:31 AM
Installing Mandrake Linux 10, step by step tutorial for Windows users lucat Linux - Newbie 0 06-12-2004 06:03 PM
Step-by-step to set up a RedHat Linux box for use as a Windows Server? Hercules Linux - Software 2 11-16-2003 11:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration