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

dnNormalize2 failed assertion (sasl_regexp?)



Hey all,

  My slapd is crashing with the following message:
slapd: /data1/sfrost/debs/openldap21/openldap21-2.1.12/servers/slapd/dn.c:379: dnNormalize2: Assertion `strlen( val->bv_val ) == val->bv_len' failed.

  This is running 2.1.12 (obviously).  Prior to this is:

>>> dnPrettyNormal: <>
<<< dnPrettyNormal: <>, <>
do_sasl_bind: dn () mech GSSAPI
==> sasl_bind: dn="" mech=<continuing> datalen=113
SASL Canonicalize [conn=2]:
authzid="dn:uid=sfrost/ldap,cn=SNOWMAN.NET,cn=gssapi,cn=auth"
slap_sasl_getdn: id=dn:uid=sfrost/ldap,cn=SNOWMAN.NET,cn=gssapi,cn=auth
>>> dnNormalize: <uid=sfrost/ldap,cn=SNOWMAN.NET,cn=gssapi,cn=auth>
=> ldap_bv2dn(uid=sfrost/ldap,cn=SNOWMAN.NET,cn=gssapi,cn=auth,0)
<= ldap_bv2dn(uid=sfrost/ldap,cn=SNOWMAN.NET,cn=gssapi,cn=auth,0)=0

  There's a post regarding some issue with sasl_regexp previously back
  in March of 2002 with a patch but it looks like an attempt was made to
  fix it in another way.  The other post is at:

http://www.openldap.org/lists/openldap-devel/200203/msg00110.html

  This is using 2.4.20 under Debian/unstable.  Any thoughts?  I'd really
  like to get this working...

  	Thanks,

		Stephen

Attachment: pgpBWQLHKayaa.pgp
Description: PGP signature