Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#9027 - apr-util and apache2 does not include ldap support

Attached to Project: Arch Linux
Opened by Miguel A. Laguna (malaguna) - Friday, 28 December 2007, 08:33 GMT
Last edited by Aaron Griffin (phrakture) - Wednesday, 09 July 2008, 16:23 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Pierre Schmitz (Pierre)
Architecture i686
Severity Low
Priority Normal
Reported Version 2007.08-2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No



I found apache comes without LDAP and LDAP support authentication. I downloaded PKGBUILD files of apr-util and apache and rebuild these packages such way now I can load the LDAP modules and authenticate my users using LDAP.

Is there any reason to exclude LDAP support from apache? If not I would like this feature was included. Apache LDAP is now working perfectly for me (and my organization).

Additional info:

It is necessary to include a new dependency on libldap package on apr-utils PKGBUILD. In order to compile both packages it is necesary too download openldap source code.

Here it is my changes to configure section of apr-util PKGBUILD

./configure --prefix=/usr --with-apr=/usr \
--without-pgsql --without-mysql --without-sqlite2 --without-sqlite3 \
--with-berkeley-db=/usr --with-gdbm=/usr \
--with-ldap=ldap \
--with-ldap-include=/path/to/openldap-2.3.39 \

And here it is my changes to configure section of apache PKGBUILD

./configure --prefix=/usr --enable-layout=RedHat --datadir=/home/httpd \
--enable-modules=all --enable-mods-shared=all \
--enable-ssl --enable-so --enable-authnz-ldap --enable-ldap \
--enable-proxy --enable-proxy-connect --enable-proxy-ftp \
--enable-proxy-http --enable-suexec --enable-dbd \
--enable-cache --enable-disk-cache --enable-mem-cache \
--with-apr=/usr --with-apr-util=/usr \
--with-ldap --with-ldap-sdk=openldap

There is no other changes needed.
This task depends upon

Closed by  Aaron Griffin (phrakture)
Wednesday, 09 July 2008, 16:23 GMT
Reason for closing:  Deferred
Comment by Aaron Griffin (phrakture) - Thursday, 19 June 2008, 18:13 GMT
Pierre, status? Do you want ldap support or not? Feel free to close