svn rev #18558: trunk/src/plugins/kdb/ldap/libkdb_ldap/

raeburn@MIT.EDU raeburn at MIT.EDU
Thu Aug 31 22:51:39 EDT 2006


Commit By: raeburn
Log Message: 
Reject old OpenLDAP versions with bugs tickled by this code.
Clean up some warnings during the build.

* ldap_misc.c (strptime) [NEED_STRPTIME_PROTO]: Declare, conditionally.
(krb5_ldap_errcode_2_string): Return string, not error code, to fit with DAL
interface spec.
* kdb_ldap.h: Error out for OpenLDAP versions before 2.2.24.
(LDAP_DEPRECATED): Define; openldap-2.3.27 defaults to undefined.
(krb5_ldap_lib_init): Prototype.
(krb5_get_policydn): Declare.
(krb5_ldap_errcode_2_string): Fix return type.



Changed Files:
U   trunk/src/plugins/kdb/ldap/libkdb_ldap/kdb_ldap.h
U   trunk/src/plugins/kdb/ldap/libkdb_ldap/ldap_misc.c



More information about the cvs-krb5 mailing list