# genericIdentity Object Schema
#
# Schema for representing a genericIdentity Protocol Object in an LDAP Directory
# 
# Abstract
# 
# This document defines the schema for representing genericIdentity 
# object in an LDAP directory [LDAPv3].  It defines schema elements
# to represent an genericIdentity object [genericIdentity].
# 
#                     .1 = Communication related work
#                     .1.7 = genericIdentity
#                     .1.7.1 = attributes
#                     .1.7.2 = objectclass
#                     .1.7.3 = syntax
#
#
#
# Attribute Type Definitions
# 
#    The following attribute types are defined in this document:
# 
#     genericIdentityProtocolIdentifier
#     genericIdentityMessage
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 genericIdentity
# 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
#
delete: attributetypes
attributetypes:(0.0.8.350.1.1.7.1.1 NAME 'genericIdentityProtocolIdentifier' ) 
attributetypes: (0.0.8.350.1.1.7.1.2 NAME 'genericIdentityMessage' ) 
-
#
# re-add the attributes -- in case there is a change of definition
#
# 
add: attributetypes 
attributetypes: (0.0.8.350.1.1.7.1.1 
     NAME 'genericIdentityProtocolIdentifier' 
     DESC 'name of the non-standard protocol' 
     EQUALITY caseIgnoreMatch 
     SUBSTR caseIgnoreSubstringsMatch 
     SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 ) 
attributetypes: (0.0.8.350.1.1.7.1.2 
     NAME 'genericIdentityMessage' 
     DESC 'informative text string' 
     EQUALITY caseIgnoreMatch 
     SUBSTR caseIgnoreSubstringsMatch 
     SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 ) 
-
# Object Class Definitions
# 
#    The following object class is defined in this document:
# 
#        genericIdentity
# 
# genericIdentity
#  
#
delete: objectclasses
objectclasses: (0.0.8.350.1.1.7.2.1 NAME 'genericIdentity' ) 
-
add: objectclasses 
objectclasses: (0.0.8.350.1.1.7.2.1 
        NAME 'genericIdentity' 
        DESC 'genericIdentity object' 
        SUP top AUXILIARY 
        MAY ( genericIdentityProtocolIdentifier $ genericIdentityMessage ) 
        ) 
-
#
# end of LDIF
#
