[Samba] winbind - getent passwd

Doug Aldridge doug at aldridge.net
Thu Feb 14 07:51:05 GMT 2002


Noel,

That was me. I do have the symbolic link but I still have the same results.
I'm not sure it's causing me any problems though. Can anyone think of why it
might be a problem to have wbinfo -u list only NT users and getent passwd
return both NT and linux users?

Thanks,
Doug

----- Original Message -----
From: "Noel Kelly" <nkelly at tarsus.co.uk>
To: <samba at lists.samba.org>
Sent: Thursday, February 14, 2002 6:02 AM
Subject: [Samba] winbind - getent passwd


> I can't find the thread but someone last week was having trouble with
> 'getent passwd' not returning the Windows domain users as well as the
local
> users.  'wbinfo -u' worked but not 'getent passwd'.
>
> I just finished a new server and had the same problem.  Turns out I
> overlooked the the symbolic links in /lib.  The file libnss_winbind.so
needs
> to have a link to libnss_winbind.so.2 :
>
> -rwxr-xr-x 16224 Feb  6 21:01 /lib/libnss_winbind.so
> lrwxrwxrwx 17 Nov 21 15:05 /lib/libnss_winbind.so.2 -> libnss_winbind.so
>
> From the man page:
> Next copy libnss_winbind.so to /lib and pam_winbind.so to /lib/security. A
> symbolic  link  needs  to be made from /lib/libnss_winbind.so to
> /lib/libnss_winbind.so.2. If you are using an older version of glibc then
> the target of the link should be /lib/libnss_winbind.so.1.
>
> Hope this helps someone..
>
> Noel
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
>





More information about the samba mailing list