[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Ldap schema error
- To: "Amir Saad" <Amir.Saad@bibalex.org>, OpenLDAP-software@OpenLDAP.org
- Subject: Re: Ldap schema error
- From: Peter Marschall <peter@adpm.de>
- Date: Mon, 21 Nov 2005 18:34:29 +0100
- Content-disposition: inline
- In-reply-to: <6C9EEE1F2D393F4396881A4981A5032548B7FA@SEXGW3K-H2020.local.bibalex.dom>
- Organization: ADPM
- References: <6C9EEE1F2D393F4396881A4981A5032548B7FA@SEXGW3K-H2020.local.bibalex.dom>
- User-agent: KMail/1.8.2
Hi,
please keep your replies to the list !
On Monday, 21. November 2005 07:57, Amir Saad wrote:
> Dear,
> if these attr are standard, why the ldap prints "undefined dn" when i try
> to include the following ldif file: # Organization
> dn:dc=mydomain,dc=org
> objectClass: dcObject
> objectClass: organization
> o:Company
> description: Company
> # Organizational Role for Directory Manager
> dn:cn=Head,dc=mydomain,dc=org
> objectClass: organizationalRole
> cn: Head
> name: amir
> description: Head
> thanks
> Amir Saad
> Software Engineer
Because you did not follow the advices in the the answers to the other mail
you posted to the mailing list ?
Here's a few things I would change in the LDIF above
- separate the two entries by a blank line
- add a space after the colon where there isn't
- add the definition of the dc attribute to the first entry
- remove the attribute name from the second entry
This should result in (note: blank lines / spaces matter):
#---- 8< snip >8 -----
# Organization
dn: dc=mydomain,dc=org
objectClass: dcObject
objectClass: organization
dc: mydomain
o: Company
description: Company
# Organizational Role for Directory Manager
dn: cn=Head,dc=mydomain,dc=org
objectClass: organizationalRole
cn: Head
description: Head
#---- 8< snip >8 -----
Hope it helps
Peter
--
Peter Marschall
eMail: peter@adpm.de