[Samba] User and group get the same gid-number?

Rowland Penny rpenny at samba.org
Thu Sep 23 09:09:43 UTC 2021


On Thu, 2021-09-23 at 10:06 +0200, Mueller wrote:
> User:
> 
> [root at s4master ~]# id hansen
> uid=3000376(TPLK\hansen) gid=100(users)
> Gruppen=100(users),3000376(TPLK\hansen),3000038(TPLK\orbis),3000023(T
> PLK\axx
> ),3000009(BUILTIN\users)
> 
> group:
> wbinfo --group-info=facility
> TPLK\facility:x:3000376:
> User:
> wbinfo --uid-info=3000376
> TPLK\hansen:*:3000376:100:Archiv
> Benutzer:/home/TPLK/hansen:/bin/false
> 
> So the user and the group share the same guidNumber that ends up in
> shares
> that are not longer ownd  by the group but the user.

Light dawns, the number '3000376' isn't a uidNumber or a gidNumber, it
is an xidNumber and only be used on Samba AD DC. They also have another
property, they can be both a user and a group.

This is yet another reason for not using a Samba DC as a fileserver.

Rowland





More information about the samba mailing list