I am not running an ad-dc samba server, the role
is 'auto', so that process never gets started.  At the top of the 'start' 
stanza we see:

SERVER_ROLE=`samba-tool testparm --parameter-name="server role"  2>/dev/null | 
tail -1`
                if [ "$SERVER_ROLE" != "active directory domain controller" ]; 
then
                    exit 0

- but no such check exists in the 'stop' case.  I think that could be the root 
cause of samba not shutting down
and would explain why samba-ad-dc is in 'waiting' state:
waiting for 'start-stop-daemon' to complete on a non-existent process.  When I 
manually kill the '/etc/init.d/samba-ad-dc stop' process the samba service ends 
quickly.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to