[Date Prev][Date Next]
Re: back-config, overlays
>> On my build I get an abort in test007 in the slave server:
>> slapd startup: initiated.
>> backend_startup_one: starting "cn=config"
>> slapd: ../../../../head/servers/slapd/back-ldap/config.c:301:
>> ldap_back_cf_gen: Assertion `0' failed.
> Unless you fix it yourself, I'll need a detailed report, since it's
> running just fine here, on two different distributions/setups. I suspect
> many potential places to look at, thiough.
I think the problem is related to slap_mask_t being an unsigned long,
while the "mask" field in slap_verbmasks is an int; so masking with
0x80000000U may be inappropriate... I suggest that field is made a const
slap_mask_t for consistency; note that since I'm using that code (and I
think you're using it in other parts of back-config) to implement a
verb2enum rather than a verb2masks, maybe we could add that too. My
masking with 0x80000000U is essentially to overcome the "if (!m) return;"
test in verb2mask...
SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497