RH 7.0 and Winbind in an NT4.0 domain

Shaun Cloherty s.cloherty at gsbme.unsw.edu.au
Thu Feb 22 08:27:37 GMT 2001


Forgive me if this is not the appropriate list - please direct me to a
more appropriate forum.

I have a number of client machines running Linux (RH7.0) which I need to
make available to existing users of our NT4.0 domain. Winbind seem to be
the ticket I am looking for, so I downloaded and installed the
samba-appliance-0.5-1 rpm. I have been following the directions in the
winbindd man page, but havn't managed to get it working.

I have made the suggested changes to /etc/nsswitch.conf, but havn't yet
tackled the PAM issues. There are existing accounts on the NT server for
these machines - they dual boot Win2k - which I have confirmed using
samedit included in the samba-appliance rpm.

I have created a /etc/samba/smb.conf file based on the winbindd man
page.

When I start the smbd and nmbd daemons (via /etc/rc.d/init.d/smb start)
I see this;

Starting SMB services: execvp: No such file or directory    [FAILED]

Starting NMB services: execvp: No such file or directory    [FAILED]

I don't think this is a Samba issue, since I can start the daemons by
hand (smbd -D; nmbd -D) without any problem... but if anyone has any
suggestions on how to fix it, please let me know.

I'm not sure how I am supposed to start the winbind daemon, but simply
typing 'winbindd' at the prompt seems to do it... let me know if there
is more to it than that.

Now, when I run 'getent passwd' as suggested in the man page, I see only
the users listed in the /etc/passwd file... no NT domain users. Am I
correct in assuming that at this point, if all is well, I should be
seeing a list of NT domain users in addition to the local unix users
(from /etc/passwd)?  It is my understanding that simply listing the
users via 'getent passwd' is a name service issue, so I expected it to
work even though I have not dealt with the PAM configuration yet.... am
I wrong?  If so, which services under /etc/pam.d do I have to tweak to
make 'getent passwd' to work?

An 'strace' of 'getent passwd' indicates that it reads
/etc/nsswitch.conf (as expected), then reads the /etc/passwd file,
echoing the entries to stdout, then goes looking for
libnss_winbind.so.2, presumably to do the winbind  magic so as to list
the NT domain users.  The winbindd man page said to put
libnss_winbind.so.2 in /lib, yet no libnss_switch.so.2 came in the
samba-appliance rpm, it installs /lib/libnss_winbind.so.  Simply
renaming libnss_winbind.so to libnss_winbind.so.2 seems ok, in that an
strace indicates that it finds the library, does its thing, but times
out writing/reading from /tmp/.winbindd/pipe. I don't know how to
proceed from here?


Any assistance would be greatly appreciated,


Shaun
 --
Shaun Cloherty
Graduate School of Biomedical Engineering
University of New South Wales







More information about the samba-ntdom mailing list