[Samba] domain users "primary group" does not take effect in UNIX attributes (NIS)

Marc Muehlfeld mmuehlfeld at samba.org
Thu Oct 30 15:02:40 MDT 2014


Hello Mirco,

Am 30.10.2014 um 01:17 schrieb ?icro MEGAS:
> The shell and home were applied correctly, but why doesn't the
> "primary group" take effect ??? I would expect a line like that...
> johndoe:*:500:500:John Doe:/srv/some/thing/else:/bin/false

Because getent takes the value of 'primaryGroupID' and not 'gidNumber'!


gidNumber: This is the attribute behind the 'Primary group name/GID'
filed on the Unix Attributes tab.


primaryGroupID: This is the Windows primary group of an user account. To
change this, go to the 'MemberOf' tab in ADUC, add the 'Domain Admins'
group, mark it in the list and then click the button 'set primary
group". See http://technet.microsoft.com/en-us/library/cc771489.aspx



Regards,
Marc


More information about the samba mailing list