[Samba] wbinfo --ping can't find winbind?

November 10th, 2011 - 10:50 am ET by James Chase | Report spam
I have compiled 3.5.12 from source on CentOS 5.7. I am using krb5.conf,
smb.conf files that have worked with other 3.5.x installs of Samba (at
least in terms of wbinfo working) but now I am not able to get any data
from winbind. The server is running and the logs don't report any
errors. I had done several 'make uninstall' while compiling/recompiling
with different options. Could the problem somehow be related?

[root@sambatest samba]# bin/wbinfo -u
Error looking up domain users

[root@sambatest samba]# bin/wbinfo --ping
Ping to winbindd failed
could not ping winbindd!

[root@sambatest samba]# ps -ef | grep winbin
root 3743 1 0 10:19 ? 00:00:00 sbin/winbindd -D
root 3744 3743 0 10:19 ? 00:00:00 sbin/winbindd -D
root 3838 3709 0 10:42 pts/0 00:00:00 grep winbin

[root@sambatest samba]# tail var/log.winbindd
[2011/11/10 10:19:35, 0] winbindd/winbindd.c:1102(main)
winbindd version 3.5.12 started.
Copyright Andrew Tridgell and the Samba Team 1992-2010
[2011/11/10 10:19:35.733572, 0]
winbindd/winbindd_cache.c:3076(initialize_winbindd_cache)
initialize_winbindd_cache: clearing cache and re-creating with
version number 1

To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
email Follow the discussionReplies 2 repliesReplies Make a reply

Replies

#1 Jorell
November 20th, 2011 - 04:20 pm ET | Report spam
After compiling, libnss_winbind.so needs to be copied to
/lib/libnss_winbind.so and linked to /lib/libnss_winbind.so.2
(i.e. cp ../nsswitch/libnss_winbind.so /lib/ && \
ln -s /lib/libnss_winbind.so /lib/libnss_winbind.so.2)

You may have to copy other library files as well

To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba

Similar topics