From owner-freebsd-ports@FreeBSD.ORG Wed Jul 12 15:15:46 2006 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 341F316A4E0; Wed, 12 Jul 2006 15:15:46 +0000 (UTC) (envelope-from R.Evers@nedstat.com) Received: from smtp.nedstat.nl (smtp.nedstat.nl [194.109.98.184]) by mx1.FreeBSD.org (Postfix) with SMTP id 281F743D46; Wed, 12 Jul 2006 15:15:44 +0000 (GMT) (envelope-from R.Evers@nedstat.com) Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.nedstat.nl (Postfix) with ESMTP id BA2D772A80; Wed, 12 Jul 2006 17:15:42 +0200 (CEST) Received: from smtp.nedstat.nl ([127.0.0.1]) by localhost (smtp [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 10654-02-19; Wed, 12 Jul 2006 17:15:39 +0200 (CEST) X-Greylist: Passed host: 194.109.98.186 whitelisted X-Greylist: Passed host: 194.109.98.186 whitelisted Received: from exchange.nedstat.corp (nat.nedstat.nl [194.109.98.186]) by smtp.nedstat.nl (Postfix) with ESMTP id 405FF72949; Wed, 12 Jul 2006 17:15:38 +0200 (CEST) X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Date: Wed, 12 Jul 2006 17:15:39 +0200 Message-ID: <57DBE41E5586AC488825E0E8F17715FB3A45BF@exchange.nedstat.corp> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: www/apache22 and ldap authentication Thread-Index: AcalxgiDMoajsMPhRm+rG2VzDw+a+Q== From: "Rob Evers" To: X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at nedstat.nl Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: clement@FreeBSD.org Subject: www/apache22 and ldap authentication X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jul 2006 15:15:46 -0000 Hi, I compiled www/apache22 with the following option: # make WITH_LDAP_MODULES=3Dyes install Everything works as expected but when I try to use basic authentication with ldap it says: "Unknown Authn provider: ldap" I have this in my config: Options Indexes MultiViews FollowSymlinks AuthBasicProvider ldap AuthLDAPURL "ldaps://1.example.com/ou=3Dusers,ou=3Did,ou=3Dauth, o=3Dexample,c=3Dcom?uid?one?(objectClass=3D*)" Require valid-user AuthType Basic AuthName "Some text" require valid-user I checked that the ldap modules are in /usr/local/libexec/apache22 # ls /usr/local/libexec/apache22/| grep ldap mod_authnz_ldap.so mod_ldap.so But these modules don't seem to load when I add them like: LoadModule mod_ldap libexec/apache22/mod_ldap.so I get an error: httpd: Syntax error on line 105 of /usr/local/etc/apache22/httpd.conf: Can't locate API module structure `mod_ldap' in file /usr/local/libexec/apache22/mod_ldap.so: Undefined symbol "mod_ldap" ( I'm not even sure if this is needed or apr left them out because of = these errors ??) So is this a problem with botched modules or am I configuring things in = a wrong way ? Any help would be welcome...... Rob Evers