Thanks for these. You have a small, but important, typo in your
/etc/samba/smb.conf file:

$ testparm ./smb.conf 
Load smb config files from ./smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Unknown parameter encountered: "encrypted passwords"
Ignoring unknown parameter "encrypted passwords"
WARNING: Ignoring invalid value 'users' for parameter 'security'
Error loading services.


Specifically:
   security = users

Valid values for the "security" parameter are "auto", "user", "domain",
and "ads". I believe you were trying to set it to "user" instead of
"users".

The testparm(1) utility is also highlighting another parameter that is
incorrectly named in your file: "encrypted passwords". The closest
correct one is "encrypt passwords" and the default value is "true". That
is not preventing the service from starting, though.

I believe all you need to do is fix the "users" typo as explained above
and then:

sudo apt update
sudo apt -f install


And maybe even reinstall samba:

sudo apt install --reinstall samba

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1722831

Title:
  package samba 2:4.3.11+dfsg-0ubuntu0.16.04.11 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/1722831/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to