# This LDIF file can be used to add to add the swissEduPerson schema to # an OpenLDAP server > 2.4 that uses the new configuration format. # Put this file to /etc/ldap/schema/ and then execute the following # comand to add this schema: # ldapadd -Y EXTERNAL -H ldapi:/// -f /etc/ldap/schema/swissedu.ldif dn: cn=swissedu,cn=schema,cn=config objectClass: olcSchemaConfig cn: swissedu olcObjectIdentifier: {0}SwissEduroot 2.16.756.1.2.5 olcObjectIdentifier: {1}SwissEdu SwissEduroot:1 olcObjectIdentifier: {2}SwissEduAttributeType SwissEdu:1 olcObjectIdentifier: {3}SwissEduObjectClass SwissEdu:2 olcAttributeTypes: {0}( SwissEduAttributeType:1 NAME 'swissEduPersonUniqueID' DESC 'Unique identifier for inter-institutional user identification' EQUALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE ) olcAttributeTypes: {1}( SwissEduAttributeType:2 NAME 'swissEduPersonDateOfBirt h' DESC 'Date of birth (format YYYYMMDD, only numeric chars)' EQUALITY numeri cStringMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.36{8} SINGLE-VALUE ) olcAttributeTypes: {2}( SwissEduAttributeType:3 NAME 'swissEduPersonGender' DE SC 'Representation of human sex (see ISO 5218)' EQUALITY integerMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.27{1} SINGLE-VALUE ) olcAttributeTypes: {3}( SwissEduAttributeType:4 NAME 'swissEduPersonHomeOrgani zation' DESC 'Domain name of the home organization' EQUALITY caseIgnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE ) olcAttributeTypes: {4}( SwissEduAttributeType:5 NAME 'swissEduPersonHomeOrgani zationType' DESC 'Type of the home organization' EQUALITY caseIgnoreMatch SYN TAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE ) olcAttributeTypes: {5}( SwissEduAttributeType:6 NAME 'swissEduPersonStudyBranc h1' DESC 'Study branch of a student, first level of classification' EQUALITY integerMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.27{6} ) olcAttributeTypes: {6}( SwissEduAttributeType:7 NAME 'swissEduPersonStudyBranc h2' DESC 'Study branch of a student, intermediate level of classification' EQ UALITY integerMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.27{6} ) olcAttributeTypes: {7}( SwissEduAttributeType:8 NAME 'swissEduPersonStudyBranc h3' DESC 'Study branch of a student' EQUALITY integerMatch SYNTAX 1.3.6.1.4.1 .1466.115.121.1.27{6} ) olcAttributeTypes: {8}( SwissEduAttributeType:9 NAME 'swissEduPersonStudyLevel ' DESC 'Study level of a student in a particular studyBranch3' EQUALITY caseI gnoreMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 ) olcAttributeTypes: {9}( SwissEduAttributeType:10 NAME 'swissEduPersonStaffCate gory' DESC 'Workbranch of a staff member' EQUALITY integerMatch SYNTAX 1.3.6. 1.4.1.1466.115.121.1.27{3} ) olcAttributeTypes: {10}( SwissEduAttributeType:11 NAME 'swissEduPersonMatricul ationNumber' DESC 'Matriculation number of a student' EQUALITY numericStringM atch SYNTAX 1.3.6.1.4.1.1466.115.121.1.36{8} SINGLE-VALUE ) olcAttributeTypes: {11}( SwissEduAttributeType:12 NAME 'swissEduPersonCardUID' DESC 'card identification number' EQUALITY caseIgnoreMatch SYNTAX 1.3.6.1.4. 1.1466.115.121.1.15 ) olcObjectClasses: {0}( SwissEduObjectClass:1 NAME 'swissEduPerson' DESC 'Swiss eduPerson Object for use in e-Academia' SUP inetOrgPerson STRUCTURAL MAY ( s wissEduPersonUniqueID $ swissEduPersonDateOfBirth $ swissEduPersonGender $ sw issEduPersonHomeOrganization $ swissEduPersonHomeOrganizationType $ swissEduP ersonStudyBranch1 $ swissEduPersonStudyBranch2 $ swissEduPersonStudyBranch3 $ swissEduPersonStudyLevel $ swissEduPersonStaffCategory $ swissEduPersonMatri culationNumber $ swissEduPersonCardUID $ eduPersonAffiliation $ eduPersonNick name $ eduPersonOrgDN $ eduPersonOrgUnitDN $ eduPersonPrimaryAffiliation $ ed uPersonPrincipalName $ eduPersonEntitlement $ eduPersonPrimaryOrgUnitDN $ edu PersonScopedAffiliation $ eduPersonTargetedID $ eduPersonAssurance ) )