[Samba] Check permissions on share

Gerald (Jerry) Carter jerry at samba.org
Wed Dec 14 12:52:50 GMT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 12 Dec 2005, Henrik Zagerholm wrote:

> I wonder if there is som easy way to determine the permissions for a 
> specific user on a share? Parsing smbcacls is the only solutions I can 
> come up with right now but its not pretty!

This is not as easy as it seems.  The reason is the interaction 
between the share permissions (security descriptor) and the 
smb.conf parameters such as valid users, read list, etc....




cheers, jerry
=====================================================================
Alleviating the pain of Windows(tm)      ------- http://www.samba.org
Centeris                         -----------  http://www.centeris.com
"There's an anonymous coward in all of us."               --anonymous
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQFDoBWlIR7qMdg1EfYRApoJAJ46RUSorS4VY9k2qqB7hn8zzyfjIACguvYF
Zd/xwK5BLDpGtFGyCJX+kQA=
=gVB0
-----END PGP SIGNATURE-----


More information about the samba mailing list