[Bug 1739981] Re: package samba 2:4.5.8+dfsg-0ubuntu0.17.04.8 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

2017-12-28 Thread Andreas Hasenack
Thanks. Two things:

a) you have an invalid setting 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)
set_variable_helper("false"): value is not boolean!
Error loading services.

It's this line:
usershare owner only="false"

You have to fix that.

b) For non-AD samba services, the samba-ad-dc service must be masked
(which is the default) and the other services must be enabled. So run
these commands:

sudo systemctl stop smbd.service nmbd.service winbind.service 
samba-ad-dc.service
sudo systemctl disable samba-ad-dc.service
sudo systemctl mask samba-ad-dc.service
sudo systemctl enable smbd.service nmbd.service
sudo systemctl start smbd.service nmbd.service

Then you can run these to fix the packaging side of things:
sudo apt update
sudo apt -f install

-- 
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/1739981

Title:
  package samba 2:4.5.8+dfsg-0ubuntu0.17.04.8 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/1739981/+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


[Bug 1739981] Re: package samba 2:4.5.8+dfsg-0ubuntu0.17.04.8 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

2017-12-26 Thread Andreas Hasenack
Thanks for filing this bug in Ubuntu.

Could you please provide the following:
- output of sudo systemctl status smbd.service nmbd.service samba-ad-dc.service
- all files from /var/log/samba that start with "log", i.e., /var/log/samba/log*
- your samba config file /etc/samba/smb.conf

You seem to have configured samba to run as an AD server (that's the
samba-ad-dc service) and that service has failed to start. I'll need the
above information in order to diagnose the problem.

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/1739981

Title:
  package samba 2:4.5.8+dfsg-0ubuntu0.17.04.8 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/1739981/+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