apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r419622 - /apr/apr-util/trunk/include/apr_ldap_init.h
Date Thu, 06 Jul 2006 17:19:26 GMT
Author: wrowe
Date: Thu Jul  6 10:19:25 2006
New Revision: 419622

URL: http://svn.apache.org/viewvc?rev=419622&view=rev
Log:

  Account for win32 ldap, enum style identifiers on a one-off platform
  basis.  Better autoconf determination is really called for.

Modified:
    apr/apr-util/trunk/include/apr_ldap_init.h

Modified: apr/apr-util/trunk/include/apr_ldap_init.h
URL: http://svn.apache.org/viewvc/apr/apr-util/trunk/include/apr_ldap_init.h?rev=419622&r1=419621&r2=419622&view=diff
==============================================================================
--- apr/apr-util/trunk/include/apr_ldap_init.h (original)
+++ apr/apr-util/trunk/include/apr_ldap_init.h Thu Jul  6 10:19:25 2006
@@ -43,6 +43,12 @@
 #define APU_LDAP_INSUFFICIENT_ACCESS LDAP_INSUFFICIENT_ACCESS
 #elif defined(LDAP_INSUFFICIENT_RIGHTS)
 #define APU_LDAP_INSUFFICIENT_ACCESS LDAP_INSUFFICIENT_RIGHTS
+#elif defined(APR_HAS_MICROSOFT_LDAPSDK)
+/* The macros above fail to contemplate that LDAP_RETCODE values
+ * may be represented by an enum.  autoconf tests would be much
+ * more robust.
+ */
+#define APU_LDAP_INSUFFICIENT_ACCESS LDAP_INSUFFICIENT_RIGHTS
 #else
 #error The security return codes must be added to support this LDAP toolkit.
 #endif



Mime
View raw message