[Samba] winbind AD group "non primary group" permissions

Gerald (Jerry) Carter jerry at samba.org
Wed Oct 20 13:56:57 GMT 2004


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

Schreiber Martin wrote:

| One of the features is , they want acces to the share
| be restricted to a  special group(AD) which is not the user's
| primary group. I searched google etc etc all faqs and so on ,
| but nothing. I tried around with preexec scripts , using getent
| group|grep $usr  ; without success, maybe the failure is
| in my scripts , so my question ; is there anybody out ,
| who had success in that case described

If you know the group then just pass it into the root
preexec and chgrp/chmod the target directory.  Or you can just
use a

	valid users = "DOMAIN\group"


in smb.conf





cheers, jerry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFBdm6pIR7qMdg1EfYRAqmgAKDaGJLM6B/bQwItt5KbdEnmmUu4GACfZrs2
r8UO77JRkZLegU5p7B3maO0=
=2oVM
-----END PGP SIGNATURE-----


More information about the samba mailing list