If you want to use winbindd, you also have to mask winbind.service. In the AD DC scenario, the "samba-ad-dc.service" service manages all that and starts winbindd on its own.
This is what the process tree looks like in an AD DC scenario with winbindd: http://pastebin.ubuntu.com/24715447/ -- 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/1693418 Title: package samba 2:4.5.8+dfsg-0ubuntu0.17.04.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1693418/+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