Thanks for filing this bug in Ubuntu. Your smb.conf is configured for a role of standalone server, yet you are trying to start the samba-ad-dc service which is meant only for active directory controllers.
Could you please show the output of this command: sudo systemctl status smbd.service nmbd.service winbind.service samba- ad-dc.service Thanks ** Changed in: samba (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1734859 Title: package samba 2:4.5.4+dfsg-1ubuntu2 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/1734859/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs