[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
make ldbm under tests fails test001-slapadd (ITS#1104)
Full_Name: Randy Kunkee
Version: OPENLDAP_REL_ENG_2
OS: FreeBSD4.2, Tru64 5.1
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (65.65.19.145)
test001-slapadd test fails with the message
slapadd: database (o=University of Michigan,c=US) not configured to hold
dn="cn=All Staff,ou=Groups,o=University of Michigan,c=US" (line=27)
Running slapadd under gdb and breaking inside of select_backend reveals that
both
be_suffix and be_nsuffix members of the backendDB data structure are null.
(gdb) run -f ./data/slapd.conf -l ./data/test.ldif
Starting program: /usr/local/src/cvsldap/releng2/tests/../servers/slapd/tools/slapadd
-f ./data/slapd.conf -l ./data/test.ldif
Breakpoint 1, select_backend (dn=0x80a0408 "o=University of Michigan, c=US",
manageDSAit=0) at backend.c:435
435 Backend *be = NULL;
(gdb) n
437 dnlen = strlen( dn );
(gdb) print nbackendDB
No symbol "nbackendDB" in current context.
(gdb) print nBackendDB
$1 = 1
(gdb) n
438 for ( i = 0; i < nbackends; i++ ) {
(gdb) n
439 for ( j = 0; backends[i].be_nsuffix != NULL &&
(gdb) print backendDB[0]
$2 = {bd_info = 0x809b0b8, be_restrictops = 0, be_requires = 0, be_ssf_set = {
sss_ssf = 0, sss_transport = 0, sss_tls = 0, sss_sasl = 0,
sss_update_ssf = 0, sss_update_transport = 0, sss_update_tls = 0,
sss_update_sasl = 0}, be_suffix = 0x0, be_nsuffix = 0x0,
be_suffixAlias = 0x0, be_root_dn = 0x0, be_root_ndn = 0x0, be_root_pw = {
bv_len = 0, bv_val = 0x0}, be_max_deref_depth = 15, be_sizelimit = 500,
be_timelimit = 3600, be_acl = 0x0, be_dfltaccess = ACL_READ,
be_replica = 0x0, be_replogfile = 0x0, be_update_ndn = 0x0,
be_update_refs = 0x0, be_lastmod = 0, be_realm = 0x0, be_private = 0x80b9000}