Problem With User Level Samba Sharing
Hello everyone, I'm trying to create a samba share but only have a specific set of users access it. The Linux server is RHEL 6 and the client accessing it is Windows 7 Ultimate. However, I'm not getting very far. I can only access the share if I uncomment "public = yes". The user account I'm logged into in Windows exists in Linux.
In /etc/samba/smb.conf I have: Code:
[global] Code:
Shared] |
Quote:
Ha ha, have spent many hours fiddling with CIFS mounts and Samba sharing... By the power of Google... Here's a quick link for how to setup Samba sharing on RHEL 6. Have you setup your Samba equivalents of Unix users (pseudo Windows users on the RHEL box)? FYI It's also important to note that newer versions of Samba (on desktop distro's like ARCH, Ubuntu, etc. now use pdbedit to edit and add new ('virtual' Windows users) to a Samba server backend user database. Samba >3.5 I think from memory. It's a much cleaner system IMHO. Smbclient running on a networked Linux box is an awesome tool for diagnosing Samba connection problems - far more useful than Windows at the client end! Use it all the time myself. I believe you want: Code:
security = user My laptops Samba setup is as follows (single share - accessible by my account only): Code:
#======================= Global Settings ===================================== |
Quote:
|
Quote:
|
All times are GMT -5. The time now is 01:39 PM. |