FreeBSD Port: openldap-server-2.4.17

Xin LI delphij at delphij.net
Fri Aug 28 22:42:05 UTC 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Matthew Hambley wrote:
> I've been banging my head on the wall which is OpenLDAP and Kerberos for
> a week now. As far as I can tell I need to create the environment
> variable KRB5_KTNAME to specify the keytab I want to use. If I do this
> and start slapd manually things work.
> 
> Unfortunately there seems no way of specifying this so the slapd startup
> script does so. I've tried hacking the script myself but to no avail. I
> see one person out there once had the same problem but got no replies
> explaining how this was best resolved.
> 
> Given that this hadn't been fixed in the years of the ports lifetime I
> imagine there must be a good reason for its continued absence. I just
> can't work out what it is.

I think this is a bug and has to be fixed.  Could you please try the
attached patch?  It will add a new knob to rc.conf ("slapd_krb5_ktname")
which will emulate the export.

Cheers,
- --
Xin LI <delphij at delphij.net>	http://www.delphij.net/
FreeBSD - The Power to Serve!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (FreeBSD)

iEYEARECAAYFAkqYXO4ACgkQi+vbBBjt66B6bwCgpY/2IvykApKITgL/pmsJL8XQ
MeQAoIcoySbNG9nrpYdJAIgHa2PS/r+9
=k4WO
-----END PGP SIGNATURE-----


More information about the freebsd-ports mailing list