[Samba] wbinfo -i returns the same id for all users, authentication doesn't seem to go through winbind at all

L A Walsh samba at tlinx.org
Mon Feb 20 17:32:23 UTC 2017

Emmanuel Florac wrote:
> id TESTAD\\testuser
> returns "no such user" and 
> getent passwd TESTAD\\testuser
> returns a "2" code.
On linux, to get 'domain\user' to resolve, I had to have
those entries in my /etc/passwd (and /etc/group for groups).

I.e. *w/o krb*, (in samba 3.x), I had entries like:


So if something ever looked up w/'Domain\linda' on my
PDC, it would resolve to the same UID+GID as the
entry w/o the domain (since, theoretically, on the PDC,
users == 'Domain\\users').

I also had idmap config for the '*' range set the same as for
the 'Domain\' range (where the PDC is in 'Domain') as well as
for the BUILTIN range (the UID's I allocate for the 3 'domains'
are designed not to clash). 

It's my intent that name 'x' & 'domain\x' would map to the same UID (and
windows RID) -- which is what happens on samba3.x.  Haven't upgraded
yet, since, with it working for me, I have other issues that are
more pressing.

More information about the samba mailing list