Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

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

207 views
Skip to first unread message

James Chase

unread,
Nov 10, 2011, 10:50:02 AM11/10/11
to
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

Jorell

unread,
Nov 20, 2011, 4:20:02 PM11/20/11
to
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

Harry Jede

unread,
Nov 21, 2011, 3:50:01 AM11/21/11
to
On 09:43:18 wrote James Chase:
> 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
I asume that wbinfo tries another pidfile then winbindd generates :-( .

--

Regards
Harry Jede
0 new messages