[Samba] Getting ACLs to work with Samba 3.0.2a

Michael Frotscher frotscher at chemie.uni-hamburg.de
Thu Mar 11 08:31:08 GMT 2004


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

Dear John,

> 1. Make sure that your file system is mounted with ACLs support

It is. "mount" reports:

/dev/md4 on /home type reiserfs (rw,acl)

and the line in /etc/fstab is:

/dev/md4            /home             reiserfs   defaults,acl              1 2

> 2. Make sure that your Samba-3 has been correctly compiled.

smbd -b | grep ACL
   HAVE_SYS_ACL_H
   HAVE_POSIX_ACLS

Looks good.

> 3. Ensure that the user account you log into Windows with has the right
> under UNIX to modify ACLS.

I tried with the "root"-Account, which maps to "Administrator" on Windows as 
well as with a regular User-Account on a file in its home-directory. I have 
created users on unix with the shell set to "/bin/false" so they cannot log 
in locally, and then created the appropriate samba-accounts with "pdbedit".

Nonetheless, even root does see the permissions on the files (and their 
owners), but is unable to modify them (permission denied, even on files owned 
by root and with 777-unix-permissions).

Sincerely,
- -- 
Michael Frotscher
Institute of Inorganic and Applied Chemistry
University of Hamburg, Germany 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFAUCPP/f+kgY+d9bQRAkvKAKDVJBceFqjozCklnMFlCIxFhkkVQACfamO2
tpWXydru9y/qa6QhwT7lMrs=
=b2vq
-----END PGP SIGNATURE-----


More information about the samba mailing list