# # UKeduPerson Objectclass (Version 1.0 18 June 2004) # # See http://www.angel.ac.uk/UKeduPerson for a description of the schema and sample documents # # This LDIF file is LDAP v3 compliant and may require modification to work on servers which support only LDAP v2 # # The object class OID is 1.3.6.1.4.1.20589.1.1.2 and the attribute OIDs start 1.3.6.1.4.1.20589.1.1.1 # # HISTORY # # June 18 2004 - First public version (s.mcleish@lse.ac.uk); comments and structure based around eduPerson object # class LDIF (http://www.educause.edu/eduperson/) # # # USAGE: # # This LDIF file makes modifications to the cn=schema tree # which should modify the user portion of the schema of your # directory (if that concept exists). The LDIF is constructed # to perform this modification in one update. Should any portion # fail, then the entire update will fail and no change should be # made. The first part of the LDIF is to delete any attributes # that may have already been defined so that they can be readded # in the next section. Same methodology applies to the objectclasses # which follows. # # This file contains lines with trailing spaces so that continuation # of lines work properly. Please make sure this is respected or you # may have difficulty in applying the LDIF. # dn: cn=schema changetype: modify # # if you need to change the definition of an attribute, # then first delete and re-add in one step # # if this is the first time you are adding the UKeduPerson # objectclass using this LDIF file, then you should comment # out the delete attributetypes modification since this will # fail. Alternatively, if your ldapmodify has a switch to continue # on errors, then just use that switch -- if you're careful # # # "UKeduPerson" attributes # delete: attributetypes attributetypes: ( 1.3.6.1.4.1.20589.1.1.1.1 NAME 'UKeduPersonCategory' ) attributetypes: ( 1.3.6.1.4.1.20589.1.1.1.2 NAME 'UKeduPersonSAMLURI' ) attributetypes: ( 1.3.6.1.4.1.20589.1.1.1.3 NAME 'UKeduPersonXML' ) attributetypes: ( 1.3.6.1.4.1.20589.1.1.1.1 NAME 'UKeduPersonXMLURI' ) - # # re-add the attributes -- in case there is a change of definition # # # "eduPerson" attributes # add: attributetypes attributetypes: ( 1.3.6.1.4.1.20589.1.1.1.1 NAME 'UKeduPersonCategory' DESC 'UKeduPerson Pilot' EQUALITY caseIgnoreMatch SYNTAX '1.3.6.1.4.1.1466.115.121.1.15' ) attributetypes: ( 1.3.6.1.4.1.20589.1.1.1.2 NAME 'UKeduPersonSAMLURI' DESC 'UKeduPerson Pilot' EQUALITY caseExactString SYNTAX '1.3.6.1.4.1.250.1.57' SINGLE-VALUE ) attributetypes: ( 1.3.6.1.4.1.20589.1.1.1.3 NAME 'UKeduPersonXML' DESC 'UKeduPerson Pilot' EQUALITY caseIgnoreMatch SINGLE-VALUE ) attributetypes: ( 1.3.6.1.4.1.20589.1.1.1.1 NAME 'UKeduPersonXMLURI' DESC 'UKeduPerson Pilot' EQUALITY caseExactString SYNTAX '1.3.6.1.4.1.250.1.57' SINGLE-VALUE ) - # # UKeduPerson objectclass definition # can only be done after attributes established # # if this is the first time you are adding the UKeduperson # objectclass using this LDIF file, then you should comment # out the delete objectclasses modification since this will # fail. Alternatively, if your ldapmodify has a switch to continue # on errors, then just use that switch -- if you're careful # delete: objectclasses objectclasses: ( 1.3.6.1.4.1.20589.1.1.2 NAME 'UKeduPerson') - # # now re-add the objectclass properly defined. # add: objectclasses objectclasses: ( 1.3.6.1.4.1.20589.1.1.2 NAME 'eduPerson' AUXILIARY MAY ( UKeduPersonCategory $ UKeduPersonSAMLURI $ UKeduPersonXML $ UKeduPersonXMLURI ) - # # end of LDIF #