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

Rowland Penny rpenny at samba.org
Sat Feb 18 17:03:33 UTC 2017


On Sat, 18 Feb 2017 17:41:06 +0100
Emmanuel Florac <eflorac at intellique.com> wrote:

> 
> OK, but getent and id return with error (id: no such user, getent:
> return code 2). On the systems I've previously set up similarly
> (Wheezy/Samba 3.6), id and getent work.
>

Is this before or after you tried my proposed smb.conf ?
 
> > > 
> > > I've found in the FAQ a mention of this, however it's obsolete:  
> > 
> > Which FAQ, where ?
> > 
> 
> This one:
> https://wiki.samba.org/index.php/FAQ

Yes, but which part ?

> 
> > > 
> > > I have set up a domain member using the idmap_ad backend, but
> > > getent passwd and getent group does not show users or groups  
> > 
> > This is correct, think about it, what if you 500,000 users or more ?
> 
> What about 'getent passwd SOMEUSER' ? shouldn't it work?

Actually both should work on your version.
But only if your users have a uidNumber attribute and Domain
Users has a gidNumber attribute.

> 

> 
> Obviously not in the standard Debian stable version (4.2.14) at least:
> 

Yes, now I have checked, it wasn't

Rowland



More information about the samba mailing list