The smb.conf file is owned by the samba-common package, not by the samba package (which is only the server components). To force regeneration of the smb.conf file, you need to use apt-get remove --purge samba-common.
Closing as invalid, the reasons for not regenerating the config file whenever it's missing or empty are rooted in the Debian and Ubuntu policy on config files, and this can't be changed without causing more problems than it solves. ** Changed in: samba (Ubuntu) Status: Incomplete => Invalid -- samba fails to install prperly after unnistall+deleting smb.conf https://bugs.launchpad.net/bugs/254151 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs