Issue 109 - Kerberos binds broke when clients moved to ldap_init()
Summary: Kerberos binds broke when clients moved to ldap_init()
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1999-03-24 00:12 UTC by hensley@merit.edu
Modified: 2014-08-01 21:06 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description hensley@merit.edu 1999-03-24 00:12:36 UTC
Full_Name: John Hensley
Version: 1.2.0
OS: Solaris 2.6
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (198.108.1.33)


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:

  #ifdef LDAP_REFERRALS
          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.
Comment 1 Kurt Zeilenga 1999-03-26 17:52:54 UTC
moved from Incoming to Software Bugs
Comment 2 Kurt Zeilenga 1999-05-24 17:37:19 UTC
changed notes
Comment 3 Kurt Zeilenga 1999-05-24 17:37:39 UTC
changed state Open to Suspended
Comment 4 Kurt Zeilenga 1999-08-07 03:14:34 UTC
changed notes
Comment 5 Kurt Zeilenga 1999-08-21 18:59:41 UTC
changed notes
Comment 6 Kurt Zeilenga 2000-03-10 12:21:11 UTC
changed notes
Comment 7 wesley.craig@umich.edu 2000-03-10 15:24:53 UTC
I've posted what I believe is the fix for this in (ITS#426),

	ftp://ftp.openldap.org/incoming/Wesley-Craig-20000117-1.diff

:wes
Comment 8 Kurt Zeilenga 2000-09-06 17:32:16 UTC
changed notes
changed state Suspended to Closed
Comment 9 OpenLDAP project 2014-08-01 21:06:52 UTC
Need Kerberos Developer.
See ITS#268 for workaround.
See ITS#426 for fix
believed fixed in 2.0