Hi,
I've been wrestling with getting openldap24-server on FreeBSD 8.0-RELEASE to authenticate against a Heimdal Kerberos server (running the standard server shipped with FreeBSD 8.0) . It works fine if I modify the permissions to allow ldap group read on /etc/krb5.keytab on the LDAP server. However I'd like to have a separate keytab just for the ldap server. The two servers are both running in jails with /proc and /dev access.
I set KRB5_KTNAME via the slapd_krb5_ktname rc.conf option. This didn't work. So I set keytab in /usr/local/etc/sasl2/slapd.conf and also tried /usr/local/lib/sasl2/slapd.conf. That didn't work either.
Doing a truss of slapd shows it reads the keytab: value but when truss runs against an authentication attempt it shows slapd is trying to open /etc/krb5.keytab.
I've tried the SASL sample client/server test tools and these work fine when KRB5_KTNAME is set in the environment.
I'm at a bit of a loss now. It seems that something is happening to the KRB5_KTNAME before it can be used by the Heimdal libraries. KRB5_KTNAME is showing in a ps aux -e output.
I've checked for bugs against the port and googled my best but found nothing related that indicated what was happening.
Any help is greatly appreciated!
Thanks for your time.
I've been wrestling with getting openldap24-server on FreeBSD 8.0-RELEASE to authenticate against a Heimdal Kerberos server (running the standard server shipped with FreeBSD 8.0) . It works fine if I modify the permissions to allow ldap group read on /etc/krb5.keytab on the LDAP server. However I'd like to have a separate keytab just for the ldap server. The two servers are both running in jails with /proc and /dev access.
I set KRB5_KTNAME via the slapd_krb5_ktname rc.conf option. This didn't work. So I set keytab in /usr/local/etc/sasl2/slapd.conf and also tried /usr/local/lib/sasl2/slapd.conf. That didn't work either.
Doing a truss of slapd shows it reads the keytab: value but when truss runs against an authentication attempt it shows slapd is trying to open /etc/krb5.keytab.
I've tried the SASL sample client/server test tools and these work fine when KRB5_KTNAME is set in the environment.
I'm at a bit of a loss now. It seems that something is happening to the KRB5_KTNAME before it can be used by the Heimdal libraries. KRB5_KTNAME is showing in a ps aux -e output.
I've checked for bugs against the port and googled my best but found nothing related that indicated what was happening.
Any help is greatly appreciated!
Thanks for your time.