[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: multiple roots under one DSE
Hi Pierangelo,
--On Dienstag, 7. Mai 2002 14:40 +0200 Pierangelo Masarati
<masarati@aero.polimi.it> wrote:
This should work:
database ldbm
suffix ""
rootdn "cn=Manager"
rootpw SECRET
If I do this with bdb and Head I get a segfault when trying to bind:
dnPrettyNormal: <cn=admin>
=> ldap_bv2dn(cn=admin,0)
<= ldap_bv2dn(cn=admin,0)=0
=> ldap_dn2bv(272)
<= ldap_dn2bv(cn=admin,272)=0
=> ldap_dn2bv(16)
<= ldap_dn2bv(cn=admin,16)=0
<<< dnPrettyNormal: <cn=admin>, <cn=admin>
do_bind: version=3 dn="cn=admin" method=128
conn=0 op=0 BIND dn="cn=admin" method=128
==> bdb_bind: dn: cn=admin
bdb_dn2entry_rw("cn=admin")
=> bdb_dn2id_matched( "cn=admin" )
Segmentation fault (core dumped)
#0 0x080a4bbb in bdb_dn2id_matched (be=0x8158f30, txn=0x0, in=0xbfffc300,
id=0xbfffc244, id2=0xbfffc240)
at dn2id.c:370
370 dn.bv_val[-1] = DN_BASE_PREFIX;
(gdb) bt
#0 0x080a4bbb in bdb_dn2id_matched (be=0x8158f30, txn=0x0, in=0xbfffc300,
id=0xbfffc244, id2=0xbfffc240)
at dn2id.c:370
#1 0x080a3dd6 in bdb_dn2entry_rw (be=0x8158f30, tid=0x0, dn=0xbfffc300,
e=0xbfffc294, matched=0xbfffc288,
flags=0, rw=0) at dn2entry.c:45
#2 0x080a03f0 in bdb_bind (be=0x8158f30, conn=0x4046380c, op=0x8165e38,
dn=0xbfffc308, ndn=0xbfffc300,
method=128, cred=0xbfffc2e4, edn=0xbfffc2f8) at bind.c:50
#3 0x0806c9c5 in do_bind (conn=0x4046380c, op=0x8165e38) at bind.c:489
#4 0x08052523 in connection_operation (arg_v=0x8165eb8) at connection.c:953
#5 0x080bbb83 in ldap_pvt_thread_pool_submit (pool=0x810c044,
start_routine=0x80523e0 <connection_operation>,
arg=0x8165eb8) at thr_stub.c:159
#6 0x08053a28 in connection_op_activate (conn=0x4046380c, op=0x8165e38) at
connection.c:1581
#7 0x0805359d in connection_input (conn=0x4046380c) at connection.c:1452
#8 0x08052fec in connection_read (s=9) at connection.c:1262
#9 0x0804fee2 in slapd_daemon_task (ptr=0x0) at daemon.c:1671
#10 0x080bba33 in ldap_pvt_thread_create (thread=0xbffff6e4, detach=0,
start_routine=0x804e5e0 <slapd_daemon_task>, arg=0x0) at thr_stub.c:48
#11 0x0805025d in slapd_daemon () at daemon.c:1764
#12 0x0804c428 in main (argc=3, argv=0xbffff7a4) at main.c:535
#13 0x402177ee in __libc_start_main () from /lib/libc.so.6
--
Dipl.-Inform. Norbert Klasen
DAASI International GmbH phone: +49 7071 29 70336
Wilhelmstr. 106 fax: +49 7071 29 5114
72074 Tübingen email: norbert.klasen@daasi.de
Germany web: http://www.daasi.de