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

Re: Ldap , undefined dn



On Sun, 2005-11-20 at 12:10 +0200, 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

What do you use to separate different entries in your LDIF file?  Did
you happen to read rfc 2849?  If you didn't, I suggest you start from
there.

p.




Ing. Pierangelo Masarati
Responsabile Open Solution

SysNet s.n.c.
Via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
------------------------------------------
Office:   +39.02.23998309          
Mobile:   +39.333.4963172
Email:    pierangelo.masarati@sys-net.it
------------------------------------------