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

Segmentation fault with ldapsearch and sasl



Hi,

 

I’ve been following http://www.bayour.com/LDAPv3-HOWTO.html and I’m getting a segmentation fault and the only relevant thing I have found is a patch from 2000 which I’ve been unable to apply, though I suspect it might be a little old to use.  Everything has passed the tests right up to the point where I check openldap with Kerberos.

 

Command run:

# ldapsearch -H ldap:/// -I -b "" -s base -LLL supportedSASLMechanisms

 

(Kerberos ticket has not expired)

 

I have:

openldap 2.2.20

cyrus sasl 2.1.20

Kerberos V 1.4

Slackware 10.1

 

Last few lines of slapd:

slap_parseURI: parsing uid=admin,ou=Users,dc=mediasurfcae,dc=com

ldap_url_parse_ext(uid=admin,ou=Users,dc=mediasurfcae,dc=com)

>>> dnNormalize: <uid=admin,ou=Users,dc=mediasurfcae,dc=com>

=> ldap_bv2dn(uid=admin,ou=Users,dc=mediasurfcae,dc=com,0)

ldap_err2string

<= ldap_bv2dn(uid=admin,ou=Users,dc=mediasurfcae,dc=com)=0 Success

=> ldap_dn2bv(272)

ldap_err2string

<= ldap_dn2bv(uid=admin,ou=users,dc=mediasurfcae,dc=com)=0 Success

<<< dnNormalize: <uid=admin,ou=users,dc=mediasurfcae,dc=com>

<==slap_sasl2dn: Converted SASL name to uid=admin,ou=users,dc=mediasurfcae,dc=co

m

getdn: dn:id converted to uid=admin,ou=users,dc=mediasurfcae,dc=com

SASL Canonicalize [conn=0]: slapAuthcDN="uid=admin,ou=users,dc=mediasurfcae,dc=c

om"

/etc/sasldb2

Segmentation fault

 

I’d greatly appreciate any help.

 

Rob.