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

Re: MDB_BAD_RSLOT while executing slapacl



Howard Chu <hyc@symas.com> ÐÐÑÐÐ(Ð) Ð ÑÐÐÑÐ ÐÐÑÑÐÐ Sat, 21 Dec 2013 19:38:06 +0400:

I started with empty config and empty database with slapd-2.4.38:
# sudo slapadd -F /etc/openldap/slapd.d -n0 -l config.ldif
_#################### 100.00% eta   none elapsed            none fast!
Closing DB...

I import single object into my catalog:
# cat initial-import.ldif
dn: dc=example,dc=org
dc: example
objectClass: organization
objectClass: dcObject
o: Example

# sudo slapadd -F /etc/openldap/slapd.d -b dc=example,dc=org -l config.ldif
_#################### 100.00% eta   none elapsed            none fast!
Closing DB...

Trying to check access:
# sudo slapacl -F /etc/openldap/slapd.d -D
uid=zinovik,ou=people,dc=example,dc=org \
   -b dc=example,dc=org o/read
authcDN: "uid=zinovik,ou=people,dc=example,dc=org"
52abd7bc mdb_opinfo_get: err MDB_BAD_RSLOT: Invalid reuse of reader
locktable slot(-30783)
read access to o: ALLOWED

I used your config and got no such behavior here.

Sorry for duplicate message, but what can you advise me to check?