[Samba] Precedence of usernames w/Winbind
abartlet at samba.org
Sun Jul 14 07:56:02 GMT 2002
Nir Soffer wrote:
> > Nir Soffer wrote:
> > >
> > > I might be missing obvious here, but here goes:
> > >
> > > Samba 2.2.4.
> > >
> > > Using "winbind use default domain = <DOMAIN>" option usernames map
> > > correctly, however, when logging on from an W2K machine I still get
> > > the autogenerated UID instead of my NIS (Or /etc/passwd) UID.
> > Two points:
> > Why are you running winbind? It seems you really just want
> > 'security=domain', and don't need winbindd.
> I'd like to have winbind supply the username and the UID in the case
> the user doesn't exist in the YP map. (As I'd expect from the semantic
> anything implemented with NSS).
Nice idea. Unfortunetly it won't really work with Samba.
> > Secondly. 'winbind use sdefault domain =' is *NOT SUPPORTED* in 2.2.
> > The option exists only becouse of a merge from HEAD, where we
> > completed
> > implementation. The 2.2 code has *known flaws* with this option in
> > effect.
> Okey doke. I just looked at the code and saw that it was there. Is there
> place I can hope to find a list of those known flaws?
Not really. This one was never intended to be documented, (ie people
were just meant to leave it off) unfortunetly it got documented just
> > It does a lookup of 'domain\username' actually, and gets the UID from
> > there.
> I guess that's one of the known flaws thing, because
> getent passwd <username> works perfectly. Oh well. Any chance of this
> matter being taken care of in 2.2?
No, as it would entail a behaviour change. 2.2 is in maintaince only
I'm not sure I would implement such a change for 3.0 either - there are
good reasons we do it this way.
Andrew Bartlett abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team abartlet at samba.org
Student Network Administrator, Hawker College abartlet at hawkerc.net
http://samba.org http://build.samba.org http://hawkerc.net
More information about the samba