# SIPIdentity Object Schema
#
# Schema for representing SIPIdentity Object in an LDAP Directory
# 
# Abstract
# 
# This document defines the schema for representing SIPIdentity 
# object in an LDAP directory [LDAPv3].  It defines schema elements
# to represent an SIPIdentity object [SIPIdentity].
# 
#                     .1 = Communication related work
#                     .1.6 = SIPIdentity
#                     .1.6.1 = attributes
#                     .1.6.2 = objectclass
#                     .1.6.3 = syntax
#
#
#
# Attribute Type Definitions
# 
#    The following attribute types are defined in this document:
# 
#     SIPIdentitySIPURI
#     SIPIdentityRegistrarAddress
#     SIPIdentityProxyAddress
#     SIPIdentityAddress
#     SIPIdentityPassword
#     SIPIdentityUserName
#     SIPIdentityServiceLevel
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 SIPIdentity
# 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.6.1.1 NAME 'SIPIdentitySIPURI' ) 
attributetypes: (0.0.8.350.1.1.6.1.2 NAME 'SIPIdentityRegistrarAddress' ) 
attributetypes: (0.0.8.350.1.1.6.1.3 NAME 'SIPIdentityProxyAddress' ) 
attributetypes: (0.0.8.350.1.1.6.1.4 NAME 'SIPIdentityAddress' ) 
attributetypes: (0.0.8.350.1.1.6.1.5 NAME 'SIPIdentityPassword' ) 
attributetypes: (0.0.8.350.1.1.6.1.6 NAME 'SIPIdentityUserName' ) 
attributetypes: (0.0.8.350.1.1.6.1.7 NAME 'SIPIdentityServiceLevel' ) 
-
#
# re-add the attributes -- in case there is a change of definition
#
# 
add: attributetypes 
attributetypes: (0.0.8.350.1.1.6.1.1 
     NAME 'SIPIdentitySIPURI' 
     DESC 'Universal Resource Indicator of the SIP UA' 
     EQUALITY caseExactMatch 
     SUBSTR caseExactSubstringsMatch 
     SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 ) 
attributetypes: (0.0.8.350.1.1.6.1.2 
     NAME 'SIPIdentityRegistrarAddress' 
     DESC 'specifies the location of the registrar' 
     EQUALITY caseIgnoreIA5Match 
     SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 ) 
attributetypes: (0.0.8.350.1.1.6.1.3 
     NAME 'SIPIdentityProxyAddress' 
     DESC 'Specifies the location of the SIP Proxy' 
     EQUALITY caseIgnoreIA5Match 
     SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 ) 
attributetypes: (0.0.8.350.1.1.6.1.4 
     NAME 'SIPIdentityAddress' 
     DESC 'IP address of the UA' 
     EQUALITY caseIgnoreIA5Match 
     SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 ) 
attributetypes: (0.0.8.350.1.1.6.1.5 
     NAME 'SIPIdentityPassword' 
     DESC 'The user agent SIP password ' 
     EQUALITY octetStringMatch 
     SYNTAX 1.3.6.1.4.1.1466.115.121.1.40 ) 
attributetypes: (0.0.8.350.1.1.6.1.6 
     NAME 'SIPIdentityUserName' 
     DESC 'The user agent user name.' 
     EQUALITY caseIgnoreMatch 
     SUBSTR caseIgnoreSubstringsMatch 
     SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 ) 
attributetypes: (0.0.8.350.1.1.6.1.7 
     NAME 'SIPIdentityServiceLevel' 
     DESC 'To define services that a user can belong to.' 
     EQUALITY caseIgnoreIA5Match 
     SUBSTR caseIgnoreIA5SubstringsMatch 
     SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 ) 
-
# Object Class Definitions
# 
#    The following object class is defined in this document:
# 
#        SIPIdentity
# 
# SIPIdentity
#  
#
delete: objectclasses
objectclasses: (0.0.8.350.1.1.6.2.1 NAME 'SIPIdentity' ) 
-
add: objectclasses 
objectclasses: (0.0.8.350.1.1.6.2.1 
     NAME 'SIPIdentity' 
     DESC 'SIPIdentity object' 
     SUP top AUXILIARY 
     MAY ( SIPIdentitySIPURI $ SIPIdentityRegistrarAddress $ 
          SIPIdentityProxyAddress $ SIPIdentityAddress $ 
          SIPIdentityPassword $ SIPIdentityUserName $ 
          SIPIdentityServiceLevel $ userSMIMECertificate ) 
     ) 
-
#
# end of LDIF
#
