I think that this might be related to bug 791944. Please can you provide output of the following commands:
sudo testparm echo $? Marking 'Incomplete' pending your response. Please set back to 'New' when you attach the requested information, Thanks. ** Changed in: samba (Ubuntu) Status: New => Incomplete -- 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/998504 Title: samba generates errors when installing. Also have problems with samba4. Tried uninstalling and reinstalling. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/998504/+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