Brian Candler writes:

MrSam: any idea why #include <lber.h> and #include <ldap.h> are wrapped in
HAVE_LBER_H and HAVE_LDAP_H conditionals in authldaplib.c? Surely there
aren't any ancient LDAP implementations which let you link the libraries
without using the header files?

I dimly recall that some issue with Sun's LDAP libraries (which were not derived from OpenLDAP) having something to do with this.

In any case, the compiler warnings are due to OpenLDAP deprecating some APIs. The functions are still in the library, but no longer declared, by default, in ldap.h.

The dev version of courier-authlib uses the new API, and muzzles these warnings.


Attachment: pgp637aQMzad0.pgp
Description: PGP signature

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Courier-imap mailing list
Courier-imap@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

Reply via email to