DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18756>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18756

Apache core dump when using LDAP authentification.





------- Additional Comments From [EMAIL PROTECTED]  2003-11-10 16:50 -------
results when using the new patch (from Matthieu):

system:
SunOS 5.8 Generic_108528-23 sun4u sparc SUNW,UltraAX-i2
OpenSSL 0.9.7c
OpenLdap 2.1.23
Apache 2.0.48

this time i even have to use the LDAPSharedCacheFile statement
to enable the LDAP Cache, my settings:

   LDAPCacheEntries 1024
   LDAPCacheTTL 600
   LDAPOpCacheEntries 1024
   LDAPOpCacheTTL 600
   LDAPSharedCacheFile logs/ldap_cache_file

if i do not use this tag, the ldap-cache will not become initialized (verified 
with ldap-status) but authentication works ok.

nevertheless enabling the ldap-cache and authenticating a user with the 
correct password results in the following message in the error log

[Fri Nov 07 22:20:31 2003] [notice] child pid 29464 exit signal Bus error 
(10), possible coredump in /opt/httpd

backtrage of core file:

(gdb) bt
#0  util_ald_create_cache (st=0x1eab08, hashfunc=0x49b90 
<util_ldap_search_node_hash>, 
    comparefunc=0x49ba8 <util_ldap_search_node_compare>, copyfunc=0x49bc8 
<util_ldap_search_node_copy>, 
    freefunc=0x49cfc <util_ldap_search_node_free>) at util_ldap_cache_mgr.c:330
#1  0x4a44c in util_ald_create_caches (st=0x1eab08, 
    url=0x1db410 "ldap://host:389/CN=Users,DC=part1,DC=part2?sAMAccountName?
one?(objectClass=person)") at util_ldap_cache_mgr.c:258
#2  0x48f24 in util_ldap_cache_checkuserid (r=0x30dd90, ldc=0x20db28, 
    url=0x1db410 "ldap://host:389/CN=Users,DC=part1,DC=part2?sAMAccountName?
one?(objectClass=person)", basedn=0x1db480 "CN=Users,DC=part1,DC=part2", 
scope=1, attrs=0x1db4a0, 
    filter=0xfe2018f0 "(&(objectClass=person)(sAMAccountName=username))", 
bindpw=0x30faef "password", 
    binddn=0xfe2018e8, retvals=0xfe2018e4) at util_ldap.c:764
#3  0x4b228 in mod_auth_ldap_check_user_id (r=0x30dd90) at mod_auth_ldap.c:366
#4  0xab174 in ap_run_check_user_id (r=0x30dd90) at request.c:112
#5  0xabac0 in ap_process_request_internal (r=0x30dd90) at request.c:235
#6  0x77f90 in ap_process_request (r=0x30dd90) at http_request.c:286
#7  0x73378 in ap_process_http_connection (c=0x2e6890) at http_core.c:293
#8  0x9f66c in ap_run_process_connection (c=0x2e6890) at connection.c:85
#9  0x9f958 in ap_process_connection (c=0x2e6890, csd=0x2e67a0) at 
connection.c:211
#10 0x90964 in process_socket (p=0x2e6890, sock=0x2e67a0, my_child_num=0, 
my_thread_num=3, 
    bucket_alloc=0x2f7d88) at worker.c:632
#11 0x91044 in worker_thread (thd=0x1eb510, dummy=0x3) at worker.c:946
#12 0xff275d84 in dummy_worker (opaque=0x1eb510) at thread.c:127

if anyone needs more informations or if i should test anything feel free to 
ask...

have a nice day,
   MarkuS

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to