Works with -x. Thanks much.
Also, how do you empty the database and start again from scratch with an empty database ? I stopped ldap, deleted a file in, and moved the other files in /var/lib/ldap.
Then started ldap and tried the ldapadd commnd again and got the error: Can't contact LDAP server
turns out that I can't get the server to start now
Just delete all the files in your data directory and start again.
-- Kind Regards,
Gavin Henry. OpenLDAP Engineering Team.
E ghenry@OpenLDAP.org
Community developed LDAP software.
http://www.openldap.org/project/