[Samba] getent passwd & wbinfo -u not working

Christoph Scheeder christoph.scheeder at scheeder.de
Wed Jun 9 07:53:00 GMT 2004


Hi,
remeber, after compiling and installing samba you have to copy the files
nsswitch/libnss_winbind.so and nsswitch/libnss_wins.so to /lib/ and

ln -sf /lib/libnss_winbind.so /lib/libnss_winbind.so.2
ln -sf /lib/libnss_wins.so /lib/libnss_wins.so.2

then copy nsswitch/pam_winbind.so to /lib/security/ and finally do a
ldconfig.

you'll have to do these steps manually after each compile and install,
as these files are omitted by "make install"
Christoph

Sahibzada Junaid Noor schrieb:
> HI,
> 
>    i had messed up with the pam.d so i did a fresh
> install.
> 
>  now after this fresh install some how getent passwd
> and wbinfo -u is not working.
> 
> the rest of the commands
> 
> kinit
> net ads join
> 
> are ok. 
> 
> [root at NIIT158 samba]# wbinfo -u
> Error looking up domain users
> 
> and getent passwd simply returns me to the prompt
> after listing the names of the local users and groups
> 
> any know how whats going on?
> 
> =====
> 
>   Sahibzada Junaid Noor  
>   Ph   #  (+92) (051) 5950 940
>   Cell #   (+92) (0333) 5223586
>   Qazi plaza,Third Floor,Commerical Market,Chaklala Scheme 3,
>   Rawalpindi
>   Islamic Republic of Pakistan 
> 
> 
> 
> 
> 
> 
> 
> 	
> 		
> __________________________________
> Do you Yahoo!?
> Friends.  Fun.  Try the all-new Yahoo! Messenger.
> http://messenger.yahoo.com/ 



More information about the samba mailing list