[Samba] Re: Winbindd question/problem

David Brodbeck DavidB at mail.interclean.com
Fri Dec 20 17:07:01 GMT 2002

Forgot to CC this to the list, so I'm sending it again.  Sorry for the

> -----Original Message-----
> From: Dan.Boskovich at piedmontng.com 

> I have not been able to make the new version work
> without using the UNIX password file for vaildation as yet. 
> If you could
> offer some advise or tips to get there I would appreciate it. FYI: The
> getent command will not work for me. Don't know if that is 
> related. I am a UNIX admin and my Windows knowledge is limited.

> -----Original Message-----
> From: Dan.Boskovich at piedmontng.com 

> I just found out that "getent" is a solaris command. I am of course in
> HP-UX. I don''t know if that will cause me grief or not.

I'm not too familiar with HP-UX so you may need to ask on the mailing list.

The first question that comes to mind is whether your nsswitch configuration
is correct.  Under Linux you edit /etc/nsswitch.conf, but I don't know about
HP-UX.  The relevent lines in mine look like this:

passwd:     files winbind nisplus nnis
group:      files winbind nisplus nis

The important thing is that 'winbind' be in there.

Secondly, make sure libnss_winbind.so.2 is installed in /lib.  'make
install' does not do this on its own.  Also, create a symbolic link to it
named /lib/libnss_winbind.so.  You may need to run ldconfig (or whatever the
HP-UX equivalent is) after doing this.

The absence of 'getent' shouldn't be a problem because it's only used for

I'm going to CC this to the samba mailing list in case someone with more
HP-UX experience than me has a suggestion.

More information about the samba mailing list