[PHP-DEV] Bug #6510 LDAP From: Joshua Brindle (jbrindle <email protected>)
Date: 08/15/00

Sniper, looks like there are more problems
i downloaded the cvs tree and compiled a CGI version with ONLY ldap support and got a segfault when trying to do ldap_bind, here is the backtrace

#0 0x0 in ?? ()
#1 0x40024900 in ber_pvt_sb_write (sb=0x8136b58, buf=0x8136f58, len_arg=14)
    at /backup/smp/ccm_wa/idc_n4u/cldap/libraries/liblber/sockbuf.c:636
#2 0x40023747 in ber_flush (sb=0x8136b58, ber=0x8136ef8, freeit=0)
    at /backup/smp/ccm_wa/idc_n4u/cldap/libraries/liblber/io.c:272
#3 0x80d267c in ldap_send_server_request (ld=0x8136b58, ber=0x8136ef8,
    msgid=1, parentreq=0x0, srvlist=0x0, lc=0x0, bind=0) at request.c:265
#4 0x80d24d2 in ldap_send_initial_request (ld=0x8136b58, msgtype=96,
    dn=0x80f4bd3 "", ber=0x8136ef8) at request.c:179
#5 0x80d167f in ldap_simple_bind (ld=0x8136b58, dn=0x80f4bd3 "", passwd=0x0)
    at sbind.c:79
#6 0x80d16c0 in ldap_simple_bind_s (ld=0x8136b58, dn=0x0, passwd=0x0)
    at sbind.c:101
#7 0x80ce664 in ldap_bind_s (ld=0x8136b58, dn=0x0, passwd=0x0, authmethod=128)
    at bind.c:98
#8 0x80634fd in php_if_ldap_bind (ht=1, return_value=0x81361b4, this_ptr=0x0,
    return_value_used=1) at ldap.c:435
#9 0x80c8cb2 in execute (op_array=0x8136afc) at ./zend_execute.c:1519
#10 0x80aaba7 in zend_execute_scripts (type=8, file_count=3) at zend.c:712
#11 0x805bf15 in php_execute_script (primary_file=0xbffffa34) at main.c:1166
#12 0x805a961 in main (argc=2, argv=0xbffffa94) at cgi_main.c:709

this was actually working before, the configure line i used was
./configure --with-ldap --without-mysql --without-gd --without-xml --disable-pear --disable-debug

Thanks for any help once again ;)
oh yea, prior to this i compiled and installed openldap 1.2.11 once again.

    Joshua