Re,
and here are more details w/ backtrace after installing slapd-dbg :
517f9323 bdb_modify_internal: 0x000002fd: cn=g1,ou=groups,dc=example,dc=org
Breakpoint 1, modify_add_values (e=e@entry=0x7ffff0f507e0,
mod=mod@entry=0x7ffff87da880, permissive=1,
text=text@entry=0x7ffff0f50c50, textbuf=textbuf@entry=0x7ffff0f50830
"\030", textlen=textlen@entry=256) at ../../../../servers/slapd/mods.c:41
41 in ../../../../servers/slapd/mods.c
(gdb) p *mod
$10 = {sm_desc = 0x7ffff832bb20, sm_values = 0x7ffff8765760, sm_nvalues
= 0x7ffff87da8c0, sm_numvals = 1, sm_op = 0, sm_flags = 1, sm_type =
{bv_len = 6, bv_val = 0x7ffff82ee5c0 "member"}}
(gdb) p *(mod->sm_values)
$11 = {bv_len = 0, bv_val = 0x0}
(gdb) bt
#0 modify_add_values (e=e@entry=0x7ffff0f507e0,
mod=mod@entry=0x7ffff87da880, permissive=1,
text=text@entry=0x7ffff0f50c50, textbuf=textbuf@entry=0x7ffff0f50830
"\030", textlen=textlen@entry=256) at ../../../../servers/slapd/mods.c:41
#1 0x00007ffff32110fb in hdb_modify_internal
(op=op@entry=0x7ffff0f50ca0, tid=0x7ffff82db2d0, modlist=<optimized
out>, e=e@entry=0x7ffff0f507e0, text=text@entry=0x7ffff0f50c50,
textbuf=textbuf@entry=0x7ffff0f50830 "\030", textlen=textlen@entry=256)
at modify.c:137
#2 0x00007ffff3211df3 in hdb_modify (op=0x7ffff0f50ca0,
rs=0x7ffff0f50c30) at modify.c:638
#3 0x00007ffff7f801c6 in overlay_op_walk (op=op@entry=0x7ffff0f50ca0,
rs=0x7ffff0f50c30, which=op_modify, oi=0x7ffff8325c90, on=0x0) at
../../../../servers/slapd/backover.c:671
#4 0x00007ffff7f8031b in over_op_func (op=0x7ffff0f50ca0, rs=<optimized
out>, which=<optimized out>) at ../../../../servers/slapd/backover.c:723
#5 0x00007ffff2be53e7 in autogroup_add_members_from_filter
(op=op@entry=0x7ffff82da400, e=<optimized out>, age=0x7ffff82f8ef0,
agf=agf@entry=0x7ffff87daea0, modify=modify@entry=1) at autogroup.c:519
#6 0x00007ffff2be5b00 in autogroup_add_group
(op=op@entry=0x7ffff82da400, agi=agi@entry=0x7ffff832b8c0,
agd=agd@entry=0x7ffff832b910, e=0x7ffff8503b98, e@entry=0x0,
ndn=ndn@entry=0x7ffff82da438, scan=scan@entry=1, modify=modify@entry=1)
at autogroup.c:667
#7 0x00007ffff2be6c91 in autogroup_response (op=0x7ffff82da400,
rs=<optimized out>) at autogroup.c:1213
#8 0x00007ffff7f7f598 in over_back_response (op=0x7ffff82da400,
rs=0x7ffff0f52a50) at ../../../../servers/slapd/backover.c:237
#9 0x00007ffff7f227d6 in slap_response_play
(op=op@entry=0x7ffff82da400, rs=rs@entry=0x7ffff0f52a50) at
../../../../servers/slapd/result.c:507
#10 0x00007ffff7f22d6e in send_ldap_response
(op=op@entry=0x7ffff82da400, rs=rs@entry=0x7ffff0f52a50) at
../../../../servers/slapd/result.c:582
#11 0x00007ffff7f23816 in slap_send_ldap_result (op=0x7ffff82da400,
rs=0x7ffff0f52a50) at ../../../../servers/slapd/result.c:860
#12 0x00007ffff3211e67 in hdb_modify (op=0x7ffff82da400,
rs=0x7ffff0f52a50) at modify.c:749
#13 0x00007ffff7f801c6 in overlay_op_walk (op=op@entry=0x7ffff82da400,
rs=0x7ffff0f52a50, which=op_modify, oi=0x7ffff8325c90, on=0x0) at
../../../../servers/slapd/backover.c:671
#14 0x00007ffff7f8031b in over_op_func (op=0x7ffff82da400, rs=<optimized
out>, which=<optimized out>) at ../../../../servers/slapd/backover.c:723
#15 0x00007ffff7f2a569 in fe_op_modify (op=0x7ffff82da400,
rs=0x7ffff0f52a50) at ../../../../servers/slapd/modify.c:303
#16 0x00007ffff7f2c42d in do_modify (op=0x7ffff82da400,
rs=0x7ffff0f52a50) at ../../../../servers/slapd/modify.c:177
#17 0x00007ffff7f12961 in connection_operation
(ctx=ctx@entry=0x7ffff0f52ba0, arg_v=arg_v@entry=0x7ffff82da400) at
../../../../servers/slapd/connection.c:1150
#18 0x00007ffff7f12c84 in connection_read_thread (ctx=0x7ffff0f52ba0,
argv=<optimized out>) at ../../../../servers/slapd/connection.c:1286
So sm_values looks empty at that point...
Note that i've also tried with the default groupOfNames/member objects,
instead of posixGroup/memberOf. Same symptoms.
--
Landry Breuil