#29 Adding krb5_principal option
Closed: Fixed Opened by zpericic.

We should add separate option for kerberos principal in keytab.

For some reason OpenLDAP refuse login if I use sasl_user. OpenLDAP try to do proxy login which always fail. openldap-client send empty sasl_user for GSSAPI login. To send empty sasl_user we need separate option for krb5 principal so we could init keytab.

Here is sample config:
dynamic-db "ldapdns" {
library "ldap.so";
arg "connections 2";
arg "uri ldap://myhost";
arg "base ou=DNS,dc=mybase";
arg "cache_ttl 300";
arg "auth_method sasl";
arg "krb5_keytab FILE:/etc/named/named.keytab";
arg "krb5_principal dns/myhost";
arg "sasl_mech GSSAPI";
}


Fixed, thanks for the patch.

http://git.fedorahosted.org/git/?p=bind-dyndb-ldap.git;a=commit;h=6b0005895bfba65dc8b5497075aa17935a21b18d

Metadata Update from @zpericic:
- Issue assigned to mnagy
- Issue set to the milestone: 0.1.1ipa

Log in to comment on this ticket.

Metadata