I used to do:
ldap add ..... -f file.ldif
where file.ldif has:
dn: ou=domains,dc=calico-consulting.com,dc=com objectclass: top objectclass: organizationalUnit ou: domains
dn: ou=accounts,dc=calico-consulting.com,dc=com objectclass: top objectclass: organizationalUnit ou: accounts
but this barfs in openldap 2.2 saying:
ldap_initialize( <DEFAULT> ) add objectclass: top organizationalUnit add ou: domains adding new entry "ou=domains,dc=calico-consulting.com,dc=com" modify complete ldap_add: Server is unwilling to perform (53) additional info: no global superior knowledge
What have I done wrong?
Dennis
<quote who="Dennis Sacks">
I used to do:
ldap add ..... -f file.ldif
you need an entry for:
dc=calico-consulting.com,dc=com
and you need to use a recent OpenLDAP release.
where file.ldif has:
dn: ou=domains,dc=calico-consulting.com,dc=com objectclass: top objectclass: organizationalUnit ou: domains
dn: ou=accounts,dc=calico-consulting.com,dc=com objectclass: top objectclass: organizationalUnit ou: accounts
but this barfs in openldap 2.2 saying:
ldap_initialize( <DEFAULT> ) add objectclass: top organizationalUnit add ou: domains adding new entry "ou=domains,dc=calico-consulting.com,dc=com" modify complete ldap_add: Server is unwilling to perform (53) additional info: no global superior knowledge
What have I done wrong?
Dennis
Gavin Henry wrote:
<quote who="Dennis Sacks">
I used to do:
ldap add ..... -f file.ldif
you need an entry for:
dc=calico-consulting.com,dc=com
and you need to use a recent OpenLDAP release.
I've compiled and installed openldap 2.3.36. How do I add the entry for dc=calico-consulting,dc=com?
Dennis
Dennis Sacks wrote:
Gavin Henry wrote:
<quote who="Dennis Sacks">
I used to do:
ldap add ..... -f file.ldif
you need an entry for:
dc=calico-consulting.com,dc=com
and you need to use a recent OpenLDAP release.
I've compiled and installed openldap 2.3.36. How do I add the entry for dc=calico-consulting,dc=com?
Dennis
Please read our documentation. That's what we write it for:
http://www.openldap.org/doc/admin23/quickstart.html
Section: "10. Add initial entries to your directory."
A little effort is required on your part ;-)
openldap-software@openldap.org