Full_Name: Guillaume Rousse
Version: 2.4.12
OS: Mandriva linux
URL:
Submission from: (NULL) (193.55.250.67)
Here's my back-relay configuration:
database relay
suffix ou=telephony,dc=msr-inria,dc=inria,dc=fr
overlay rwm
rwm-suffixmassage ou=users,dc=msr-inria,dc=inria,dc=fr
rwm-map attribute telephoneNumber homePhone
rwm-map attribute cn *
rwm-map attribute sn *
rwm-map attribute givenName *
rwm-map attribute uid *
rwm-map attribute *
access to dn.subtree="ou=telephony,dc=msr-inria,dc=inria,dc=fr"
by * read
The server crashes immediatly when attempting a query for given prefix. Here is
debug trace:
slap_listener_activate(7):
>>> slap_listener(ldap:///)
connection_get(17): got connid=0
connection_read(17): checking for input on id=0
ber_get_next
ber_get_next: tag 0x30 len 12 contents:
ber_get_next
conn=0 op=0 do_bind
ber_scanf fmt ({imt) ber:
ber_scanf fmt (m}) ber:
>>> dnPrettyNormal: <>
<<< dnPrettyNormal: <>, <>
do_bind: version=3 dn="" method=128
send_ldap_result: conn=0 op=0 p=3
send_ldap_response: msgid=1 tag=97 err=0
ber_flush2: 14 bytes to sd 17
do_bind: v3 anonymous bind
connection_get(17): got connid=0
connection_read(17): checking for input on id=0
ber_get_next
ber_get_next: tag 0x30 len 77 contents:
ber_get_next
conn=0 op=1 do_search
ber_scanf fmt ({miiiib) ber:
>>> dnPrettyNormal: <ou=telephony,dc=msr-inria,dc=inria,dc=fr>
<<< dnPrettyNormal: <ou=telephony,dc=msr-inria,dc=inria,dc=fr>,
<ou=telephony,dc=msr-inria,dc=inria,dc=fr>
ber_scanf fmt (m) ber:
ber_scanf fmt ({M}}) ber:
==> limits_get: conn=0 op=1 dn="[anonymous]"
==> rewrite_context_apply [depth=1]
string='ou=telephony,dc=msr-inria,dc=inria,dc=fr'
==> rewrite_rule_apply rule='((.+),)?ou=telephony,[ ]?dc=msr-inria,[
]?dc=inria,[ ]?dc=fr$' string='ou=telephony,dc=msr-inria,dc=inria,dc=fr' [1
pass(es)]
==> rewrite_context_apply [depth=1]
res={0,'ou=users,dc=msr-inria,dc=inria,dc=fr'}
>>> dnPrettyNormal: <ou=users,dc=msr-inria,dc=inria,dc=fr>
<<< dnPrettyNormal: <ou=users,dc=msr-inria,dc=inria,dc=fr>,
<ou=users,dc=msr-inria,dc=inria,dc=fr>
==> rewrite_context_apply [depth=1] string='(objectClass=*)'
==> rewrite_context_apply [depth=1] res={0,'NULL'}
put_filter: "(objectClass=*)"
put_filter: simple
put_simple_filter: "objectClass=*"
ber_scanf fmt (m) ber:
=> bdb_search
bdb_dn2entry("ou=users,dc=msr-inria,dc=inria,dc=fr")
=> bdb_dn2id("ou=users,dc=msr-inria,dc=inria,dc=fr")
<= bdb_dn2id: got id=0x2
entry_decode: "ou=users,dc=msr-inria,dc=inria,dc=fr"
<= entry_decode(ou=users,dc=msr-inria,dc=inria,dc=fr)
search_candidates: base="ou=users,dc=msr-inria,dc=inria,dc=fr" (0x00000002)
scope=2
=> bdb_dn2idl("ou=users,dc=msr-inria,dc=inria,dc=fr")
<= bdb_dn2idl: id=90 first=2 last=190
=> bdb_presence_candidates (objectClass)
bdb_search_candidates: id=90 first=2 last=190
==> rewrite_context_apply [depth=1]
string='ou=users,dc=msr-inria,dc=inria,dc=fr'
==> rewrite_rule_apply rule='((.+),)?ou=users,[ ]?dc=msr-inria,[ ]?dc=inria,[
]?dc=fr$' string='ou=users,dc=msr-inria,dc=inria,dc=fr' [1 pass(es)]
==> rewrite_context_apply [depth=1]
res={0,'ou=telephony,dc=msr-inria,dc=inria,dc=fr'}
>>> dnPrettyNormal: <ou=telephony,dc=msr-inria,dc=inria,dc=fr>
<<< dnPrettyNormal: <ou=telephony,dc=msr-inria,dc=inria,dc=fr>,
<ou=telephony,dc=msr-inria,dc=inria,dc=fr>
=> send_search_entry: conn 0 dn="ou=telephony,dc=msr-inria,dc=inria,dc=fr"
ber_flush2: 93 bytes to sd 17
<= send_search_entry: conn 0 exit.
entry_decode: "uid=ingleber,ou=users,dc=msr-inria,dc=inria,dc=fr"
<= entry_decode(uid=ingleber,ou=users,dc=msr-inria,dc=inria,dc=fr)
=> bdb_dn2id("uid=ingleber,ou=users,dc=msr-inria,dc=inria,dc=fr")
<= bdb_dn2id: got id=0x4
==> rewrite_context_apply [depth=1]
string='uid=ingleber,ou=users,dc=msr-inria,dc=inria,dc=fr'
==> rewrite_rule_apply rule='((.+),)?ou=users,[ ]?dc=msr-inria,[ ]?dc=inria,[
]?dc=fr$' string='uid=ingleber,ou=users,dc=msr-inria,dc=inria,dc=fr' [1
pass(es)]
==> rewrite_context_apply [depth=1]
res={0,'uid=ingleber,ou=telephony,dc=msr-inria,dc=inria,dc=fr'}
>>> dnPrettyNormal: <uid=ingleber,ou=telephony,dc=msr-inria,dc=inria,dc=fr>
<<< dnPrettyNormal: <uid=ingleber,ou=telephony,dc=msr-inria,dc=inria,dc=fr>,
<uid=ingleber,ou=telephony,dc=msr-inria,dc=inria,dc=fr>
=> send_search_entry: conn 0
dn="uid=ingleber,ou=telephony,dc=msr-inria,dc=inria,dc=fr"
ber_flush2: 229 bytes to sd 17
<= send_search_entry: conn 0 exit.
entry_decode: "uid=fmorin,ou=users,dc=msr-inria,dc=inria,dc=fr"
<= entry_decode(uid=fmorin,ou=users,dc=msr-inria,dc=inria,dc=fr)
=> bdb_dn2id("uid=fmorin,ou=users,dc=msr-inria,dc=inria,dc=fr")
<= bdb_dn2id: got id=0x6
==> rewrite_context_apply [depth=1]
string='uid=fmorin,ou=users,dc=msr-inria,dc=inria,dc=fr'
==> rewrite_rule_apply rule='((.+),)?ou=users,[ ]?dc=msr-inria,[ ]?dc=inria,[
]?dc=fr$' string='uid=fmorin,ou=users,dc=msr-inria,dc=inria,dc=fr' [1 pass(es)]
==> rewrite_context_apply [depth=1]
res={0,'uid=fmorin,ou=telephony,dc=msr-inria,dc=inria,dc=fr'}
>>> dnPrettyNormal: <uid=fmorin,ou=telephony,dc=msr-inria,dc=inria,dc=fr>
<<< dnPrettyNormal: <uid=fmorin,ou=telephony,dc=msr-inria,dc=inria,dc=fr>,
<uid=fmorin,ou=telephony,dc=msr-inria,dc=inria,dc=fr>
=> send_search_entry: conn 0 dn="(null)"
slapd: entry.c:483: entry_clean: Assertion `e->e_private == ((void *)0)' failed
I'm running openldap 2.4.12 (official mandriva package) under mandriva x86_64.