From: Ronnie Sahlberg Date: Thu, 16 Aug 2007 01:34:35 +0000 (+1000) Subject: start winbind before smbd X-Git-Tag: tevent-0.9.20~348^2~2441^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1ee8c79db7ae3051529cb0399e944b2f16e83f8a;p=thirdparty%2Fsamba.git start winbind before smbd (This used to be ctdb commit d6a2e22a6d688cfcf5631c8de68fc8ef721635d6) --- diff --git a/ctdb/config/events.d/50.samba b/ctdb/config/events.d/50.samba index fe09338b0f1..cebe0aedf45 100755 --- a/ctdb/config/events.d/50.samba +++ b/ctdb/config/events.d/50.samba @@ -35,14 +35,14 @@ case $cmd in ctdb_wait_directories "Samba" $smb_dirs # make sure samba is not already started - service winbind stop > /dev/null 2>&1 service smb stop > /dev/null 2>&1 + service winbind 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 # anything else - nice service smb start service winbind start + nice service smb start # wait for the Samba tcp ports to become available smb_ports=`testparm -sv 2> /dev/null | egrep '\s*smb ports =' | cut -d= -f2`