No installed Debian 10.6, running local Bind9 Server, and krb5-kdc.service
Running fine.
Installing the Louse package ?samba 2:4.13.1+dfsg-0.1buster1?
root at AD:/etc/init.d# systemctl status samba-ad-dc
? samba-ad-dc.service - Samba AD Daemon
Loaded: loaded (/lib/systemd/system/samba-ad-dc.service; enabled; vendor
preset: enabled)
Active: deactivating (stop-sigterm) (Result: exit-code) since Tue
2020-11-03 18:54:19 CST; 3s ago
Docs: man:samba(8)
man:samba(7)
man:smb.conf(5)
Process: 21886 ExecStart=/usr/sbin/samba --foreground --no-process-group
$SAMBAOPTIONS (code=exited, status=1/FAILURE)
Main PID: 21886 (code=exited, status=1/FAILURE)
Status: "samba: ready to serve connections..."
Tasks: 8 (limit: 4701)
Memory: 32.0M
CGroup: /system.slice/samba-ad-dc.service
??21887 samba: tfork waiter process(21888)
??21889 samba: tfork waiter process(21890)
??21891 samba: tfork waiter process(21895)
??21896 samba: tfork waiter process(21898)
??21899 samba: tfork waiter process(21901)
??21902 samba: tfork waiter process(21906)
??21907 samba: tfork waiter process(21909)
??21909 samba: task[kdc] pre-fork master
Nov 03 18:54:19 AD samba[21886]: [2020/11/03 18:54:19.293568, 0]
../../lib/util/become_daemon.c:136(daemon_ready)
Nov 03 18:54:19 AD systemd[1]: Started Samba AD Daemon.
Nov 03 18:54:19 AD samba[21886]: daemon_ready: daemon 'samba' finished
starting up and ready to serve connections
Nov 03 18:54:19 AD samba[21886]: [2020/11/03 18:54:19.293928, 0]
../../source4/smbd/server.c:378(samba_terminate)
Nov 03 18:54:19 AD samba[21886]: samba_terminate: samba_terminate of samba
21886: kdc failed to setup interfaces
Nov 03 18:54:19 AD samba[21925]: [2020/11/03 18:54:19.319591, 0]
../../source4/smbd/service_stream.c:374(stream_setup_socket)
Nov 03 18:54:19 AD samba[21925]: stream_setup_socket: Failed to listen on
0.0.0.0:53 - NT_STATUS_ADDRESS_ALREADY_ASSOCIATED
Nov 03 18:54:19 AD samba[21925]: [2020/11/03 18:54:19.319686, 0]
../../source4/dns_server/dns_server.c:649(dns_add_socket)
Nov 03 18:54:19 AD samba[21925]: Failed to bind to 0.0.0.0:53 TCP -
NT_STATUS_ADDRESS_ALREADY_ASSOCIATED
Nov 03 18:54:19 AD systemd[1]: samba-ad-dc.service: Main process exited,
code=exited, status=1/FAILURE
Why is this Active: deactivating
And Failed to bind to 0.0.0.0:53 TCP - NT_STATUS_ADDRESS_ALREADY_ASSOCIATED
kdc failed to setup interfaces
thanks for possible update