we should start winbindd before we start smb
authorRonnie Sahlberg <sahlberg@ronnie>
Thu, 16 Aug 2007 01:18:16 +0000 (11:18 +1000)
committerRonnie Sahlberg <sahlberg@ronnie>
Thu, 16 Aug 2007 01:18:16 +0000 (11:18 +1000)
config/events.d/50.samba

index 8a36297e3d718b0feadf73d021e1f95632908886..fe09338b0f19fe812cd9526ac2b9b0459bd51065 100755 (executable)
@@ -35,8 +35,8 @@ case $cmd in
        ctdb_wait_directories "Samba" $smb_dirs 
 
        # make sure samba is not already started
-       service smb stop > /dev/null 2>&1
        service winbind stop > /dev/null 2>&1
+       service smb stop > /dev/null 2>&1
 
        # start Samba service. Start it reniced, as under very heavy load 
        # the number of smbd processes will mean that it leaves few cycles for