[Samba] Groups turn to SIDS?

Mostro Mostro mostro713 at gmail.com
Fri Mar 9 22:51:35 GMT 2007


I have Samba setup with as a domain member server (security = ADS).

wbinfo -g works
wbinfo -u works
getent passwd works
getent group works

There is a directory name /dir/shared with the following permissions.

drwxrwxrwx  2 root                  users

The information shows up fine in Windows on the security tab
root (Unix  User\root)
usesrs (Unix Group\uses)

Now, I go into the Linux file system and change the directory permissions as

chown -R "DOMAIN\administrator" shared/ && chgrp -R "DOMAIN\Domain Users"
ls -ltr
drwxrwxrwx+ 2 DOMAIN\administror DOMAIN\domain users 4.0K

Note: If I mistype administrator an error is recieved. Which again
demonstrates windbindd is working.

chown: `DOMAIN\\Administrator': invalid user

When I go back and check the security permissions on Windows the accounts
are replaced with SIDs

Has anyone had this happen? How did you resolve it?


       workgroup = DOMAIN
       netbios name = VENENCIA
       realm = BAMBINO.COM <http://bambino.com/>
       server string = File Server
       security = ADS
       encrypt passwords = yes
       log level = 5
       log file = /var/log/samba/%m
       max log size = 1000
       wins server =
       idmap uid = 20000 - 30000
       idmap gid = 20000 - 30000
       interfaces = eth0
       bind interfaces only = yes
       enable privileges = yes

       comment = Shared (temporary storage)
       path = /community/shared
       read only = no
       store dos attributes = yes
       nt acl support = yes
       map acl inherit = yes
       inherit acls = yes
       valid users = @"DOMAIN\Domain Users"

Thanks in advance.....

More information about the samba mailing list