From owner-freebsd-bugs Wed Jan 8 4:22:29 2003 Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4286937B401 for ; Wed, 8 Jan 2003 04:22:28 -0800 (PST) Received: from host185.dolanmedia.com (host185.dolanmedia.com [209.98.197.185]) by mx1.FreeBSD.org (Postfix) with SMTP id 8C8FF43EDC for ; Wed, 8 Jan 2003 04:22:26 -0800 (PST) (envelope-from greg.panula@dolaninformation.com) Received: (qmail 55227 invoked by uid 0); 8 Jan 2003 12:22:21 -0000 Received: from greg.panula@dolaninformation.com by proxy by uid 82 with qmail-scanner-1.15 ( Clear:. Processed in 0.573589 secs); 08 Jan 2003 12:22:21 -0000 X-Qmail-Scanner-Mail-From: greg.panula@dolaninformation.com via proxy X-Qmail-Scanner-Rcpt-To: freebsd-bugs@freebsd.org,freebsd-ports@freebsd.org X-Qmail-Scanner: 1.15 (Clear:. Processed in 0.573589 secs) Received: from unknown (HELO mail.dolanmedia.com) (10.1.1.23) by host185.dolanmedia.com with SMTP; 8 Jan 2003 12:22:19 -0000 Received: from dolaninformation.com (10.1.1.135) by mail.dolanmedia.com (Worldmail 1.3.167); 8 Jan 2003 06:22:19 -0600 Message-ID: <3E1C17FB.C767BF14@dolaninformation.com> Date: Wed, 08 Jan 2003 06:22:19 -0600 From: Greg Panula Reply-To: greg.panula@dolaninformation.com Organization: Dolan Information Center Inc X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-bugs@freebsd.org Cc: freebsd-ports@freebsd.org Subject: auth_ldap bug Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Morning, Building and installing the auth_ldap port worked fine. But after enabling ldap in my httpd.conf I would get the following error when I attempted to start up apache: Can't locate API module structure `ldap_module' in file /usr/local/libexec/apache/auth_ldap.so: Undefined symbol "ldap_module" After a little google'ing I found the solution at: http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&threadm=3CEAA607.4000507_georgiacenter.org%40ns.sol.net&rnum=4&prev=/groups%3Fq%3DCan%27t%2Blocate%2BAPI%2Bmodule%2Bstructure%2B%2560ldap_module%27%2Bin%2Bfile%2B/usr/local/libexec/apache/auth_ldap.so:%2BUndefined%2Bsymbol%2B%2522ldap_module%2522%26hl%3Den%26lr%3D%26ie%3DUTF-8%26filter%3D0 Here is the snipet that corrected my problem: in httpd.conf, change: LoadModule ldap_module libexec/apache/auth_ldap.so to LoadModule auth_ldap_module libexec/apache/auth_ldap.so and change: AddModule mod_ldap.c to AddModule auth_ldap.c Would it be possible to update the auth_ldap port to save others the hassle? Thanks, Greg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message