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

Re: Please test OPENLDAP_REL_ENG_2_3



Hallvard B Furuseth wrote:

tests/data/slapd-valsort.conf is missing, for test042.

tests/data/slapd-aci.conf is missing.
If it is copied from HEAD, slapd dumps core in test041:

#0  0x080a807b in parse_acl (be=0x82b75a8,
        fname=0x828b008 "./testrun/slapd.1.conf",
        lineno=54, argc=6, argv=0x82b48f0, pos=-1) at aclparse.c:1558
1558                                if( !is_at_syntax( b->a_aci_at->ad_type,

...because b->a_aci.at is NULL.

(It is configured with --enable-most things, including --enable-aci.)

(gdb) bt
#0 0x080a807b in parse_acl (be=0x82b75a8, fname=0x828b008 "./testrun/slapd.1.conf", lineno=54, argc=6, argv=0x82b48f0, pos=-1)
at aclparse.c:1558
#1 0x080652e4 in config_generic (c=0x82b3778) at bconfig.c:1108
#2 0x0806fb18 in config_set_vals (Conf=0x8258db0, c=0x82b3778) at config.c:261
#3 0x0806ffda in config_add_vals (Conf=0x8258db0, c=0x82b3778) at config.c:329
#4 0x08070f2c in read_config_file (fname=0x828b008 "./testrun/slapd.1.conf", depth=0, cf=0x0, cft=0x8258d60) at config.c:660
#5 0x0806aef9 in read_config (fname=0x828b008 "./testrun/slapd.1.conf", dir=0x0) at bconfig.c:2738
#6 0x080df32f in slap_tool_init (progname=0x82065e0 "slapadd", tool=1, argc=6, argv=0xbffff334) at slapcommon.c:402
#7 0x080dd83b in slapadd (argc=6, argv=0xbffff334) at slapadd.c:70
#8 0x080636cd in main (argc=6, argv=0xbffff334) at main.c:526


I fear this is related to #define SLAPD_DYNACL being under #ifdef LDAP_DEVEL in HEAD; I think I tested with #undef LDAP_DEVEL in HEAD, but not yet in RE23 because that test was not present yet. Based on earlier discussion, I'd move #define SLAPD_DYNACL outside #define LDAP_DEVEL. I'll test everything in a moment, and be back soon.

p.


SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497