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

Re: question on adding attributes

Sorry, I posted the mail after 2 hours, then 2 miutes later I find the answer: I had to add the objectclass pilotPerson first!

Ok. Sorry for the extra mail.... .)
----- Original Message ----- 
From: "Tarjei Huse" <tarjei@nu.no>
To: "'openldap-software@openldap.org'" <openldap-software@OpenLDAP.org>
Sent: Friday, July 20, 2001 6:02 PM
Subject: question on adding attributes

> Hi,
> I got a posix user with the following objectclasses defined:
> top
> posixAccount
> account
> shadowAccount
> sambaAccount
> and I am now trying to add the objectclasses:
> inteOrgPerson, person, organizationalPerson and rolodapUser
> to this user.
> Now, to add inetOrgPerson I get the message that I need sn, but when I try to add the attribute sn I get that this atttribute is not allowed according to my schema (use the standard openldap ones + samba and rolodap).
> What is the correct order to add these different types in? I need most of them, so I'd be happy to know if it is possible and where I am failing. ALso attached bellow is the ldif I'm trying to use. 
> yours,
> Tarjei
> PS: System: openldap 2.0.11
> the ldif: (using ldapmodify)
> dn: uid=tarjei,ou=Brukere,o=nu,c=no
> changetype: modify
> add: objectClass
> objectClass: organizationalPerson
> add: objectClass
> objectClass: inetOrgPerson
> add: sn
> sn: huse
> add: objectclass
> objectclass : rolodapUser
> add: rolodapAdmin
> rolodapadmin : yes