[Bug 728047] [NEW] smbd + ldap hangs at startup after update
slu
728047 at bugs.launchpad.net
Wed Mar 2 21:14:46 UTC 2011
Public bug reported:
Binary package hint: samba
we have samba running with ldap authentication.
After today's update apparently ldap is started before samba which causes samba to log these warnings:
[2011/03/02 21:58:50, 0] smbd/server.c:1069(main)
smbd version 3.4.7 started.
Copyright Andrew Tridgell and the Samba Team 1992-2009
[2011/03/02 21:58:50, 0] smbd/server.c:1115(main)
standard input is not a socket, assuming -D option
[2011/03/02 21:58:50, 0] lib/smbldap.c:1086(smbldap_connect_system)
failed to bind to server ldap://10.23.0.42 with dn="cn=admin,dc=wolf,dc=intern" Error: Can't contact LDAP server
(unknown)
[2011/03/02 21:58:50, 1] lib/smbldap.c:1265(another_ldap_try)
Connection to LDAP server failed for the 1 try!
[2011/03/02 21:58:51, 1] lib/smbldap.c:1265(another_ldap_try)
Connection to LDAP server failed for the 2 try!
after that no further errors are logged and smbd is running but not
responding to any requests. A
service smdb restart
fixes the problem but it will reoccur on each reboot. for now, we have
found a workaround: simply added
sleep 5 ; service smbd restart
to /etc/rc.local but this of course does not fix the underlying problem.
Any advice?
samba version: 2:3.4.7~dfsg-1ubuntu3.4
** Affects: samba (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.
https://bugs.launchpad.net/bugs/728047
Title:
smbd + ldap hangs at startup after update
More information about the Ubuntu-server-bugs
mailing list