← Back to team overview

touch-packages team mailing list archive

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

 

maverick has seen the end of its life and is no longer receiving any
updates. Marking the maverick task for this ticket as "Won't Fix".

** Changed in: samba (Ubuntu Maverick)
       Status: Confirmed => Won't Fix

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to openldap 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:
  Won't Fix
Status in samba source package in Maverick:
  Won't Fix

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