Summary: | Apache2 mod_auth_ldap is not working | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Benjamin Smee (strerror) (RETIRED) <strerror> |
Component: | New packages | Assignee: | Chuck Short (RETIRED) <zul> |
Status: | RESOLVED FIXED | ||
Severity: | major | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Benjamin Smee (strerror) (RETIRED)
![]() What openldap version are you using? 2.1.30 but i have the same problem with 2.1.26 Which version of apache? * net-www/apache Latest version available: 2.0.49-r1 Latest version installed: 2.0.49-r2 Size of downloaded files: 5,780 kB Homepage: http://www.apache.org/ Description: Apache Web Server, Version 2.0. i had the same problem with apache-2.0.49 Can you do a ldd on mod_auth_ldap.so. Thanks # ldd /usr/lib/apache2-extramodules/mod_auth_ldap.so linux-gate.so.1 => (0xffffe000) libpthread.so.0 => /lib/libpthread.so.0 (0x4d266000) libc.so.6 => /lib/libc.so.6 (0x4d0e0000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000) sorry about the delay was away for a bit This problem is still persisting in the latest ebuilds. Any progress on tracking down what is wrong? what is in your /etc/conf.d/apache2? chuck Everything is at the default except for this line: APACHE2_OPTS="-D SSL -D AUTH_LDAP" Can you post a full emerge log. Thanks Add -D LDAP to your /etc/conf.d/apache2 before the -D AUTH_LDAP. I was able to reproduce it adding the -D LDAP gets rid of the error message. - why do i have to install apache1 if i just want to use it w/ apache2? can someone check the ebuild/depends/flags plz ... - maybe we can make a separat ebuild for the apache2 version ... it is a own tar-ball, another version-number - it is just a different package ... - in somehow the mod_auth_ldap-2.4.2 works not for me w/ apache2 - http://www.muquit.com/muquit/software/mod_auth_ldap/mod_auth_ldap_apache2.html <snip> root@porkoo ~ # ===> emerge -vp mod_auth_ldap These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] dev-libs/mm-1.3.0 220 kB [ebuild N ] net-www/apache-1.3.31-r3 +pam 3,146 kB [ebuild N ] net-www/mod_auth_ldap-2.4.2 18 kB Total size of downloads: 3,385 kB </snap> <snip> root@porkoo ~ # ===> etcat -v apache [ Results for search key : apache ] [ Candidate applications found : 8 ] Only printing found installed programs. * net-www/apache : [ ~ ] 1.3.29-r2 (1) [ ] 1.3.31 (1) [ ] 1.3.31-r1 (1) [ ] 1.3.31-r2 (1) [ ] 1.3.31-r3 (1) [ ] 2.0.49-r3 (2) [ ] 2.0.49-r4 (2) [ I] 2.0.50 (2) </snap> with an 'emerge -O mod_auth_ldap' of course we have this error ... <snip> ... >>> Unpacking source... >>> Unpacking mod_auth_ldap-2.4.2.tar.bz2 to /var/tmp/portage/mod_auth_ldap-2.4.2/work patching file mod_auth_ldap.c >>> Source unpacked. /usr/lib/portage/bin/ebuild.sh: line 29: apxs: command not found !!! ERROR: net-www/mod_auth_ldap-2.4.2 failed. !!! Function src_compile, Line 29, Exitcode 127 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. </snap> ignore #12 :( - mod_auth_ldap is included in apache since 2.0.41 :) - sorry this bug should be closed, the original problem that I opened it for was solved by ensuring that the -AUTH_LDAP was preceded by a -LDAP, apart from noting that in the documentation or perhaps in an example line in /etc/conf.d/apache, this bug is closed. |