[Samba] samba users at boot, the same local and samba user bug has gone
Rowland Penny
rpenny at samba.org
Sun May 14 19:39:02 UTC 2023
On 14/05/2023 20:32, Kees van Vloten via samba wrote:
> The uid + gid are the unique identifier of a user in Linux, the name is
> only relevant for the translation of number (uid) to name.
>
> I.e. a local-user == domain-user when uid + gid are identical.
>
> My nsswitch.conf prefers local-users over domain-users:
>
> passwd: files systemd winbind
> group: files systemd winbind
> shadow: files
> gshadow: files
>
> But when I do "id <user>" on a user that exists locally and in the
> domain I get the list of groups of both local + domain concatenated as
> one long list.
>
> Would it be viewed as two separate users that would not happen.
>
> - Kees.
>
OK, I should have posted that as well:
adminuser at lmde5:~$ id unixuser
uid=1001(unixuser) gid=1001(unixuser)
groups=1001(unixuser),13105(unixuser),10513(domain
users),3001(BUILTIN\users)
adminuser at lmde5:~$ id SAMDOM\\unixuser
uid=13105(unixuser) gid=10513(domain users) groups=10513(domain
users),13105(unixuser),3001(BUILTIN\users)
Still think they are the same user ?
Rowland
More information about the samba
mailing list