LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   samba windows share guideline need step by step (https://www.linuxquestions.org/questions/linux-newbie-8/samba-windows-share-guideline-need-step-by-step-855117/)

salimshahzad 01-09-2011 02:24 AM

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

frankbell 01-09-2011 07:06 PM

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/

piyusharora420 01-10-2011 02:13 AM

i am not sure but i think you should add
Quote:

write list= user2
in your smb configuration file.


All times are GMT -5. The time now is 12:35 PM.