An objectclass is a packaging of attributes and the eduperson objectclass is not any different.  The eduperson objectclass contains the following attributes:

( 1.3.6.1.4.1.5923.1.1.2 NAME 'eduPerson' AUXILIARY MAY ( eduPersonAffiliation $ eduPersonNickname $ eduPersonOrgDN $ eduPersonOrgUnitDN $ eduPersonPrimaryAffiliation $ eduPersonPrincipalName $ eduPersonEntitlement $ eduPersonPrimaryOrgUnitDN $  eduPersonScopedAffiliation $ eduPersonTargetedID $ eduPersonAssurance $ eduPersonPrincipalNamePrior $ eduPersonUniqueId $
 eduPersonOrcid ))

...as seen on http://software.internet2.edu/eduperson/internet2-mace-dir-eduperson-201602.html

Let's say the eduperson schema (e.g. objectclass and attributes) has been added to your directory service.  Next let's say you want to add the edupersonprimaryaffiliation = member to a test user.  You will first have to add the eduperson objectclass and then the attribute.  You can not just add the attributes, nor will these attributes appear when using a GUI admin tool until a new objectclass is also added to the test user. The following .ldif file content and the use of an ldapmodify command line tool can perform this update:

dn: cn=testUser,ou=people,dc=acme,dc=com
changetype: modify
add: objectclass
objectclass: eduperson
-
add: edupersonprimaryaffiliation
edupersonprimaryaffiliation: member



On 8/19/18 11:18 AM, Filip Koteski wrote:
Hello, Team

I am pretty new to this LDAP stuff, but I got a project for uni that has a
requirement for me to use eduPerson as an object class for the users on the
LDAP server. I inserted the class using .ldif file and directory studio,
and I can see it as "cn=eduperson" in "ou=schema", but when I try to use
it, I'm unable. It does not come up on the list.

Any help would be much appreciated.

Thanks and regards, Filip


--
D o n a l d   L o h r
 I n f o r m a t i o n   S y s t e m s
 J a m e s   M a d i s o n   U n i v e r s i t y
 5 4 0 . 5 6 8 . 3 7 3 0

 DOS: Bad command or file name
 bash: command not found


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to