package:samba:2:4.7.6+dfsg~ubuntu-0ubuntu2.2 Setting up samba (2:4.7.6+dfsg~ubuntu-0ubuntu2.2) ... Samba is not being run as an AD Domain Controller. Please ignore the following error about deb-systemd-helper not finding samba-ad-dc.service. Job for nmbd.service failed because a timeout was exceeded. See "systemctl status nmbd.service" and "journalctl -xe" for details. invoke-rc.d: initscript nmbd, action "restart" failed. ● nmbd.service - Samba NMB Daemon Loaded: loaded (/lib/systemd/system/nmbd.service; enabled; vendor preset: enabled) Active: failed (Result: timeout) since Mon 2018-08-20 22:39:23 -03; 11ms ago Docs: man:nmbd(8) man:samba(7) man:smb.conf(5) Process: 20178 ExecStart=/usr/sbin/nmbd --foreground --no-process-group $NMBDOPTIONS (code=killed, signal=TERM) Main PID: 20178 (code=killed, signal=TERM) Status: "nmbd: No local IPv4 non-loopback interfaces available, waiting for interface ..." ago 20 22:37:53 COMERCIAL-K46CM nmbd[20178]:  Ignoring unknown parameter "password level" ago 20 22:37:53 COMERCIAL-K46CM nmbd[20178]: [2018/08/20 22:37:53.250988, 0] ../lib/param/loadparm.c:784(lpcfg_map_parameter) ago 20 22:37:53 COMERCIAL-K46CM nmbd[20178]:  Unknown parameter encountered: "update encrypted" ago 20 22:37:53 COMERCIAL-K46CM nmbd[20178]: [2018/08/20 22:37:53.251027, 0] ../lib/param/loadparm.c:1811(lpcfg_do_global_parameter) ago 20 22:37:53 COMERCIAL-K46CM nmbd[20178]:  Ignoring unknown parameter "update encrypted" ago 20 22:37:53 COMERCIAL-K46CM nmbd[20178]: [2018/08/20 22:37:53.252872, 0] ../lib/util/become_daemon.c:135(daemon_status) ago 20 22:37:53 COMERCIAL-K46CM nmbd[20178]:  STATUS=daemon 'nmbd' : No local IPv4 non-loopback interfaces available, waiting for interface ...NOTE: NetBIOS name resolution is not supported for Internet Protocol Version 6 (IPv6). ago 20 22:39:23 COMERCIAL-K46CM systemd[1]: nmbd.service: Start operation timed out. Terminating. ago 20 22:39:23 COMERCIAL-K46CM systemd[1]: nmbd.service: Failed with result 'timeout'. ago 20 22:39:23 COMERCIAL-K46CM systemd[1]: Failed to start Samba NMB Daemon. dpkg: error processing package samba (--configure): installed samba package post-installation script subprocess returned error exit status 1