Web lists-archives.com

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




On Sat, 18 Feb 2017 17:41:06 +0100
Emmanuel Florac <eflorac@xxxxxxxxxxxxxx> 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

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