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

Re: Openldap configuration import LDIF



If i try slapcat -n1 i have result in a email attachment "slapcat", and if i add on the top the file LDIF ou=people,dc=university,dc=org, the error is LDAP: error code 17 - dn: attribute type undefined, for details i add a email attachment "error"


2013/8/22 Dan White <dwhite@olp.net>
On 08/22/13 17:32 +0200, felas wrote:
Sorry i move first step in openlad, so, the all output in my Eclipse is in
attachment.
what do you mean Does ou=people,dc=university,dc=org exist? , you mean in
the server configuration?

Presumably you, or your installation script, configured a database at
dc=university,dc=org. See chapter 10 of the Admin guide.

Everything stored locally, underneath dc=university,dc=org will be written
to disk (outside of your configuration), such as in /var/lib/ldap,
depending on how the dc=university,dc=org database was configured. You may
be able to view the existing data in the database with:

slapcat -n1

where "1" is the database number configured. See the slapcat man page.

Data underneath dc=university,dc=org will need to be created
hierarchically. Before:

dn: ou=student,ou=people,dc=university,dc=org

can exist:

ou=people,dc=university,dc=org

must first be created. If that's your problem, add it to the top of your
ldif file.

--
Dan White

Attachment: slapcat.png
Description: PNG image

Attachment: error
Description: Binary data