You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by bn...@apache.org on 2006/06/06 01:44:55 UTC
svn commit: r411952 - in /apr/apr-util/trunk/include: apr_ldap.hnw
apr_ldap_init.h
Author: bnicholes
Date: Mon Jun 5 16:44:55 2006
New Revision: 411952
URL: http://svn.apache.org/viewvc?rev=411952&view=rev
Log:
Fix a typo and add an #error condition if the security codes are not supported
Modified:
apr/apr-util/trunk/include/apr_ldap.hnw
apr/apr-util/trunk/include/apr_ldap_init.h
Modified: apr/apr-util/trunk/include/apr_ldap.hnw
URL: http://svn.apache.org/viewvc/apr/apr-util/trunk/include/apr_ldap.hnw?rev=411952&r1=411951&r2=411952&view=diff
==============================================================================
--- apr/apr-util/trunk/include/apr_ldap.hnw (original)
+++ apr/apr-util/trunk/include/apr_ldap.hnw Mon Jun 5 16:44:55 2006
@@ -66,6 +66,7 @@
#ifdef GENEXPORTS
#define LDAP_VERSION_MAX 3
+#define LDAP_INSUFFICIENT_ACCESS
#else
#include <lber.h>
#include <ldap.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=411952&r1=411951&r2=411952&view=diff
==============================================================================
--- apr/apr-util/trunk/include/apr_ldap_init.h (original)
+++ apr/apr-util/trunk/include/apr_ldap_init.h Mon Jun 5 16:44:55 2006
@@ -43,9 +43,11 @@
#define APU_LDAP_INSUFFICIENT_ACCESS LDAP_INSUFFICIENT_ACCESS
#elif defined(LDAP_INSUFFICIENT_RIGHTS)
#define APU_LDAP_INSUFFICIENT_ACCESS LDAP_INSUFFICIENT_RIGHTS
+#else
+#error The security return codes must be added to support this LDAP toolkit.
#endif
-#if defined(LDAP_SECURITY_ERROR1)
+#if defined(LDAP_SECURITY_ERROR)
#define APU_LDAP_SECURITY_ERROR LDAP_SECURITY_ERROR
#else
#define APU_LDAP_SECURITY_ERROR(n) \