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

Re: Segmentation Fault with SASL DIGEST-MD5 authentication



Chris, Tony,

thanks for your suggestions, but I checked:

[root@notebook1 libexec]# ldd slapd
        libnsl.so.1 => /lib/libnsl.so.1 (0x4001e000)
        libm.so.6 => /lib/libm.so.6 (0x40033000)
        libutil.so.1 => /lib/libutil.so.1 (0x40054000)
        libsasl2.so.2 => /usr/local/lib/libsasl2.so.2
(0x40057000)
        libssl.so.0.9.7 =>
/usr/local/ssl/lib/libssl.so.0.9.7 (0x40069000)
        libcrypto.so.0.9.7 =>
/usr/local/ssl/lib/libcrypto.so.0.9.7 (0x40098000)    
   libcrypt.so.1 => /lib/libcrypt.so.1 (0x4018c000)
        libresolv.so.2 => /lib/libresolv.so.2
(0x401ba000)
        libdl.so.2 => /lib/libdl.so.2 (0x401cb000)
        libpthread.so.0 => /lib/libpthread.so.0
(0x401ce000)
        libc.so.6 => /lib/libc.so.6 (0x4021f000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2
(0x40000000)

slapd was compiled to use Berkeley-4.1 but ldd didn't
show up. On the  other hand I *did* find via lsof that
slapd was indeed referring to old versions of libdb as
well as conflicting versions of libsasl!

I'll have to work on this one.

Thanks
Chee Wai

--- Christian Jung <Christian.Jung@wanadoo.fr> wrote:
> Hi!
> 
> Just some help: If you've compiled OpenLDAP to use
> e.g. SleepyCat BDB 
> 4.1.25 and you're running an older version of BDB on
> your system, you 
> should compile BDB with the configure-option
> --with-uniquenames and 
> supply OpenLDAP with the correct include-files which
> have to be 
> installed in another place than the ones of the old
> BDB.
> 
> So there won't be a symbol-clash which results in a
> segmentation fault 
> as it was stated by Tony.
> 
> Hope this helps. :)
> 
> 
> Chris
> 
> 
> Tony Earnshaw schrieb:
> > tor, 24.04.2003 kl. 10.17 skrev Chee Wai Yeung:
> > 
> > 
> >>Now when I run:
> >>
> >>ldapsearch -d100 -U user@example.com -b
> >>'dc=example,dc=com' -h localhost 'uid=user'
> >>
> >>I got:
> >>
> >>request 1 done
> >>SASL/DIGEST-MD5 authentication started
> >>request 2 done
> >>Segmentation fault
> >>
> >>The slapd is *still* running. Now if I simply run
> >>
> >>ldapsearch -D 'cn=Manager,dc=example,dc=com' -b
> >>'dc=example,dc=com' -x -h localhost -W 'uid=user'
> >>
> >>(after supplying the password) I got the search
> >>results.
> > 
> > 
> > Do ldd on the slapd binary and double check that
> it's not linked with
> > conflicting libraries. This happened to me a
> couple of versions back,
> > and it was due to conflicting BDB libraries, but
> it could just as well
> > be the SASL libraries or Openssl (the latter
> especially if you've
> > upgraded from 0.9.6 to 0.9.7.)
> > 
> > Best,
> > 
> > Tony
> > 
> 


__________________________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo
http://search.yahoo.com