G'day Jelmer, I have followed all the advices given here, except for #12, however, I am having the same problem as everyone else here had.
First, I was getting the following error: /var/lib/dpkg/info/samba4.postinst: 14: /var/lib/dpkg/info/samba4.postinst: /usr/share/samba/setoption.pl: Permission denied So I made it an executable. Interestingly enough it does not have execute bit set by default. Nevertheless, the actual problem persists. Secondly, I started the error as mentioned in this thread many a times and for which you suggested a solution. ProvisioningError: guess_names: 'realm =' was not specified in supplied /etc/samba/smb.conf. Please remove the smb.conf file and let provision generate it Well, removing smb.conf didn't really help, as it gave birth to yet another error. This is more of a vicious circle. ERROR: Invalid smb.conf unable to open smb.conf at /usr/share/samba/setoption.pl line 22. Line 22 is basically trying to open /etc/samba/smb.conf If the file is present, then Provisioning fails, if it is not, then setoption.pl fails. A little info on my system: Ubuntu 12.04 Samba version to be installed: 4.0.0~alpha18.dfsg1-4ubuntu2 I will give #12 a try and see if that helps, however, IMHO I would rather prefer a solution than a workaround :-) Thanks and Regards, Abhi -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/832465 Title: upgradeprovision: guess_names: 'realm =' was not specified in supplied /etc/samba/smb.conf. Please remove the smb.conf file and let provision generate it To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba4/+bug/832465/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs