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

Re: Ldap , undefined dn



Hi,

On Sunday, 20. November 2005 11:10, Amir Saad wrote:
> i use Fedore 4, Ldap 2.3.11
> i'm trying to configre the openldap but i have a problem with ldif files
> i run ldapadd -f ia.ldif -x
> and i get the error:
> ldap_add: Undefined attribute type (17)
>         additional info: dn: attribute type undefined
> **************************************************************
> here is my ldif file:
> **************************************************************
> # Organization for Test
> dn:dc=mydomain,dc=org
> objectClass: dcObject
> objectClass: organization
> o:Test
> description: Test
> # Organizational Role for Directory Manager
> dn:cn=Head,dc=mydomain,dc=org
> objectClass: organizationalRole
> cn: Head
> name: my_name
> description: my Head

You need to include an empty line between the wto entries.

CU
Peter

-- 
Peter Marschall
eMail: peter@adpm.de