From dev-return-19825-apmail-apr-dev-archive=apr.apache.org@apr.apache.org Sat Mar 29 21:23:05 2008 Return-Path: Delivered-To: apmail-apr-dev-archive@www.apache.org Received: (qmail 5774 invoked from network); 29 Mar 2008 21:23:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Mar 2008 21:23:05 -0000 Received: (qmail 79602 invoked by uid 500); 29 Mar 2008 21:23:03 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 79552 invoked by uid 500); 29 Mar 2008 21:23:03 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 79541 invoked by uid 99); 29 Mar 2008 21:23:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Mar 2008 14:23:03 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [194.242.35.95] (HELO dns-factory.at) (194.242.35.95) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Mar 2008 21:22:23 +0000 Received: from WSLT03 apache@gknw.net [172.17.100.16] by dns-factory.at with NetMail SMTP Agent $Revision: 8582 $ on Novell NetWare; Sat, 29 Mar 2008 22:22:34 +0100 Date: Sat, 29 Mar 2008 22:22:46 +0100 From: Guenter Knauf To: minfrin@sharp.fm, wrowe@rowe-clan.net, harryholt@gmail.com, victorjss@gmail.com, dev@apr.apache.org Subject: Re: LDAP over SSL on Win32 Message-ID: References: <47E4036E.5060903@rowe-clan.net> <47E6A1CF.6080609@sharp.fm> X-Mailer: AK-Mail 4.01 [German] (registered, single user license) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, > The lack of the use of an autoconf-like tool on Windows keeps this from > being practical. If you hand tweaked the header files, and linked to the > libraries correctly, there is nothing stopping you binding against the > Novell CLDAP. Hand tweaking however is error prone and tiresome, at some > point you want to hand this over to an autoconf-like tool. well, I've hacked now a simple awk script which just switches the defines in apr_ldap.h; and this can be called during build for creating the apr_ldap.h instead of just copying from apr_ldap.hw, so this task can be done automaticyally on Win32 too. What's though very bad is that currently both mod_ldap and mod_authnz_ldap also link itself against wldap32.lib, and thus a change of the LDAP SDK would require to change the project files / makefiles too. Current situation is that mod_ldap needs 12 symbols, and mod_authnz_ldap 1 symbol from the ldap libs. Cant we create wrappers around these ldap functions to make the LDAP support completely happen in apr-util, and then only link against that? Guenter.