Package:  samba
Version:  1:3.0.28a-2
Severity: important
Tags:     patch
User:     [EMAIL PROTECTED]
Usertags: incorrect-dependency

I discovered this problem in the Lenny based test version of Debian
Edu.  In it, we configure samba to fetch information from LDAP, and
enable dependency based boot sequencing.  In this configuration, the
samba process is started before the LDAP server, and thus failing to
fetch its settings from LDAP.  The reason is that there is no relation
between the samba and slapd init.d scripts.

The solution is to let the samba init.d script have an soft dependency
on the slapd script.  Please apply the following patch.

diff -ur samba-3.0.28a/debian/samba.init samba-3.0.28a-new/debian/samba.init
--- samba-3.0.28a/debian/samba.init     2008-05-01 09:50:43.000000000 +0200
+++ samba-3.0.28a-new/debian/samba.init 2008-05-01 09:48:12.000000000 +0200
@@ -4,6 +4,8 @@
 # Provides:          samba
 # Required-Start:    $network $local_fs $remote_fs
 # Required-Stop:     $network $local_fs $remote_fs
+# Should-Start:      slapd
+# Should-Stop:       slapd
 # Default-Start:     2 3 4 5
 # Default-Stop:      0 1 6
 # Short-Description: start Samba daemons (nmbd and smbd)



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to