[Samba] Winbind trouble. Wbinfo see's users, "getent passwd" doesn't

Goetz Rieger goetz.rieger at suse.de
Thu Jul 25 02:29:02 GMT 2002


Hey, 
On Wed, 24 Jul 2002 10:46:11 -0400
Colin Davis <ColinD at traininghott.com> wrote:

I have just a few comments.

> I set up both Samba and Winbind, but I don't think that winbind is
> working correctly, and I'm trying to figure out what I missed.
> when I do a "wbinfo -u" 
> I get a list get a list of domain users, but "getent passwd" it just
> lists the unix users, and not the NT users.

Have you joined your NT-Domain with the Samba-box? Did you install from
rpm or did you build Samba by yourself? In the latter case, have you
copied libnss_winbind.so to lib and have you linked it to
libnss_winbind.so.1 and .2 (according to your library)?

I would suggest using the latest version of Samba, not the rpm from your
distri.

If you have users which access your server only via Samba, you don´t have
to fiddle with the pam-modules, which can be pretty exhausting...;-) nor
do you have to think about shadow, because these users don´t need valid
Linux PWs. 

> (I'm having a hard time figuring out what is wrong, and it's starting 
> to become tempting to just write a perl script to parse the "wbinfo -u"
> info, and put it into the /etc/passwd file, but that seems unnecessarily
> messy)

Yeah! Great! I would like to hear from that ;-)

> passwd:     files windbind

And surely you noticed the typo?

> shadow:     files  nisplus
> group:      files winbind

Goetz




More information about the samba mailing list