Re: ldapd(8) database bootstrap error

2016-10-29 Thread Frank Groeneveld
On Sat, Oct 29, 2016 at 10:14:00AM +0800, Zhang Huangbin wrote: > You must create the root dn (dc=example,dc=com) first. For example: > > dn: dc=example,dc=com > objectclass: dcObject > objectclass: organization > dc: example > o: example > > > Zhang Huangbin, founder of iRedMail project: ht

Re: ldapd(8) database bootstrap error

2016-10-28 Thread Zhang Huangbin
> On Oct 29, 2016, at 2:41 AM, Frank Groeneveld wrote: > >$ ldapadd -D 'cn=admin,dc=example,dc=com' -x -w secret -f in.ldif >adding new entry "ou=people,dc=example,dc=com" >ldap_add: No such object (32) You must create the root dn (dc=example,dc=com) first. For example: dn: dc=exampl

ldapd(8) database bootstrap error

2016-10-28 Thread Frank Groeneveld
I'm trying to get ldapd working on 6.0-stable. Using the man page and /etc/examples/ldapd.conf I've created the following configuration file: schema "/etc/ldap/core.schema" schema "/etc/ldap/inetorgperson.schema" schema "/etc/ldap/nis.schema" listen on lo0 secure namespace "d