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

re:How can I delete a LDAP databse to start fresh?



Your LDIF contains "..., dc=org" whereas your server defines "...,dc=com". Adjust
one or the other accordingly.


On Fri, 31 May 2002, Alan Womack wrote:

> [root@Webby openldap]# ldapadd -x -h localhost -D "cn=root,dc=FAMILY,dc=com" -f base.ldif -w secret
> adding new entry "dc=FAMILY,dc=org"
> ldap_add: No such object
>
> ldif_record() = 32
>
> the base.ldif file:
> dn: dc=FAMILY,dc=org
> objectClass: domain
> dc: FAMILY
...
...
> database        ldbm
> suffix         "dc=FAMILY, dc=com"
> rootdn         "cn=root,dc=FAMILY,dc=com"