[Samba] Valid Users in Samba 3
John H Terpstra
jht at samba.org
Wed Dec 31 06:07:18 GMT 2003
Please try the following. If you still have trouble let me know.
- John T.
On Tue, 30 Dec 2003, Lahners, Jeremy wrote:
> All -
> I'm having a problem with the "valid users" directive working. I have
> an Accounting share that only the Accounting department should have
> access to. However, I am unable to lock the directory down so only
> they can access it. I am running samba-3.0.0-2 from an RPM on RedHat
> 9.0. Below are details of my trials. This is a pretty urgent need,
> please. Thank you!
> workgroup = SCHEMMER
> server string = Project File Server
> security = DOMAIN
> password server = quicksilver.schemmer.com, fs2omaha.schemmer.com
> log level = 10
> log file = /var/log/samba/log.%m
> socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 SO_KEEPALIVE
> preferred master = No
> dns proxy = No
> wins server = 192.168.100.210
> ldap ssl = no
> idmap uid = 10000-20000
> idmap gid = 10000-20000
> template shell = /bin/bash
> winbind use default domain = Yes
> oplocks = No
> level2 oplocks = No
> comment = Accounting Files
> path = /shares/acct
Set the following:
valid users = @"SCHEMMER\Acct", @"SHEMMER\Domain Admins"
> read only = No
Comment these two entries out.
> create mask = 0777
> directory mask = 0777
chgrp -R Acct /shares/acct
chmod -R ug+rwx,g+s,o-rwx /shares/acct
> Output of "wbinfo -r smicheels"
> Output of "getent group"
John H Terpstra
Email: jht at samba.org
-------------- next part --------------
To unsubscribe from this list go to the following URL and read the
More information about the samba