[Bug 728047] Re: smbd + ldap hangs at startup after update

datakid datakid at gmail.com
Mon Jan 30 22:11:47 UTC 2012


+! Vanilla install, issue seen. Although I can't get slapd to restart at
all.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/728047

Title:
  smbd + ldap hangs at startup after update

Status in “openldap” package in Ubuntu:
  Triaged
Status in “samba” package in Ubuntu:
  Triaged
Status in “openldap” source package in Lucid:
  Confirmed
Status in “samba” source package in Lucid:
  Confirmed
Status in “openldap” source package in Maverick:
  Confirmed
Status in “samba” source package in Maverick:
  Confirmed

Bug description:
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/728047/+subscriptions




More information about the foundations-bugs mailing list