Quanah,

I am not converting hdb to mdb, i am setting up fresh install with mdb, i have generated cn=config using slapd.conf and i was able to start the slapd, now i am trying to create my org structure.


ldapsearch  -x -D "cn=manager,dc=example,dc=com" -H ldap://localhost:10389 -LLL -w <>  -b "dc=example,dc=com"
dn: dc=example,dc=com
objectClass: dcObject
objectClass: organization
dc: example
o: Example
description: Example
dn: ou=global,dc=example,dc=com
objectClass: organizationalUnit
objectClass: top
ou: global
dn: ou=users,ou=global,dc=example,dc=com
objectClass: organizationalUnit
objectClass: top
ou: users
description: All global users in system


and now i am trying to add below  and getting index generation failed error, db dir and slapd.d owned by slapd processes user.


dn: ou=userroles,ou=global,dc=example,dc=com
objectClass: organizationalUnit
objectClass: top
ou: userroles

Thanks,
Ram

On Tue, Oct 3, 2017 at 2:18 PM, Quanah Gibson-Mount <quanah@symas.com> wrote:
--On Tuesday, October 03, 2017 3:07 PM -0700 rammohan ganapavarapu <rammohanganap@gmail.com> wrote:


Quanah,


Any thing changed int index with mdb? i am getting this error when i try
to add my top level entry.

Why are you using ldapadd?  Did you not read the process Michael and I both described?

It sounds like your mdb database is owned by root while your slapd process runs as a different user?


--Quanah

--

Quanah Gibson-Mount
Product Architect
Symas Corporation
Packaged, certified, and supported LDAP solutions powered by OpenLDAP:
<http://www.symas.com>