Ticket #28 (closed enhancement: fixed)
Handle LDAP referrals with ldap_set_rebind_proc()
| Reported by: | smoku | Owned by: | smoku |
|---|---|---|---|
| Priority: | major | Component: | General |
| Version: | 2.1 | Keywords: | |
| Cc: | Tracforge_linkmap: | ||
| Blocking: | Blocked By: |
Description
This appears to be an ldap version issue. The ldap.h concerned only has 2 arguments for ldap_set_rebind_proc(), viz.:
#define LDAP_API_VERSION 2004 #define LDAP_VENDOR_NAME "OpenLDAP"
/*
- vendor version number
- 2.0.0 -> 20000
- 2.3.16 -> 20316 */
#define LDAP_VENDOR_VERSION 20025
...
/* V3 REBIND Function Callback Prototype */ typedef int (LDAP_REBIND_PROC) LDAP_P((
LDAP *ld, LDAP_CONST char *url, int request, ber_int_t msgid ));
LDAP_F( int ) ldap_set_rebind_proc LDAP_P((
LDAP *ld, LDAP_REBIND_PROC *ldap_proc));
php seems to check for this in configure:
http://www.openldap.org/lists/openldap-software/200303/msg00367.html
Attachments
Change History
Note: See
TracTickets for help on using
tickets.