Talk:Samba/InitScript

Debian Based Systems

 #!/bin/sh

 ### BEGIN INIT INFO
 # Provides:          samba
 # Required-Start:    $network $local_fs $remote_fs
 # Required-Stop:     $network $local_fs $remote_fs
 # Default-Start:     2 3 4 5
 # Default-Stop:      0 1 6
 # Should-Start:      slapd
 # Should-Stop:       slapd
 # Short-Description: start Samba daemon (samba)
 ### END INIT INFO

Should-Start/Stop slapd doesn´t make sense IMO. Assuming Samba4 uses builtin LDAP service (which it does by default), might even prevent samba from starting.

Enrico Ehrhardt 19:51, 24 July 2012 (UTC)