i can't get openldap to create the initial base, 'dc=,dc=' and
'manager=,dc=,dc=' DN's:
snippet from slapd.conf:
#schemacheck off
suffix "dc=ITG, dc=IE"
rootdn "cn=Manager, dc=ITG, dc=IE"
rootpw acme
database ldbm
then:
[root at florence /tmp]# rm -rf /var/lib/ldap/*
[root at florence /tmp]# cat base.ldif
dn: dc=IE
dc: IE
objectClass: top
objectClass: domain
objectClass: domainRelatedObject
associatedDomain: itg.ie
dn: dc=ITG,dc=IE
dc: ITG
o: ITG Group
objectClass: top
objectClass: domain
objectClass: organisation
objectClass: domainRelatedObject
associatedDomain: itg.ie
dn: cn=Manager, dc=ITG, dc=IE
cn: Manager
sn: Manager
objectclass: person
[root at florence /tmp]# ldapadd -f ./base.ldif -D "cn=manager, dc=itg,
dc=ie" -w acme
adding new entry dc=IE
ldap_add: DSA is unwilling to perform
ldap_add: additional info: operation upon null (empty) DN disallowed
what am i doing wrong? the base.ldif is more or less a trimmed version of
the output from migrate_base.pl. I've searched around and all i find is
that "DSA is unwilling to perform" is pretty much a generic error message,
and i can't find anything useful related to "null DN disallowed" and
slapd on google et al..
what am i missing?
--paulj
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!