[Samba] sid_to_uid: Domain controller lookup missing
odenbach at hni.uni-paderborn.de
Mon Sep 16 10:04:01 GMT 2002
> > OK - this is what I said in the first place. You just told me two
> > mails ago to use winbind... ;-)
> And to ditch yp and /etc/passwd... ;-)
I can't and I won't. Perhaps LDAP will be a solution in the future, but
> > - winbind looks for this username in its own database and - as
> > there is no such user - creates a new one with the first uid of the
> > specified pool (40000)
> Correct. This behaviour is by design.
OK - I have understood this.
> > This is wrong as there already exists such a user in yp. Could the
> > trouble be that winbind assumes that if it is used, there will be
> > an entry "winbind" in the nsswitch.conf? Perhaps it should just do
> > a 'getpwnam <name without domain part>' to see if there is a user
> > in the database that is specified in nsswitch.conf. If this does
> > not give anything then try the name including the domain.
> There are recursion problems here. If you run winbind, it is assumed
> that you use it in nss.
OK, so I have to quit winbind (as I mentioned right from the start).
BUT: This does not solve the problem!
More information about the samba