Код: Выделить всё
nmbd_enable="YES"
smbd_enable="YES"
winbindd_enable="YES"
samba_config="/samba/smb.conf"
Код: Выделить всё
# ls /var/run/samba
total 12
-rw-r--r-- 1 root wheel 4B Aug 14 16:35 nmbd-smb.conf.pid
-rw-r--r-- 1 root wheel 4B Aug 14 16:35 smbd-smb.conf.pid
-rw-r--r-- 1 root wheel 4B Aug 14 16:35 winbindd-smb.conf.pid
Код: Выделить всё
# /usr/local/etc/rc.d/samba stop
winbindd not running? (check /var/run/samba/winbindd.pid).
smbd not running? (check /var/run/samba/smbd.pid).
nmbd not running? (check /var/run/samba/nmbd.pid).
Либо, может быть, есть возможность научить самбу останавливать и перезапускать свои демоны с переименованными pid файлами?