Thanks for the attachment, it worked this time. A few things are incorrect in your system.
a) permissions [2017/11/27 09:29:37.005696, 0] ../lib/util/util.c:285(directory_create_or_exist_strict) invalid permissions on directory '/var/lib/samba/private/msg.sock': has 0777 should be 0700 This is what a correct /var/lib/samba/private directory and contents should be like: root@xenial-samba-1730311:~# l /var/lib/samba/private/ total 1.1M drwxr-xr-x 3 root root 5 Nov 28 15:54 . drwxr-xr-x 5 root root 9 Nov 28 15:54 .. drwx------ 2 root root 8 Nov 28 15:54 msg.sock -rw------- 1 root root 412K Nov 28 15:54 passdb.tdb -rw------- 1 root root 420K Nov 28 15:54 secrets.tdb You need to run "sudo chmod 0700 /var/lib/samba/private/msg.sock". Also please check that the other files have the correct permissions. Did you ever run something like "chmod 0777"? b) It's weird that the systemctl status command you ran earlier showed the services as being disabled. Why did you install samba if those services are disabled? Please run this command as well (one long line) sudo systemctl status samba-ad-dc.service samba.service smbd.service nmbd.service winbind.service and dpkg -l|grep samba Thanks -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in Ubuntu. https://bugs.launchpad.net/bugs/1730311 Title: package libnss-winbind:i386 2:4.3.11+dfsg-0ubuntu0.16.04.11 failed to install/upgrade: problèmes de dépendances - laissé non configuré To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1730311/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs