<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Building LDAP Authentication into Apache2</title>
	<atom:link href="http://brent.kearneys.ca/2006/12/10/building-ldap-authentication-into-apache2/feed/" rel="self" type="application/rss+xml" />
	<link>http://brent.kearneys.ca/2006/12/10/building-ldap-authentication-into-apache2/</link>
	<description>Health, Fitness, Technology, and Other Interests</description>
	<lastBuildDate>Sat, 28 Jan 2012 14:27:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Brent</title>
		<link>http://brent.kearneys.ca/2006/12/10/building-ldap-authentication-into-apache2/comment-page-1/#comment-1303</link>
		<dc:creator>Brent</dc:creator>
		<pubDate>Tue, 05 Apr 2011 05:22:50 +0000</pubDate>
		<guid isPermaLink="false">http://brent.kearneys.ca/sysadmin/2006/building-ldap-authentication-into-apache2/#comment-1303</guid>
		<description>Thanks for the comment! It looks like the Apache team have finally fixed up the build of the ldap module. That only took 5 years ;-).</description>
		<content:encoded><![CDATA[<p>Thanks for the comment! It looks like the Apache team have finally fixed up the build of the ldap module. That only took 5 years ;-).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Voltaire Germinal</title>
		<link>http://brent.kearneys.ca/2006/12/10/building-ldap-authentication-into-apache2/comment-page-1/#comment-1302</link>
		<dc:creator>Voltaire Germinal</dc:creator>
		<pubDate>Tue, 05 Apr 2011 02:34:42 +0000</pubDate>
		<guid isPermaLink="false">http://brent.kearneys.ca/sysadmin/2006/building-ldap-authentication-into-apache2/#comment-1302</guid>
		<description>For the benefit of others who wants to install Apache with LDAP support here&#039;s a working configuration setup that I have. Using CentOS5.5 but should also work with other flavors of Unix.

1. Install OpenLDAP from source (openldap-2.4.25.tgz)

./configure --prefix=/usr/local/openldap
--enable-cleartext \
--enable-crypt \
--enable-lmpasswd \
--enable-spasswd \
--enable-modules \
--enable-rewrite \
--enable-rlookups \
--enable-slapi \
--enable-slp \
--enable-wrappers \
--enable-ldap \
--enable-monitor \
--enable-null \
--enable-passwd \
--enable-perl \
--enable-relay \
--enable-shell \
--enable-sock

make
make install

2. Install apache from source (httpd-2.2.17.tar.gz)

./configure --prefix=/usr/local/apache \
--enable-mods-shared=all \
--enable-so \
--enable-ldap \
--enable-authnz-ldap \
--with-included-apr \
--with-ldap-lib=/usr/local/openldap/lib \
--with-ldap-include=/usr/local/openldap/include \
--with-ldap=ldap</description>
		<content:encoded><![CDATA[<p>For the benefit of others who wants to install Apache with LDAP support here&#8217;s a working configuration setup that I have. Using CentOS5.5 but should also work with other flavors of Unix.</p>
<p>1. Install OpenLDAP from source (openldap-2.4.25.tgz)</p>
<p>./configure &#8211;prefix=/usr/local/openldap<br />
&#8211;enable-cleartext \<br />
&#8211;enable-crypt \<br />
&#8211;enable-lmpasswd \<br />
&#8211;enable-spasswd \<br />
&#8211;enable-modules \<br />
&#8211;enable-rewrite \<br />
&#8211;enable-rlookups \<br />
&#8211;enable-slapi \<br />
&#8211;enable-slp \<br />
&#8211;enable-wrappers \<br />
&#8211;enable-ldap \<br />
&#8211;enable-monitor \<br />
&#8211;enable-null \<br />
&#8211;enable-passwd \<br />
&#8211;enable-perl \<br />
&#8211;enable-relay \<br />
&#8211;enable-shell \<br />
&#8211;enable-sock</p>
<p>make<br />
make install</p>
<p>2. Install apache from source (httpd-2.2.17.tar.gz)</p>
<p>./configure &#8211;prefix=/usr/local/apache \<br />
&#8211;enable-mods-shared=all \<br />
&#8211;enable-so \<br />
&#8211;enable-ldap \<br />
&#8211;enable-authnz-ldap \<br />
&#8211;with-included-apr \<br />
&#8211;with-ldap-lib=/usr/local/openldap/lib \<br />
&#8211;with-ldap-include=/usr/local/openldap/include \<br />
&#8211;with-ldap=ldap</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mamoru</title>
		<link>http://brent.kearneys.ca/2006/12/10/building-ldap-authentication-into-apache2/comment-page-1/#comment-1190</link>
		<dc:creator>Mamoru</dc:creator>
		<pubDate>Fri, 09 Jul 2010 09:28:40 +0000</pubDate>
		<guid isPermaLink="false">http://brent.kearneys.ca/sysadmin/2006/building-ldap-authentication-into-apache2/#comment-1190</guid>
		<description>I made it all at FreeBSD 7.2, apache 2.2.15
Well done. but one little fix.
Need to remove include of APR from the build/config-vars.mk (line 180)
and add includes (-I) for srclib/apr/include and srclib/apr-util/include</description>
		<content:encoded><![CDATA[<p>I made it all at FreeBSD 7.2, apache 2.2.15<br />
Well done. but one little fix.<br />
Need to remove include of APR from the build/config-vars.mk (line 180)<br />
and add includes (-I) for srclib/apr/include and srclib/apr-util/include</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Igor</title>
		<link>http://brent.kearneys.ca/2006/12/10/building-ldap-authentication-into-apache2/comment-page-1/#comment-1173</link>
		<dc:creator>Igor</dc:creator>
		<pubDate>Mon, 07 Jun 2010 02:52:53 +0000</pubDate>
		<guid isPermaLink="false">http://brent.kearneys.ca/sysadmin/2006/building-ldap-authentication-into-apache2/#comment-1173</guid>
		<description>After try and fail this is the config command that finally worked for me on Solaris 10

./configure --prefix=/usr/local/apache2 --with-mpm=worker --with-included-apr ...(some other options)... --with-ldap=ldap --with-ldap-lib=/usr/lib --with-ldap-include=/usr/include --enable-ldap --enable-authnz-ldap

Cheers,
Igor</description>
		<content:encoded><![CDATA[<p>After try and fail this is the config command that finally worked for me on Solaris 10</p>
<p>./configure &#8211;prefix=/usr/local/apache2 &#8211;with-mpm=worker &#8211;with-included-apr &#8230;(some other options)&#8230; &#8211;with-ldap=ldap &#8211;with-ldap-lib=/usr/lib &#8211;with-ldap-include=/usr/include &#8211;enable-ldap &#8211;enable-authnz-ldap</p>
<p>Cheers,<br />
Igor</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://brent.kearneys.ca/2006/12/10/building-ldap-authentication-into-apache2/comment-page-1/#comment-997</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Sat, 13 Mar 2010 04:55:34 +0000</pubDate>
		<guid isPermaLink="false">http://brent.kearneys.ca/sysadmin/2006/building-ldap-authentication-into-apache2/#comment-997</guid>
		<description>I was getting the same problem with Apache 2.2.15 trying to configure with just the main configure script. The trick that worked for me for was to combine all the above into one step, for my setup I ran the following command in the top level apache folder:

./configure --prefix=/usr/local/apache --enable-rewrite --enable-so --enable-authnz-ldap --enable-ldap --with-included-apr --with-ldap-lib=/usr/local/openldap/lib --with-ldap-include=/usr/local/openldap/include --with-ldap=ldap

Obviously paths need to be changed, but by using the --with-ldap-lib and --with-ldap-include in the top level configure script, everything went smoothly without having to do these extra steps. Hope it helps someone else!</description>
		<content:encoded><![CDATA[<p>I was getting the same problem with Apache 2.2.15 trying to configure with just the main configure script. The trick that worked for me for was to combine all the above into one step, for my setup I ran the following command in the top level apache folder:</p>
<p>./configure &#8211;prefix=/usr/local/apache &#8211;enable-rewrite &#8211;enable-so &#8211;enable-authnz-ldap &#8211;enable-ldap &#8211;with-included-apr &#8211;with-ldap-lib=/usr/local/openldap/lib &#8211;with-ldap-include=/usr/local/openldap/include &#8211;with-ldap=ldap</p>
<p>Obviously paths need to be changed, but by using the &#8211;with-ldap-lib and &#8211;with-ldap-include in the top level configure script, everything went smoothly without having to do these extra steps. Hope it helps someone else!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Grieger</title>
		<link>http://brent.kearneys.ca/2006/12/10/building-ldap-authentication-into-apache2/comment-page-1/#comment-680</link>
		<dc:creator>Chris Grieger</dc:creator>
		<pubDate>Fri, 21 Aug 2009 09:14:10 +0000</pubDate>
		<guid isPermaLink="false">http://brent.kearneys.ca/sysadmin/2006/building-ldap-authentication-into-apache2/#comment-680</guid>
		<description>Using the switch -enable-ldap instead of --with-ldap did the job for me. (apache httpd 2.2.13 on openSuse 10.3)</description>
		<content:encoded><![CDATA[<p>Using the switch -enable-ldap instead of &#8211;with-ldap did the job for me. (apache httpd 2.2.13 on openSuse 10.3)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Abidoon Nadeem</title>
		<link>http://brent.kearneys.ca/2006/12/10/building-ldap-authentication-into-apache2/comment-page-1/#comment-614</link>
		<dc:creator>Abidoon Nadeem</dc:creator>
		<pubDate>Sun, 07 Jun 2009 01:54:29 +0000</pubDate>
		<guid isPermaLink="false">http://brent.kearneys.ca/sysadmin/2006/building-ldap-authentication-into-apache2/#comment-614</guid>
		<description>There is a configuration difference for Apache 2.2.11 on CentOS 5.2

./configure --enable-deflate --enable-mime-magic --enable-expires --enable-usertrack --enable-unique-id --enable-ssl --enable-http --enable-mod-info --enable-info --enable-cgi --enable-cgid --enable-spelling --enable-module=all --enable-ldap --enable-authnz-ldap --with-ldap --with-included-apr

The &quot;--with-included-apr&quot;  and &quot;--with-ldap&quot; are necessary otherwise it won&#039;t compile and keeps giving the same error.</description>
		<content:encoded><![CDATA[<p>There is a configuration difference for Apache 2.2.11 on CentOS 5.2</p>
<p>./configure &#8211;enable-deflate &#8211;enable-mime-magic &#8211;enable-expires &#8211;enable-usertrack &#8211;enable-unique-id &#8211;enable-ssl &#8211;enable-http &#8211;enable-mod-info &#8211;enable-info &#8211;enable-cgi &#8211;enable-cgid &#8211;enable-spelling &#8211;enable-module=all &#8211;enable-ldap &#8211;enable-authnz-ldap &#8211;with-ldap &#8211;with-included-apr</p>
<p>The &#8220;&#8211;with-included-apr&#8221;  and &#8220;&#8211;with-ldap&#8221; are necessary otherwise it won&#8217;t compile and keeps giving the same error.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brent</title>
		<link>http://brent.kearneys.ca/2006/12/10/building-ldap-authentication-into-apache2/comment-page-1/#comment-590</link>
		<dc:creator>Brent</dc:creator>
		<pubDate>Thu, 16 Apr 2009 15:51:54 +0000</pubDate>
		<guid isPermaLink="false">http://brent.kearneys.ca/sysadmin/2006/building-ldap-authentication-into-apache2/#comment-590</guid>
		<description>I&#039;m pretty sure that the error message refers to the protocol &quot;LDAP&quot;, version 3.  Not a particular implementation of the protocol, such as OpenLDAP.  If you are using OpenLDAP, then it supports LDAPv3.

If you are getting the same message after OpenLDAP is installed, &quot;Support for LDAP v2.0...&quot;, then you probably have some old libraries on your system, and it&#039;s using those instead of the new ones from OpenLDAP.

I just noticed in your original post that this is happening in the apr-util folder.  Did you build &#039;apr&#039; first, as per the article? It compiled cleanly?</description>
		<content:encoded><![CDATA[<p>I&#8217;m pretty sure that the error message refers to the protocol &#8220;LDAP&#8221;, version 3.  Not a particular implementation of the protocol, such as OpenLDAP.  If you are using OpenLDAP, then it supports LDAPv3.</p>
<p>If you are getting the same message after OpenLDAP is installed, &#8220;Support for LDAP v2.0&#8230;&#8221;, then you probably have some old libraries on your system, and it&#8217;s using those instead of the new ones from OpenLDAP.</p>
<p>I just noticed in your original post that this is happening in the apr-util folder.  Did you build &#8216;apr&#8217; first, as per the article? It compiled cleanly?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: D69</title>
		<link>http://brent.kearneys.ca/2006/12/10/building-ldap-authentication-into-apache2/comment-page-1/#comment-589</link>
		<dc:creator>D69</dc:creator>
		<pubDate>Thu, 16 Apr 2009 15:39:47 +0000</pubDate>
		<guid isPermaLink="false">http://brent.kearneys.ca/sysadmin/2006/building-ldap-authentication-into-apache2/#comment-589</guid>
		<description>it&#039;s not clear where to find LDAP toolkit 3.0.
The latest available from OpenLdap is 2.4
Apache 2.2.11 fails with it!</description>
		<content:encoded><![CDATA[<p>it&#8217;s not clear where to find LDAP toolkit 3.0.<br />
The latest available from OpenLdap is 2.4<br />
Apache 2.2.11 fails with it!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brent</title>
		<link>http://brent.kearneys.ca/2006/12/10/building-ldap-authentication-into-apache2/comment-page-1/#comment-529</link>
		<dc:creator>Brent</dc:creator>
		<pubDate>Mon, 09 Mar 2009 23:16:47 +0000</pubDate>
		<guid isPermaLink="false">http://brent.kearneys.ca/sysadmin/2006/building-ldap-authentication-into-apache2/#comment-529</guid>
		<description>I&#039;d say that this is your main problem:

/work/run4/httpd-2.2.11/srclib/apr-util/include/apr_ldap.h:132:2: #error Support for LDAP v2.0 toolkits has been removed from apr-util. Please use an LDAP v3.0 toolkit.


It appears that you have some old LDAP libraries installed...</description>
		<content:encoded><![CDATA[<p>I&#8217;d say that this is your main problem:</p>
<p>/work/run4/httpd-2.2.11/srclib/apr-util/include/apr_ldap.h:132:2: #error Support for LDAP v2.0 toolkits has been removed from apr-util. Please use an LDAP v3.0 toolkit.</p>
<p>It appears that you have some old LDAP libraries installed&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TC</title>
		<link>http://brent.kearneys.ca/2006/12/10/building-ldap-authentication-into-apache2/comment-page-1/#comment-528</link>
		<dc:creator>TC</dc:creator>
		<pubDate>Mon, 09 Mar 2009 22:35:08 +0000</pubDate>
		<guid isPermaLink="false">http://brent.kearneys.ca/sysadmin/2006/building-ldap-authentication-into-apache2/#comment-528</guid>
		<description>I ran these steps:

cd ../apr-util
make clean
./configure --prefix=/usr/local/apache2 --with-apr=../apr \
--with-ldap-lib=/usr/lib --with-ldap-include=/usr/include \
--with-ldap=ldap
make

I got no error in the configure; however, make return 
In file included from ldap/apr_ldap_stub.c:20:
/work/run4/httpd-2.2.11/srclib/apr-util/include/apr_ldap.h:132:2: #error Support for LDAP v2.0 toolkits has been removed from apr-util. Please use an LDAP v3.0 toolkit.
In file included from /work/run4/httpd-2.2.11/srclib/apr-util/include/apr_ldap.h:187,
                 from ldap/apr_ldap_stub.c:20:
/work/run4/httpd-2.2.11/srclib/apr-util/include/apr_ldap_init.h:141: error: parse error before &quot;LDAP&quot;
In file included from /work/run4/httpd-2.2.11/srclib/apr-util/include/apr_ldap.h:188,
                 from ldap/apr_ldap_stub.c:20:
/work/run4/httpd-2.2.11/srclib/apr-util/include/apr_ldap_option.h:219: error: parse error before &quot;LDAP&quot;
/work/run4/httpd-2.2.11/srclib/apr-util/include/apr_ldap_option.h:241: error: parse error before &quot;LDAP&quot;
In file included from /work/run4/httpd-2.2.11/srclib/apr-util/include/apr_ldap.h:189,
                 from ldap/apr_ldap_stub.c:20:
/work/run4/httpd-2.2.11/srclib/apr-util/include/apr_ldap_rebind.h:67: error: parse error before &quot;LDAP&quot;
/work/run4/httpd-2.2.11/srclib/apr-util/include/apr_ldap_rebind.h:82: error: parse error before &#039;*&#039; token
In file included from ldap/apr_ldap_stub.c:21:
/work/run4/httpd-2.2.11/srclib/apr-util/include/private/apu_internal.h:49: error: parse error before &quot;LDAP&quot;
/work/run4/httpd-2.2.11/srclib/apr-util/include/private/apu_internal.h:54: error: parse error before &quot;LDAP&quot;
/work/run4/httpd-2.2.11/srclib/apr-util/include/private/apu_internal.h:56: error: parse error before &quot;LDAP&quot;
/work/run4/httpd-2.2.11/srclib/apr-util/include/private/apu_internal.h:59: error: parse error before &quot;LDAP&quot;
/work/run4/httpd-2.2.11/srclib/apr-util/include/private/apu_internal.h:61: error: parse error before &#039;*&#039; token
ldap/apr_ldap_stub.c:76: error: parse error before &quot;LDAP&quot;
ldap/apr_ldap_stub.c: In function `apr_ldap_init&#039;:
ldap/apr_ldap_stub.c:82: error: `pool&#039; undeclared (first use in this function)
ldap/apr_ldap_stub.c:82: error: (Each undeclared identifier is reported only once
ldap/apr_ldap_stub.c:82: error: for each function it appears in.)
ldap/apr_ldap_stub.c:83: error: `ldap&#039; undeclared (first use in this function)
ldap/apr_ldap_stub.c:83: error: `hostname&#039; undeclared (first use in this function)
ldap/apr_ldap_stub.c:83: error: `portno&#039; undeclared (first use in this function)
ldap/apr_ldap_stub.c:83: error: `secure&#039; undeclared (first use in this function)
ldap/apr_ldap_stub.c:83: error: `result_err&#039; undeclared (first use in this function)
ldap/apr_ldap_stub.c: At top level:
ldap/apr_ldap_stub.c:103: error: parse error before &quot;LDAP&quot;
ldap/apr_ldap_stub.c: In function `apr_ldap_get_option&#039;:
ldap/apr_ldap_stub.c:108: error: `pool&#039; undeclared (first use in this function)
ldap/apr_ldap_stub.c:109: error: `ldap&#039; undeclared (first use in this function)
ldap/apr_ldap_stub.c:109: error: `option&#039; undeclared (first use in this function)
ldap/apr_ldap_stub.c:109: error: `outvalue&#039; undeclared (first use in this function)
ldap/apr_ldap_stub.c:109: error: `result_err&#039; undeclared (first use in this function)
ldap/apr_ldap_stub.c: At top level:
ldap/apr_ldap_stub.c:113: error: parse error before &quot;LDAP&quot;
ldap/apr_ldap_stub.c: In function `apr_ldap_set_option&#039;:
ldap/apr_ldap_stub.c:118: error: `pool&#039; undeclared (first use in this function)
ldap/apr_ldap_stub.c:119: error: `ldap&#039; undeclared (first use in this function)
ldap/apr_ldap_stub.c:119: error: `option&#039; undeclared (first use in this function)
ldap/apr_ldap_stub.c:119: error: `invalue&#039; undeclared (first use in this function)
ldap/apr_ldap_stub.c:119: error: `result_err&#039; undeclared (first use in this function)
ldap/apr_ldap_stub.c: At top level:
ldap/apr_ldap_stub.c:129: error: parse error before &quot;LDAP&quot;
ldap/apr_ldap_stub.c: In function `apr_ldap_rebind_add&#039;:
ldap/apr_ldap_stub.c:133: error: `pool&#039; undeclared (first use in this function)
ldap/apr_ldap_stub.c:134: error: `ld&#039; undeclared (first use in this function)
ldap/apr_ldap_stub.c:134: error: `bindDN&#039; undeclared (first use in this function)
ldap/apr_ldap_stub.c:134: error: `bindPW&#039; undeclared (first use in this function)
ldap/apr_ldap_stub.c: At top level:
ldap/apr_ldap_stub.c:137: error: parse error before &#039;*&#039; token
ldap/apr_ldap_stub.c: In function `apr_ldap_rebind_remove&#039;:
ldap/apr_ldap_stub.c:141: error: `ld&#039; undeclared (first use in this function)
make: 1254-004 The error code from the last command is 1.


Stop.
make: 1254-004 The error code from the last command is 1.


Stop.

How to get rid of these errors?</description>
		<content:encoded><![CDATA[<p>I ran these steps:</p>
<p>cd ../apr-util<br />
make clean<br />
./configure &#8211;prefix=/usr/local/apache2 &#8211;with-apr=../apr \<br />
&#8211;with-ldap-lib=/usr/lib &#8211;with-ldap-include=/usr/include \<br />
&#8211;with-ldap=ldap<br />
make</p>
<p>I got no error in the configure; however, make return<br />
In file included from ldap/apr_ldap_stub.c:20:<br />
/work/run4/httpd-2.2.11/srclib/apr-util/include/apr_ldap.h:132:2: #error Support for LDAP v2.0 toolkits has been removed from apr-util. Please use an LDAP v3.0 toolkit.<br />
In file included from /work/run4/httpd-2.2.11/srclib/apr-util/include/apr_ldap.h:187,<br />
                 from ldap/apr_ldap_stub.c:20:<br />
/work/run4/httpd-2.2.11/srclib/apr-util/include/apr_ldap_init.h:141: error: parse error before &#8220;LDAP&#8221;<br />
In file included from /work/run4/httpd-2.2.11/srclib/apr-util/include/apr_ldap.h:188,<br />
                 from ldap/apr_ldap_stub.c:20:<br />
/work/run4/httpd-2.2.11/srclib/apr-util/include/apr_ldap_option.h:219: error: parse error before &#8220;LDAP&#8221;<br />
/work/run4/httpd-2.2.11/srclib/apr-util/include/apr_ldap_option.h:241: error: parse error before &#8220;LDAP&#8221;<br />
In file included from /work/run4/httpd-2.2.11/srclib/apr-util/include/apr_ldap.h:189,<br />
                 from ldap/apr_ldap_stub.c:20:<br />
/work/run4/httpd-2.2.11/srclib/apr-util/include/apr_ldap_rebind.h:67: error: parse error before &#8220;LDAP&#8221;<br />
/work/run4/httpd-2.2.11/srclib/apr-util/include/apr_ldap_rebind.h:82: error: parse error before &#8216;*&#8217; token<br />
In file included from ldap/apr_ldap_stub.c:21:<br />
/work/run4/httpd-2.2.11/srclib/apr-util/include/private/apu_internal.h:49: error: parse error before &#8220;LDAP&#8221;<br />
/work/run4/httpd-2.2.11/srclib/apr-util/include/private/apu_internal.h:54: error: parse error before &#8220;LDAP&#8221;<br />
/work/run4/httpd-2.2.11/srclib/apr-util/include/private/apu_internal.h:56: error: parse error before &#8220;LDAP&#8221;<br />
/work/run4/httpd-2.2.11/srclib/apr-util/include/private/apu_internal.h:59: error: parse error before &#8220;LDAP&#8221;<br />
/work/run4/httpd-2.2.11/srclib/apr-util/include/private/apu_internal.h:61: error: parse error before &#8216;*&#8217; token<br />
ldap/apr_ldap_stub.c:76: error: parse error before &#8220;LDAP&#8221;<br />
ldap/apr_ldap_stub.c: In function `apr_ldap_init&#8217;:<br />
ldap/apr_ldap_stub.c:82: error: `pool&#8217; undeclared (first use in this function)<br />
ldap/apr_ldap_stub.c:82: error: (Each undeclared identifier is reported only once<br />
ldap/apr_ldap_stub.c:82: error: for each function it appears in.)<br />
ldap/apr_ldap_stub.c:83: error: `ldap&#8217; undeclared (first use in this function)<br />
ldap/apr_ldap_stub.c:83: error: `hostname&#8217; undeclared (first use in this function)<br />
ldap/apr_ldap_stub.c:83: error: `portno&#8217; undeclared (first use in this function)<br />
ldap/apr_ldap_stub.c:83: error: `secure&#8217; undeclared (first use in this function)<br />
ldap/apr_ldap_stub.c:83: error: `result_err&#8217; undeclared (first use in this function)<br />
ldap/apr_ldap_stub.c: At top level:<br />
ldap/apr_ldap_stub.c:103: error: parse error before &#8220;LDAP&#8221;<br />
ldap/apr_ldap_stub.c: In function `apr_ldap_get_option&#8217;:<br />
ldap/apr_ldap_stub.c:108: error: `pool&#8217; undeclared (first use in this function)<br />
ldap/apr_ldap_stub.c:109: error: `ldap&#8217; undeclared (first use in this function)<br />
ldap/apr_ldap_stub.c:109: error: `option&#8217; undeclared (first use in this function)<br />
ldap/apr_ldap_stub.c:109: error: `outvalue&#8217; undeclared (first use in this function)<br />
ldap/apr_ldap_stub.c:109: error: `result_err&#8217; undeclared (first use in this function)<br />
ldap/apr_ldap_stub.c: At top level:<br />
ldap/apr_ldap_stub.c:113: error: parse error before &#8220;LDAP&#8221;<br />
ldap/apr_ldap_stub.c: In function `apr_ldap_set_option&#8217;:<br />
ldap/apr_ldap_stub.c:118: error: `pool&#8217; undeclared (first use in this function)<br />
ldap/apr_ldap_stub.c:119: error: `ldap&#8217; undeclared (first use in this function)<br />
ldap/apr_ldap_stub.c:119: error: `option&#8217; undeclared (first use in this function)<br />
ldap/apr_ldap_stub.c:119: error: `invalue&#8217; undeclared (first use in this function)<br />
ldap/apr_ldap_stub.c:119: error: `result_err&#8217; undeclared (first use in this function)<br />
ldap/apr_ldap_stub.c: At top level:<br />
ldap/apr_ldap_stub.c:129: error: parse error before &#8220;LDAP&#8221;<br />
ldap/apr_ldap_stub.c: In function `apr_ldap_rebind_add&#8217;:<br />
ldap/apr_ldap_stub.c:133: error: `pool&#8217; undeclared (first use in this function)<br />
ldap/apr_ldap_stub.c:134: error: `ld&#8217; undeclared (first use in this function)<br />
ldap/apr_ldap_stub.c:134: error: `bindDN&#8217; undeclared (first use in this function)<br />
ldap/apr_ldap_stub.c:134: error: `bindPW&#8217; undeclared (first use in this function)<br />
ldap/apr_ldap_stub.c: At top level:<br />
ldap/apr_ldap_stub.c:137: error: parse error before &#8216;*&#8217; token<br />
ldap/apr_ldap_stub.c: In function `apr_ldap_rebind_remove&#8217;:<br />
ldap/apr_ldap_stub.c:141: error: `ld&#8217; undeclared (first use in this function)<br />
make: 1254-004 The error code from the last command is 1.</p>
<p>Stop.<br />
make: 1254-004 The error code from the last command is 1.</p>
<p>Stop.</p>
<p>How to get rid of these errors?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: links for 2008-07-20 &#171; /home/servrrockr</title>
		<link>http://brent.kearneys.ca/2006/12/10/building-ldap-authentication-into-apache2/comment-page-1/#comment-210</link>
		<dc:creator>links for 2008-07-20 &#171; /home/servrrockr</dc:creator>
		<pubDate>Sun, 20 Jul 2008 23:30:51 +0000</pubDate>
		<guid isPermaLink="false">http://brent.kearneys.ca/sysadmin/2006/building-ldap-authentication-into-apache2/#comment-210</guid>
		<description>[...] Building LDAP Authentication into Apache2 &#124; brent.kearneys.ca (tags: apache howto ldap)          &#171; links for&#160;2008-07-14 [...]</description>
		<content:encoded><![CDATA[<p>[...] Building LDAP Authentication into Apache2 | brent.kearneys.ca (tags: apache howto ldap)          &laquo; links for&nbsp;2008-07-14 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Alston</title>
		<link>http://brent.kearneys.ca/2006/12/10/building-ldap-authentication-into-apache2/comment-page-1/#comment-209</link>
		<dc:creator>David Alston</dc:creator>
		<pubDate>Wed, 02 Jul 2008 15:54:07 +0000</pubDate>
		<guid isPermaLink="false">http://brent.kearneys.ca/sysadmin/2006/building-ldap-authentication-into-apache2/#comment-209</guid>
		<description>the problem seems to persist through apache 2.2.9 on Solaris.. the solution above works fine with only one correction...

instead of the &quot;--with-ldap&quot; you have to use &quot;--enable-ldap&quot; option.  The former is apparrently depricated (though the source code comments suggest using the old argument)</description>
		<content:encoded><![CDATA[<p>the problem seems to persist through apache 2.2.9 on Solaris.. the solution above works fine with only one correction&#8230;</p>
<p>instead of the &#8220;&#8211;with-ldap&#8221; you have to use &#8220;&#8211;enable-ldap&#8221; option.  The former is apparrently depricated (though the source code comments suggest using the old argument)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brent Kearney</title>
		<link>http://brent.kearneys.ca/2006/12/10/building-ldap-authentication-into-apache2/comment-page-1/#comment-208</link>
		<dc:creator>Brent Kearney</dc:creator>
		<pubDate>Tue, 19 Dec 2006 02:34:00 +0000</pubDate>
		<guid isPermaLink="false">http://brent.kearneys.ca/sysadmin/2006/building-ldap-authentication-into-apache2/#comment-208</guid>
		<description>I believe it is because apr and apr-util don&#039;t get compiled with the --with-ldap option, even when you add it to the top-level apache configure script.  A Makefile error is my guess.

Did you run &#039;make clean&#039; in the srclib/apr and apr-util subdirectories before running ./configure and make in those dirs?  Where in the build process are you encountering problems, and what is the compile-time error?</description>
		<content:encoded><![CDATA[<p>I believe it is because apr and apr-util don&#8217;t get compiled with the &#8211;with-ldap option, even when you add it to the top-level apache configure script.  A Makefile error is my guess.</p>
<p>Did you run &#8216;make clean&#8217; in the srclib/apr and apr-util subdirectories before running ./configure and make in those dirs?  Where in the build process are you encountering problems, and what is the compile-time error?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vincent</title>
		<link>http://brent.kearneys.ca/2006/12/10/building-ldap-authentication-into-apache2/comment-page-1/#comment-207</link>
		<dc:creator>Vincent</dc:creator>
		<pubDate>Mon, 18 Dec 2006 22:16:37 +0000</pubDate>
		<guid isPermaLink="false">http://brent.kearneys.ca/sysadmin/2006/building-ldap-authentication-into-apache2/#comment-207</guid>
		<description>Don&#039;t suppose you have any knowledge as to what might have caused that &quot;hiccough&quot; that you experienced when dealing with version 2.0.5.8 where you had to do a reconfigure/remake?

I&#039;ve been trying to get this authz_ldap module to compile on both 2.2.3 and 2.2 with no success whatsoever, even applying your great steps.</description>
		<content:encoded><![CDATA[<p>Don&#8217;t suppose you have any knowledge as to what might have caused that &#8220;hiccough&#8221; that you experienced when dealing with version 2.0.5.8 where you had to do a reconfigure/remake?</p>
<p>I&#8217;ve been trying to get this authz_ldap module to compile on both 2.2.3 and 2.2 with no success whatsoever, even applying your great steps.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

