[Date Prev][Date Next] [Chronological] [Thread] [Top]

Kerberos binds broke when clients moved to ldap_init() (ITS#109)

Full_Name: John Hensley
Version: 1.2.0
OS: Solaris 2.6
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (

It looks like when ldapsearch/modify/etc. got moved to ldap_init(), the
Kerberos binds were broken. If I change all those calls back to 
ldap_open, the clients work fine. I've traced the problem as far as 
libraries/libldap/kbind.c. It's dying with a seg fault in 
ldap_get_kerberosv4_credentials, around lines 264-268:

          krbinstance = ld->ld_defconn->lconn_krbinstance;
  #else /* LDAP_REFERRALS */
          krbinstance = ld->ld_host;
  #endif /* LDAP_REFERRALS */

I would have thought ld_host would always work, but rebuilding with 
--enable-referrals=no didn't fix it.