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

Mueller mueller at tropenklinik.de
Thu Sep 23 08:06:15 UTC 2021


User:

[root at s4master ~]# id hansen
uid=3000376(TPLK\hansen) gid=100(users)
Gruppen=100(users),3000376(TPLK\hansen),3000038(TPLK\orbis),3000023(TPLK\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.

If I klick on (Windows) properties of the share and security the new owner
with all rights is now hansen no longer the group facility:

Greetings

Daniel Müller





-----Ursprüngliche Nachricht-----
Von: Rowland Penny via samba [mailto:samba at lists.samba.org] 
Gesendet: Donnerstag, 23. September 2021 09:48
An: samba at lists.samba.org
Betreff: Re: [Samba] User and group get the same gid-number?

On Thu, 2021-09-23 at 09:05 +0200, Mueller via samba wrote:
> Dear all ,
> 
> we have the problem that now and then there is a mangeling and double 
> of gid-numbers.
> Right now we have a group and a user who have the same gid-number.
> How can I
> change the gid-number manually or how to prevent this case.
> Is there a way to show all gid numbers?
> 

Not sure I understand this, are you saying a user is getting the ID
'10000' and there is also a group with the ID '10000', or are you
saying that a group has the ID '10000' and a user also has a gidNumber
attribute with the value '10000' ?

Either of those is not a problem:

rowland at devstation:~/hash$ getent passwd rowland
rowland:*:10000:10000:Rowland Penny:/home/rowland:/bin/bash

If you mean something different, please explain better.

Rowland



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba




More information about the samba mailing list