[Samba] "Wbinfo -u" get user account sucessfully but "getent
passwd" fails
Steve Zeng
steve.zeng at ascalade.com
Fri Oct 14 20:49:19 GMT 2005
NSCD is not running. I will increase the log level and see what I can
get. Thank a lot.
Steve Zeng
> -----Original Message-----
> From: samba-bounces+steve.zeng=ascalade.com at lists.samba.org
> [mailto:samba-bounces+steve.zeng=ascalade.com at lists.samba.org]
> On Behalf Of Felipe Augusto van de Wiel
> Sent: Friday, October 14, 2005 12:29 PM
> To: samba at lists.samba.org
> Subject: Re: [Samba] "Wbinfo -u" get user account
> sucessfullybut "getentpasswd" fails
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Steve Zeng escreveu:
> > Hmmm, I run it and the output make me confused:
>
> > # pdbedit -L -v -u jho
> > Username not found!
>
> > # pdbedit -L -v -u szeng
> > Username not found!
>
> pdbedit queries the samba user database. wbinfo queries
> the winbindd. When you use getent the user is not there, so,
> for some reason, it is not "crossing"
> the line between winbindd and your environment.
>
>
> > Then I tried "su - szeng", it successfully switched into the user
> > "szeng".
>
> > Both "jho" and "szeng" are coming from Active Directory, so
> do we need
> > some other options when we run "pdbedit"?
>
> No, you don't need to use pdbedit, what you should do
> is increase the log level of winbindd and try to figure out
> what's going on when you query the jho user.
>
> I believe that you are not able to use "su - jho", a
> few things come to my mind like 'nscd' and related cache
> problems, also some communication delay. In any case, consult
> the user accounts searching for differences sounds a
> reasonable way to understand what is going on.
>
> You could also check for patterns, like creation date,
> user behaviour, creation mechanism and things like that,
> which should lead you to the root of the problem.
>
> Sorry if I don't have better answer for that.
> Kind regards,
>
> - --
> //////////
> // Felipe Augusto van de Wiel <felipe at paranacidade.org.br> //
> CTI/Suporte - SEDU/PARANACIDADE //
> http://www.paranacidade.org.br/ ////////// -----BEGIN PGP
> SIGNATURE-----
> Version: GnuPG v1.4.1 (GNU/Linux)
> Comment: Using GnuPG with Debian - http://enigmail.mozdev.org
>
> iD8DBQFDUAbuCj65ZxU4gPQRAvKuAKCnXKcyECdzi+ufuTxSuME5U8my7ACgt38C
> fkC6XHN6hkxP3qCx7jwWN6A=
> =jabM
> -----END PGP SIGNATURE-----
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/listinfo/samba
>
More information about the samba
mailing list