I've reinstall samba4 from apt-get method (backward to Samba Version 4.1.6-Ubuntu), and the problem fixed.
Apparently this bug will only show up if you download the latest samba package (Samba Version 4.4.2), and install it yourself (./configure && make && make install) So fyi, many of the Samba AD users still use this method will not be able to install and configure slapd because of latest samba. Hope you can fixed this in the update. On Tuesday, 7 July 2015, 3:32, Ryan Tandy <1471...@bugs.launchpad.net> wrote: The dpkg terminal output unfortunately doesn't show why slapd failed to start. Please check /var/log/syslog for the relevant slapd output. You mentioned you installed Samba-4. If you are running Samba's AD DC, that would probably bind the LDAP port (389/tcp), which would prevent slapd from starting since it wants to use the same port. Is that what's happening here? ** Changed in: openldap (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are subscribed to the bug report. https://bugs.launchpad.net/bugs/1471370 Title: package slapd 2.4.31-1+nmu2ubuntu8.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 Status in openldap package in Ubuntu: Incomplete Bug description: I'm installing Samba 4.4.2 (latest) from samba website, and after that install slapd, after install come out this error signal. I think it's a bug, hopefully someone will be able to fix it soon Description: Ubuntu 14.04.2 LTS Release: 14.04 Version: slapd 2.4.31-1+nmu2ubuntu8.1 ProblemType: Package DistroRelease: Ubuntu 14.04 Package: slapd 2.4.31-1+nmu2ubuntu8.1 ProcVersionSignature: Ubuntu 3.16.0-30.40~14.04.1-generic 3.16.7-ckt3 Uname: Linux 3.16.0-30-generic x86_64 ApportVersion: 2.14.1-0ubuntu3.11 Architecture: amd64 Date: Sat Jul 4 11:33:42 2015 DuplicateSignature: package:slapd:2.4.31-1+nmu2ubuntu8.1:subprocess installed post-installation script returned error exit status 1 ErrorMessage: subprocess installed post-installation script returned error exit status 1 InstallationDate: Installed on 2015-07-03 (0 days ago) InstallationMedia: Ubuntu 14.04.2 LTS "Trusty Tahr" - Release amd64 (20150218.1) SourcePackage: openldap Title: package slapd 2.4.31-1+nmu2ubuntu8.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/1471370/+subscriptions -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1471370 Title: package slapd 2.4.31-1+nmu2ubuntu8.1 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/openldap/+bug/1471370/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs