[Samba] winbind on DC : how use gidNumber instead of primaryGroupID as user's primary group

Rowland penny rpenny at samba.org
Mon Aug 19 09:10:22 UTC 2019

On 19/08/2019 10:00, L.P.H. van Belle via samba wrote:
> Hai,
> Fist of all, i must say it not very wise to have you NFS server on the AD-DC.
> I do about the same but my NFS server is on a member.
> Have you configured /etc/nsswitch.conf ?
> If not do that.
> If you run : id username
> I see : uid=10002(NTDOM\username) gid=10000(NTDOM\domain users) groups=10000(NTDOM\domain users)
> So my GID and Primary group id are the same.
Yes Louis, but you use Domain users as the primary group and as such, 
you do not need to set the gidNumber attribute for your users ;-)


More information about the samba mailing list