mod_auth_ldap not possible to integrate into apache 1.3 , 2.2.26 , solaris 8
From: Angel Alejandro Vega Soto (alejandro.vega_at_tecinfocon.com.mx)
Date: 10/24/05
- Previous message: Marco Broglia: "device configuration problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: Sunmanagers <sunmanagers@sunmanagers.org> Date: Mon, 24 Oct 2005 11:01:45 -0500
hello managers, I've have a problem that has been troubling me for the
last 7 days, I've been asked to put two additional modules into our
productive environment mod_ldap and mod_auth_ldap.
SunFire V880 running Solaris 8 HW 5/03 s28s_hw2wos_06a SPARC
Copyright 2003 Sun Microsystems, Inc. All Rights Reserved.
Assembled 30 April 2003
running ./httpd -v
Server version: Apache/1.3.29 (Unix)
Server built: Nov 6 2003 16:43:31
with the following integrated modules: Compiled-in modules:
http_core.c
mod_env.c
mod_log_config.c
mod_mime.c
mod_negotiation.c
mod_status.c
mod_include.c
mod_autoindex.c
mod_dir.c
mod_cgi.c
mod_asis.c
mod_imap.c
mod_actions.c
mod_userdir.c
mod_alias.c
mod_access.c
mod_auth.c
mod_so.c
mod_setenvif.c
suexec: disabled; invalid wrapper /usr/apache/bin/suexec
Apache was compiled with gcc version 2.95.3 20010315 (release) with the
following parameters, [root@hostname bin]$./httpd -V
Server version: Apache/1.3.29 (Unix)
Server built: Nov 6 2003 16:43:31
Server's Module Magic Number: 19990320:15
Server compiled with....
-D EAPI
-D HAVE_MMAP
-D USE_MMAP_SCOREBOARD
-D USE_MMAP_FILES
-D HAVE_FCNTL_SERIALIZED_ACCEPT
-D HAVE_SYSVSEM_SERIALIZED_ACCEPT
-D HAVE_PTHREAD_SERIALIZED_ACCEPT
-D DYNAMIC_MODULE_LIMIT=64
-D HARD_SERVER_LIMIT=256
-D HTTPD_ROOT="/usr/apache"
-D SUEXEC_BIN="/usr/apache/bin/suexec"
-D DEFAULT_PIDLOG="/var/run/httpd.pid"
-D DEFAULT_SCOREBOARD="/var/run/httpd.scoreboard"
-D DEFAULT_LOCKFILE="/var/run/httpd.lock"
-D DEFAULT_ERRORLOG="/var/apache/logs/error_log"
-D TYPES_CONFIG_FILE="/etc/apache/mime.types"
-D SERVER_CONFIG_FILE="/etc/apache/httpd.conf"
-D ACCESS_CONFIG_FILE="/etc/apache/access.conf"
-D RESOURCE_CONFIG_FILE="/etc/apache/srm.conf"
additional modules were added with apxs with no problem like
AddModule mod_perl.c
AddModule mod_php4.c
AddModule mod_jk.c
AddModule mod_headers.c
AddModule mod_rewrite.c
AddModule mod_ldap.c
mod_ldap is mod_ldap-1.8, but the problems come when trying to install
mod_auth_ldap, I've tried two versions the mod_auth_ldap Release 2.4.2].
and the new mm_mod_auth_ldap3.06 , I've been successfull at compiling
them, adding at the apxs the -I/opt/openldap/include -L/opt/openldap/lib
-lldap directives, however when I make a apachectl configtest it always
returns me something like this
Can't locate API module structure `auth_ldap_module' in
file /usr/apache/libexec/mod_auth_ldap.so:
ld.so.1: /usr/apache/bin/httpd: fatal: auth_ldap_module: can't find
symbol
or a __eprintf symbol not found, I've googled and says that gcc 2.95
cant create correct libraries on solaris, when using with solaris ld
i recompile mod_ldap and instead of using ld -G y used gcc -shared
and it works, but using the same aproach at mod_auth_ldap does not work.
I've passed the directive -D_WITH_EEPRINTF at gcc and no progress is
made.
recompile everithing using forte is not likely, the ones who have
implemented mod_auth_ldap with apache 1.3 , gcc-2.95 any input is
aprecitated.
I've googled but found not direct answer
I will sumarize, thanks !
-- Ing. Cngel Alejandro Vega Soto (52)55-23-19-75 TecnologC-a InformC!tica y ConsultorC-a (52)53-36-95-28 alejandro.vega@tecinfocon.com.mx http://www.tecinfocon.com.mx Gerente de Servicio, Solaris - Linux, Software and protocols specialist _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers
- Previous message: Marco Broglia: "device configuration problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|