httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 29733] New: - Server crashes when authenticating users against LDAP server
Date Tue, 22 Jun 2004 12:02:23 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29733>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29733

Server crashes when authenticating users against LDAP server

           Summary: Server crashes when authenticating users against LDAP
                    server
           Product: Apache httpd-2.0
           Version: 2.0.49
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: Major
          Priority: Other
         Component: mod_auth_ldap
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: bvillora@banesto.es


Downloaded Apache 2.0.49
I configured with the options:
./configure --prefix=/opt/APACHE2  \
--with-mpm=worker \
--enable-mods-shared=all \
--enable-ssl=shared \
--with-ssl=/usr/local/ssl \
--enable-rewrite=shared \
--enable-proxy=shared \
--enable-ldap=shared \
--enable-auth-ldap=shared \
--enable-mod_logio=shared

It compiled and installed ok, then i configured authenticating users against 
LDAP server:
<Directory /export/www/datos>
        AuthType Basic
        AuthName "Auth LDAP"
        AuthLDAPEnabled on
        AuthLDAPURL "ldap://mi.organizacion.es/ou=People,o=Organizacion.es?uid?
sub
        AuthLDAPAuthoritative on
       require valid-user
       AllowOverride      None
       order              allow,deny
       allow              from all
</Directory>

Now when i run (apachectl startssl) it crash.
I get: 
# apachectl startssl
Segmentation Fault - core dumped

I run (gdb httpd core) and then i run where,i get:

#0  0xfecb31d0 in strlen () from /usr/lib/libc.so.1
#1  0xff00a97c in apr_pstrdup (a=0x7cd38, s=0x2 <Address 0x2 out of bounds>)
    at apr_strings.c:76
#2  0xfeac2a60 in mod_auth_ldap_parse_url (cmd=0xffbefa10, config=0xbacd0, 
    url=0xbadb0 "ldap://develop.banesto.es /ou=People,o=banesto.es?uid?sub")
    at mod_auth_ldap.c:761
#3  0x34da4 in invoke_cmd (cmd=0xfead49d0, parms=0xffbefa10, mconfig=0xbacd0, 
    args=0xb318a "") at config.c:660
#4  0x35408 in ap_walk_config_sub (current=0xb3130, parms=0xffbefa10, 
    section_vector=0xba878) at config.c:1048
#5  0x354a4 in ap_walk_config (current=0xb3130, parms=0xffbefa10, 
    section_vector=0xba878) at config.c:1087
#6  0x45434 in dirsection (cmd=0xffbefa10, mconfig=0x97650, arg=0xbaa63 "")
    at core.c:1643
#7  0x34da4 in invoke_cmd (cmd=0x5c8c4, parms=0xffbefa10, mconfig=0x97650, 
    args=0xb3028 "/export/servicios/www/obtencion_datos_transacciones>")
    at config.c:660
#8  0x35408 in ap_walk_config_sub (current=0xb3008, parms=0xffbefa10, 
    section_vector=0x97540) at config.c:1048
#9  0x354a4 in ap_walk_config (current=0xb3008, parms=0xffbefa10, 
    section_vector=0x97540) at config.c:1087
#10 0x3612c in ap_process_config_tree (s=0x96f68, conftree=0xb3008, p=0x7cd38, 
    ptemp=0xa8de8) at config.c:1621
#11 0x38868 in main (argc=4, argv=0xffbefb54) at main.c:538

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message