LDAP tools with SASL Auth causes Segmentation Fault

Matthew Daggett mpdaggett at yahoo.com
Fri Nov 24 16:19:21 EST 2006


I am running openldap 2.2.23 and cyrus-sasl 2.1.22 on redhat fedora core 4.
I am running into the following problem...

Whenever I run an ldap tool (ldapwhoami, ldapsearch, etc) with SASL authentication, it ends with a segmentation fault.
Using simple authentication, however, does not cause any errors.
Here is an example...

# ldapwhoami -U myusername
SASL/DIGEST-MD5 authentication started
Please enter your password:
SASL username: myusername
SASL SSF: 128
SASL installing layers
dn:uid=myusername,ou=users,dc=mydomain,dc=com
Segmentation fault

I ran it through gdb to find out more info and I got the following...

Program received signal SIGSEGV, Segmentation fault.
0xb7c6b6f2 in free () from /lib/libc.so.6

As you can see, the authentication completes successfully, but the program causes a segmentation fault when trying to free up memory.
The function is free() from the glibc library of which I have glibc 2.3.6 installed. 

Any ideas why this is happening???

Matt


 
____________________________________________________________________________________
Want to start your own business?
Learn how on Yahoo! Small Business.
http://smallbusiness.yahoo.com/r-index
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.andrew.cmu.edu/mailman/private/cyrus-sasl/attachments/20061124/2b99fba2/attachment.html


More information about the Cyrus-sasl mailing list