[Samba] winbind - getent passwd

Noel Kelly nkelly at tarsus.co.uk
Thu Feb 14 08:39:03 GMT 2002


Doug,

That is what it is supposed to do isn't it !?  wbinfo simply deals with
winbind but getent puts in calls to all those entries in nsswitch.conf which
are associated with say passwd or group.  So I guess if you had
authentication to NIS you would see those as well.

Noel


-----Original Message-----
From: Doug Aldridge [mailto:doug at aldridge.net]
Sent: 14 February 2002 15:52
To: samba at lists.samba.org
Subject: Re: [Samba] winbind - getent passwd


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
>


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