[Samba] "Wbinfo -u" get user account sucessfully but "getentpasswd" fails

Steve Zeng steve.zeng at ascalade.com
Fri Oct 14 18:45:23 GMT 2005


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!

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"?

Thanks 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 11:29 AM
> To: samba at lists.samba.org
> Subject: Re: [Samba] "Wbinfo -u" get user account sucessfully 
> but "getentpasswd" fails
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Steve Zeng escreveu:
> > It is really easy but I am an idiot :-) Thanks. 
> > I run it and actually it only shows me the username as follows:
> 
> > # wbinfo -u | grep jho
> > jho
> 
> > NOTE: (jho is the user which is missing from "getent passwd")
> 
> > # wbinfo -u | grep szeng
> > szeng
> 
> > NOTE: szeng is a regualar user which is fine
> 
> > It seems no difference. Any idea?
> 
> 	Hmmm, crap, sorry, I was thinking about a different 
> command. :-) Could you please try with this:
> 
> # ]# pdbedit -L -v -u jho
Username not found! > jho.txt
> # pdbedit -L -v -u szeng > szeng.txt
> 
> 	Cheers,
> 
> - --
> //////////
> // 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
> 
> iD8DBQFDT/jgCj65ZxU4gPQRAi5lAKCUDAhCIfn+6UUNOBUukM1cn7vihACeJXbZ
> G+5DQIDb/C1eI20WVgMtf0U=
> =gd5K
> -----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