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

invalid ldif example (ITS#743)



Full_Name: robert joop
Version: 
OS: 
URL: 
Submission from: (NULL) (193.175.135.28)


the example LDIF file given at the end of 7.1. in
http://www.openldap.org/doc/admin/dbtools.html is neither legal LDIF syntax
nor does it accepted by the given ldapadd command.

if i edit the example into

<cut here>
dn: dc=my-domain, dc=com
objectClass: dcObject
objectClass: organization
dc: my-domain
o: Example Corporation
description: The Example Corporation

dn: cn=Postmaster, dc=my-domain, dc=com
objectClass: organizationalRole
cn: Postmaster
description: OpenLDAP Postmaster <Postmaster@example.com>
</cut>

it gets accepted by
`ldapadd -f entries.ldif -x -D "cn=Manager,dc=my-domain,dc=com" -w secret`
given the slapd.conf installed by `make install`.