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

Re: LDAP v3, Ldif file format



Have a look at the the Administrator-Guide at
	http://www.openldap.org/doc/admin/

Its very useful to study the attribute definitions in
	/usr/local/etc/openldap/schema/
(maybe resides in a other directory) 

You can use
objectClass: pilotPerson
objectclass: inetOrgPerson

That will satisfy your needs.

regards
Oliver



Messages from Wed 27 June 2001 11:44:
> Sorry I ve made a mistake in my last mail, but the file I am using is that!
> Can anyone tell me also where can I find a reference about the ldap v3
> schema?
>
> dn: cn=Stefanog, ou=People, o=mycompany.co.uk, c=uk
> description: Technical Consultant
> ObjectClass: top
> ObjectClass: person
> objectClass: organizationalPerson
> objectClass: inetOrgPerson
> mail: Stefano.Galdo@mycompany.co.uk
> sn: Galdo
> cn: Stefanog
> userpassword: secret
>
> The error I ger is <Root error: [LDAP: error code 65 - Object Class
> Violation]>
> -----Original Message-----
> From: Daniel Tiefnig [mailto:openldap@qmail.infonova.at]
> Sent: 27 June 2001 12:22
> To: openldap-software@OpenLDAP.org
> Subject: Re: LDAP v3, Ldif file format
>
>
>
> "Stefano Galdo" <Stefano.Galdo@valtech.co.uk> wrote...
>
> > ...
> > the only choice I have is to use objectclass:person which does NOT have
>
> mail
>
> > attribute. Than I had a look at
> > http://ldap.hklc.com/objectclass.html?objectclass=inetOrgPerson so I end
>
> up
>
> > with this solution
> >
> > dn: cn=admin, ou=People, o=mycompany.co.uk, c=uk
> > userPassword:: dmFsdGVjaA==
> > objectClass: top
> > objectClass: person
> > objectClass: organizationalPerson
> > objectClass: inteOrgPeson
> > description: Built-in account for administering the computer
> > mail:admin@mycompany.co.uk
> > sn: N/A
> > cn: admin
> >
> > Unfortunately ldap v3 does NOT like 'inteOrgPerson'. I have no idea how
> > to stick the mail attribute into a person.
>
> it's inetOrgPerson and not inteOrgPerson.
>
> daniel
>
>
>
> DISCLAIMER: This e-mail contains Proprietary information some or all of
> which may be legally privileged. It is for the intended recipient only.  If
> an addressing or transmission error has misdirected this e-mail, please
> notify the author by replying to this e-mail. If you are not the intended
> recipient you must not disclose, distribute, copy, print or rely on this
> e-mail. All information contained within this e-mail is subject to the
> Terms & Conditions of Valtech Ltd. which are available upon request.

-- 
Oliver Egginger
FH Giessen-Friedberg
DV-Zentrum
Wiesenstrasse 14
35390 Giessen
Tel. +49 641 309-1283
Fax  +49 641 309-2908
Mail: Oliver.Egginger@dvz.fh-giessen.de