Return-Path: Delivered-To: apmail-apr-commits-archive@www.apache.org Received: (qmail 69384 invoked from network); 6 Jul 2006 17:19:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Jul 2006 17:19:48 -0000 Received: (qmail 70846 invoked by uid 500); 6 Jul 2006 17:19:47 -0000 Delivered-To: apmail-apr-commits-archive@apr.apache.org Received: (qmail 70812 invoked by uid 500); 6 Jul 2006 17:19:47 -0000 Mailing-List: contact commits-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: dev@apr.apache.org List-Id: Delivered-To: mailing list commits@apr.apache.org Received: (qmail 70801 invoked by uid 99); 6 Jul 2006 17:19:47 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Jul 2006 10:19:47 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [140.211.166.113] (HELO eris.apache.org) (140.211.166.113) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Jul 2006 10:19:46 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 6BF6C1A981A; Thu, 6 Jul 2006 10:19:26 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r419622 - /apr/apr-util/trunk/include/apr_ldap_init.h Date: Thu, 06 Jul 2006 17:19:26 -0000 To: commits@apr.apache.org From: wrowe@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20060706171926.6BF6C1A981A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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