Jupp, ich wollte nur nochmal klarstellen, das der, der in einem aktuellen Jessie Samba mit dem Befehlder Threadersteller hat Samba4 am Laufen
Code: Alles auswählen
# apt-get install samba
[...]
Vormals nicht ausgewähltes Paket samba wird gewählt.
Vorbereitung zum Entpacken von .../samba_2%3a4.1.17+dfsg-2_amd64.deb ...
[...]
Code: Alles auswählen
root@hawk:~# samba-tool testparm --parameter-name="server role" 2>/dev/null | tail -1
standalone server
Code: Alles auswählen
root@hawk:~# ls -lisa /lib/systemd/system/samba.service
27893 0 lrwxrwxrwx 1 root root 9 Mär 7 2015 /lib/systemd/system/samba.service -> /dev/null
root@hawk:~# systemctl status smbd
● smbd.service - LSB: start Samba SMB/CIFS daemon (smbd)
Loaded: loaded (/etc/init.d/smbd)
Active: active (running) since Fr 2015-10-16 20:00:22 CEST; 9min ago
CGroup: /system.slice/smbd.service
├─2348 /usr/sbin/smbd -D
└─2468 /usr/sbin/smbd -D
Okt 16 20:00:22 debefi smbd[2339]: Starting SMB/CIFS daemon: smbd.
Code: Alles auswählen
root@hawk:~# systemctl status samba-ad-dc
● samba-ad-dc.service - LSB: start Samba daemons for the AD DC
Loaded: loaded (/etc/init.d/samba-ad-dc)
Active: active (exited) since Fr 2015-10-16 20:00:26 CEST; 18min ago
Code: Alles auswählen
case "$1" in
start)
SERVER_ROLE=`samba-tool testparm --parameter-name="server role" 2>/dev/null | tail -1`
if [ "$SERVER_ROLE" != "active directory domain controller" ]; then
exit 0
Gruss, habakug
[1] https://www.samba.org/samba/docs/man/Sa ... erver.html