Did a sudo chmod+x /usr/share/samba/setoption.pl (seemed obvious) The next time update-manager ran I got:
Errors were encountered while processing: samba4 Error in function: SystemError: E:Sub-process /usr/bin/dpkg returned an error code (1) Setting up samba4 (4.0.0~alpha18.dfsg1-4ubuntu2) ... Administrator password will be set randomly! ProvisioningError: guess_names: 'realm =' was not specified in supplied /etc/samba/smb.conf. Please remove the smb.conf file and let provision generate it dpkg: error processing samba4 (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1002193 Title: Samba4 not installing properly To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba4/+bug/1002193/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs