> Here's an untested tarball of an updated openldap port, split into
> directories for 2.3 and 2.4: http://spacehopper.org/tmp/openldap.tgz
This issue has been kicked around for maybe two years, it has been on
the misc list before,
https://kerneltrap.org/mailarchive/openbsd-misc/2007/5/20/149916/thread
I think trying the port with packages 2.3.* and 2.4.* for openldap maybe
a solution.
test port at http://spacehopper.org/tmp/openldap.tgz
On a AMD64 dual,
So far it compiled and made the packages, after I uncommented the
subpackage for 2.4 in the Makefile.
(Did you leave # in front of 2.4 for a reason Stuart?)
BTW expected:
# pkg_add openldap-server-2.4.12.tgz
Can't install openldap-server-2.4.12 because of conflicts
(openldap-client-2.3.43)
/usr/sbin/pkg_add: openldap-server-2.4.12:Fatal error
As expected php5-ldap-5.2.6 and phpldapadmin-1.1.0.5 had to be uninstalled
to uninstall the openldap-client-2.3.43
Good news, the packages php5-ldap and phpldapadmin did not complain after
reinstalling with openldap 2.4.12 package.
Of note, the 2.4.12 package install complained about
/var/openldap-data/DB_CONFIG could not be installed
After some sleep, will endeavor to test on a small scale.
# pkg_add ./openldap-server-2.4.12.tgz
openldap-client-2.4.12: complete
File /var/openldap-data/DB_CONFIG could not be
installed:***************************************************** | 94%
No such file or directory
openldap-server-2.4.12: complete
--- openldap-server-2.4.12 -------------------
To start slapd, configure it in /etc/openldap/slapd.conf then add
the following line to /etc/rc.conf.local:
slapd_flags="-u _openldap"
and to /etc/rc.local (be sure to start it _before_ any daemon that may
need it):
if [ "$slapd_flags" != "NO" -a -x /usr/local/libexec/slapd ]; then
install -d -o _openldap /var/run/openldap
/usr/local/libexec/slapd $slapd_flags
echo -n ' slapd'
fi
#