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

Re: (ITS#4180) slapd (back-sql) hangs/segfaults on SASL bind



On 18 Nov 2005 at 1:46, Pierangelo Masarati wrote:

> On Thu, 2005-11-17 at 17:05 -0700, Nels Lindquist wrote:
> > I'll leave this gdb session open in case there's anything else you'd 
> > like me to poke at.
> > 
> 
> Well, run a "bt full" from inside that core; you'll see, at
> slap_sasl_authorize, the "auxvals" var, much like I'm showing here below
> (everything is going fine for me, though).  Can you post that?

Definitely something weird.  Here we go:

#3  0x080fc700 in lutil_debug (debug=7, level=1191210597, 
fmt=0x8123fc8 "==>slap_sasl_authorized: can %s become %s?\n") at 
debug.c:83 buffer = "==>slap_sasl_authorized: can cn=nels 
lindquist,o=maei,c=ca become ze [conn=0]: authcid=\"nels\" 
authzid=\"nels\"\n", '\0' <repeats 1527 times>, 
"d\036w\000Ä\202\035·\204|\035·%ôj\000Ä\202\035·d\036w\000\a\000\000\0
00\ a\000\000\000d\036w", '\0' <repeats 13 times>, 
"\213Çj\000\000\000\000\000%Ü\233\000\000\000\000\000¨\202\035·Þ6i\000
Ä\2 02\035·%Ü\233", '\0' <repeats 25 times>...  
#4  0x080938cf in slap_sasl_authorized (op=0x9b13798, authcDN=0xb71d8658, 
    authzDN=0xb71d8650) at saslauthz.c:2073
        rc = 0
#5  0x080975c5 in slap_sasl_authorize (sconn=0x9afad18, context=0x9b34710, 
    requested_user=0x9afb628 "nels", rlen=4, auth_identity=0x9afb729 "nels", 
    alen=4, def_realm=0x0, urlen=0, props=0x9b0d310) at sasl.c:692
        auxvals = {{name = 0x81247b3 "*slapAuthcDN", values = 0x9b11394, 
    nvalues = 1, valsize = 8}, {name = 0x81247c0 "*slapAuthzDN", 
    values = 0x9b113ac, nvalues = 1, valsize = 6}, {
    name = 0x9bdcf3 "*userPassword", values = 0x9b1139c, nvalues = 1, 
    valsize = 6}}
        authcDN = {bv_len = 29, 
  bv_val = 0xb6cfd7b0 "cn=nels lindquist,o=maei,c=ca"}
        authzDN = {bv_len = 1685217607, 
  bv_val = 0x47006e65 <Address 0x47006e65 out of bounds>}
        rc = 0

----
Nels Lindquist <*>
Information Systems Manager
Morningstar Air Express Inc.