Thanks for attaching smb.conf. The "share" parameter has an incorrect value:
$ testparm ./smb.conf Load smb config files from ./smb.conf rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384) WARNING: The "syslog" option is deprecated WARNING: Ignoring invalid value 'share' for parameter 'security' Error loading services. For this version of samba, "security = share" is no longer a valid configuration. Valid values for the "security" parameter are auto, user, domain or ads. -- 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/1701330 Title: package samba 2:4.3.11+dfsg-0ubuntu0.16.04.7 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/1701330/+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