Samba Server Configuration in Redhat Linux?
Thursday, January 20th, 2011 at
10:09
I want to share all users home directories and access with particular user. For Example
If i login into samba server with gaurav user i want its home directory to be shared and no other directory
Similarly if i login with other user then i want its home directory to be shared and no other dir…
Can someone help me out in making this possible??
Tagged with: home directories • home directory • samba server
Filed under: Redhat
Like this post? Subscribe to my RSS feed and get loads more!
Hi Gaurav,
By default samba shares all user’s home directory for that particular user. Just make sure following setting in smb.conf file.
In [global] section security setting should be set to user as follows.
security = user
and in Share Definition section Home Directories are shared as follows.
[homes]
comment = Home Directories
read only = No
browseable = No
Now you just need to start the smb service and add linux/unix user to samba password file by command " smbpasswd -a gaurav " , it will ask you to set samba password, just set the password and you are good to go !
Now access samba share e.g \\sambaserverip , it will ask you username and password. Give username as gaurav and password which you just set and you should be able to see home directory of gaurav !!
Regards,
Sumit Patel
http://tipsntricksforlinux.blogspot.com
http://tipsntricksforwindows.blogspot.com