[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: slapd crashed when connections from MS Outlook Express (ITS#21)



Please apply:
http://www.OpenLDAP.org/devel/cvsweb.cgi/servers/slapd/back-ldbm/search.c.diff?r1=1.7.2.6&r2=1.7.2.7

Then please duplicate it using ldapsearch, preferrable using one of the test databases.

% cd tests
% ../servers/slapd/slapd -d 1 -p 9009 data/slapd-master.conf >& master.log &
% ldapsearch -h localhost -p 9009 -v -d 1 ...

then:
% gdb ../servers/slapd/slapd core
(gdb) bt

Thanks.

At 11:12 PM 12/24/98 GMT, afm@othello.ch wrote:
>
>On Thu, 24 Dec 1998 stna@yahoo.com wrote:
>> Full_Name: Nickolas Stanchenko
>> Version: 1.1
>> OS: Redhat Linux 2.0.36
>> URL: ftp://ftp.openldap.org/incoming/
>> Submission from: (NULL) (195.14.43.67)
>>
>> When I tried find people from MS Outlook Express, I got following results:
>Same Result when quering slapd from ud:
>
>At the beginning we do a cb to "o=Siber Hegner, c=CH" from within
>ud:
>+ lear:/usr/home/afm # /usr/local/libexec/slapd -d 1 -f /usr/local/etc/openldap/slapd.conf
>+ slapd 1.1-Release (Thu Dec 24 13:22:32 MET 1998)
>+         afm@lear:/usr/home/afm/Sources/ldap/servers/slapd
>+ slapd starting
>+ do_bind
>+ do_bind: version 2 dn () method 128
>+ send_ldap_result 0::
>+ do_search
>+ <= dereferencing dn o=Siber Hegner,c=CH
>+ dn2entry_r: dn: o=Siber Hegner,c=CH
>+ => dn2id( "o=Siber Hegner,c=CH" )
>+ => ldbm_cache_open( "/usr/tmp/dn2id.dbb", 66, 600 )
>+ <= ldbm_cache_open (opened 0)
>+ <= dn2id 3
>+ => id2entry_r( 3 )
>+ => ldbm_cache_open( "/usr/tmp/id2entry.dbb", 66, 600 )
>+ <= ldbm_cache_open (opened 1)
>+ => str2entry
>+ <= str2entry 0x807fda0
>+ <= id2entry_r( 3 ) (disk)
>+ ====> cache_return_entry_r
>+ dn2entry_r: dn: o=Siber Hegner,c=CH
>+ => dn2id( "o=Siber Hegner,c=CH" )
>+ => ldbm_cache_open( "/usr/tmp/dn2id.dbb", 66, 600 )
>+ <= ldbm_cache_open (cache 0)
>+ <= dn2id 3
>+ => id2entry_r( 3 )
>+ ====> cache_find_entry_dn2id: found id: 3 rw: 0
>+ <= id2entry_r 0x807fda0 (cache)
>+ <= checking for alias for dn o=Siber Hegner, c=CH
>+ ====> cache_return_entry_r
>+ <= returning deref DN of  o=Siber Hegner, c=CH
>+ using base o=Siber Hegner,c=CH
>+ base_candidates: base: o=Siber Hegner,c=CH
>+ dn2entry_r: dn: o=Siber Hegner,c=CH
>+ => dn2id( "o=Siber Hegner,c=CH" )
>+ => ldbm_cache_open( "/usr/tmp/dn2id.dbb", 66, 600 )
>+ <= ldbm_cache_open (cache 0)
>+ <= dn2id 3
>+ => id2entry_r( 3 )
>+ ====> cache_find_entry_dn2id: found id: 3 rw: 0
>+ <= id2entry_r 0x807fda0 (cache)
>+ ====> cache_return_entry_r
>+ => id2entry_r( 3 )
>+ ====> cache_find_entry_dn2id: found id: 3 rw: 0
>+ <= id2entry_r 0x807fda0 (cache)
>+ <= checking for alias for dn o=Siber Hegner, c=CH
>+ ====> cache_return_entry_r
>+ => send_search_entry (o=Siber Hegner, c=CH)
>+ <= send_search_entry
>+ ====> cache_return_entry_r
>+ send_ldap_result 0::
>
>Now we send the search query (uid=stucker):
>+ do_search
>+ Segmentation fault
>+ lear:/usr/home/afm #
>There exists an object with dn "uid=stucker,o=Siber  Hegner,c=CH"
>in  the  directory.   No  problem  when  doing  the  search  from
>ldapsearch or many other tools.
>
>                                        Andreas Mueller
>
>--
>Dr. Andreas Mueller, Beratung und Entwicklung
>Bubental 53,              CH - 8852 Altendorf
>Email:             andreas.mueller@othello.ch
>Voice: +41 55 4621483     Fax: +41 55 4621485
>
>
>
>
>