Difference between revisions of "Schema fnspeUser"

From NMS
Jump to: navigation, search
Line 8: Line 8:
 
  #
 
  #
 
  #
 
  #
# Fake OID Assignment for CTU FNSPE
+
  # OID CTU FNSPE prefix: 1.3.6.1.4.1.4993.16
  # OID CTU FNSPE prefix: 1.3.6.1.4.1.4993.1000
+
 
  # .0  Reserved (at any level)
 
  # .0  Reserved (at any level)
 
  # .1    SNMP
 
  # .1    SNMP
Line 37: Line 36:
 
   
 
   
 
  #
 
  #
  # CTU attributes (1.3.6.1.4.1.4993.1000.2.3.1)
+
  # CTU attributes (1.3.6.1.4.1.4993.16.2.3.1)
 
  #
 
  #
 
   
 
   
Line 46: Line 45:
 
  adminDisplayName: ctuPersonalId
 
  adminDisplayName: ctuPersonalId
 
  adminDescription: CTU personal Id
 
  adminDescription: CTU personal Id
  attributeId: 1.3.6.1.4.1.4993.1000.2.3.1.1
+
  attributeId: 1.3.6.1.4.1.4993.16.2.3.1.1
 
  attributeSyntax: 2.5.5.9
 
  attributeSyntax: 2.5.5.9
 
  omSyntax: 2
 
  omSyntax: 2
Line 61: Line 60:
 
  #adminDisplayName: ctuGovAssignedNumber
 
  #adminDisplayName: ctuGovAssignedNumber
 
  #adminDescription: Number assigned by the government
 
  #adminDescription: Number assigned by the government
  #attributeId: 1.3.6.1.4.1.4993.1000.2.3.1.2
+
  #attributeId: 1.3.6.1.4.1.4993.16.2.3.1.2
 
  #attributeSyntax: 2.5.5.5
 
  #attributeSyntax: 2.5.5.5
 
  #omSyntax: 22
 
  #omSyntax: 22
Line 74: Line 73:
 
  adminDisplayName: ctuUsername
 
  adminDisplayName: ctuUsername
 
  adminDescription: CTU username (Usermap/KOS username)
 
  adminDescription: CTU username (Usermap/KOS username)
  attributeId: 1.3.6.1.4.1.4993.1000.2.3.1.3
+
  attributeId: 1.3.6.1.4.1.4993.16.2.3.1.3
 
  attributeSyntax: 2.5.5.12
 
  attributeSyntax: 2.5.5.12
 
  omSyntax: 64
 
  omSyntax: 64
Line 84: Line 83:
 
   
 
   
 
  #
 
  #
  # CTU FNSPE attributes (1.3.6.1.4.1.4993.1000.2.3.2)
+
  # CTU FNSPE attributes (1.3.6.1.4.1.4993.16.2.3.2)
 
  #
 
  #
 
   
 
   
  # Account (1.3.6.1.4.1.4993.1000.2.3.2.1)
+
  # Account (1.3.6.1.4.1.4993.16.2.3.2.1)
 
   
 
   
  # Eduroam (1.3.6.1.4.1.4993.1000.2.3.2.1.1)
+
  # Eduroam (1.3.6.1.4.1.4993.16.2.3.2.1.1)
 
   
 
   
 
  dn: CN=fnspeEduroamPassword,CN=Schema,CN=Configuration,DC=TARGET_DOMAIN
 
  dn: CN=fnspeEduroamPassword,CN=Schema,CN=Configuration,DC=TARGET_DOMAIN
Line 97: Line 96:
 
  adminDisplayName: fnspeEduroamPassword
 
  adminDisplayName: fnspeEduroamPassword
 
  adminDescription: RFC2256/2307: password of user for eduroam project
 
  adminDescription: RFC2256/2307: password of user for eduroam project
  attributeId: 1.3.6.1.4.1.4993.1000.2.3.2.1.1.1
+
  attributeId: 1.3.6.1.4.1.4993.16.2.3.2.1.1.1
 
  attributeSyntax: 2.5.5.10
 
  attributeSyntax: 2.5.5.10
 
  omSyntax: 4
 
  omSyntax: 4
Line 109: Line 108:
 
  adminDisplayName: fnspeEduroamDisabled
 
  adminDisplayName: fnspeEduroamDisabled
 
  adminDescription: Flag for disabled FNSPE Eduroam account
 
  adminDescription: Flag for disabled FNSPE Eduroam account
  attributeId: 1.3.6.1.4.1.4993.1000.2.3.2.1.1.2
+
  attributeId: 1.3.6.1.4.1.4993.16.2.3.2.1.1.2
 
  attributeSyntax: 2.5.5.8
 
  attributeSyntax: 2.5.5.8
 
  omSyntax: 1
 
  omSyntax: 1
Line 121: Line 120:
 
  adminDisplayName: fnspeEduroamLocal
 
  adminDisplayName: fnspeEduroamLocal
 
  adminDescription: Flag this account has only access to local realm
 
  adminDescription: Flag this account has only access to local realm
  attributeId: 1.3.6.1.4.1.4993.1000.2.3.2.1.1.3
+
  attributeId: 1.3.6.1.4.1.4993.16.2.3.2.1.1.3
 
  attributeSyntax: 2.5.5.8
 
  attributeSyntax: 2.5.5.8
 
  omSyntax: 1
 
  omSyntax: 1
Line 133: Line 132:
 
  adminDisplayName: fnspeEduroamExpire
 
  adminDisplayName: fnspeEduroamExpire
 
  adminDescription: Flag this account has only access to local realm
 
  adminDescription: Flag this account has only access to local realm
  attributeId: 1.3.6.1.4.1.4993.1000.2.3.2.1.1.4
+
  attributeId: 1.3.6.1.4.1.4993.16.2.3.2.1.1.4
 
  attributeSyntax: 2.5.5.16
 
  attributeSyntax: 2.5.5.16
 
  omSyntax: 65
 
  omSyntax: 65
Line 140: Line 139:
 
   
 
   
 
   
 
   
  # Mail (1.3.6.1.4.1.4993.1000.2.3.2.2)
+
  # Mail (1.3.6.1.4.1.4993.16.2.3.2.2)
 
   
 
   
 
  dn: CN=fnspeMailAddresses,CN=Schema,CN=Configuration,DC=TARGET_DOMAIN
 
  dn: CN=fnspeMailAddresses,CN=Schema,CN=Configuration,DC=TARGET_DOMAIN
Line 148: Line 147:
 
  adminDisplayName: fnspeMailAddresses
 
  adminDisplayName: fnspeMailAddresses
 
  adminDescription: RFC822 addresses for mail filtering personalization
 
  adminDescription: RFC822 addresses for mail filtering personalization
  attributeId: 1.3.6.1.4.1.4993.1000.2.3.2.2.1
+
  attributeId: 1.3.6.1.4.1.4993.16.2.3.2.2.1
 
  attributeSyntax: 2.5.5.12
 
  attributeSyntax: 2.5.5.12
 
  omSyntax: 64
 
  omSyntax: 64
Line 174: Line 173:
 
  adminDisplayName: fnspeUser
 
  adminDisplayName: fnspeUser
 
  adminDescription: CTU FNSPE user account
 
  adminDescription: CTU FNSPE user account
  governsID: 1.3.6.1.4.1.4993.1000.2.4.1
+
  governsID: 1.3.6.1.4.1.4993.16.2.4.1
 
  objectClassCategory: 3
 
  objectClassCategory: 3
 
  rDNAttID: cn
 
  rDNAttID: cn

Revision as of 23:50, 11 June 2007

# LDAP schema for CTU FNSPE
#
# Copyright (c) 2007 JAS
#
# Author: Petr Vokac <vokac@kmlinux.fjfi.cvut.cz>
#
# $Id$
#
#
# OID CTU FNSPE prefix: 1.3.6.1.4.1.4993.16
# .0   Reserved (at any level)
# .1    SNMP
# .2    LDAP Elements
#      .1      Syntaxes
#      .2      Matching Rules
#      .3      Attribute Types
#      .4      Object Classes
#      .5      Supported Feature
#      .9      Protocol Mechanism
#      .10     Control
#      .11     Extended Operaions
#   ...
# OID CTU FNSPE LDAP Attribute Types
# .1           CTU attributes
# .2           CTU FNSPE attributes
# .2.1         CTU FNSPE attributes - Account
# .2.1.1       CTU FNSPE attributes - Account - Eduroam
# .2.2 CTU FNSPE attributes - Mail
#
#
# To import this schema you can use command:
#   ldifde -v -i -k -f your_modified_schema_file.ldif -c DC=TARGET_DOMAIN DC=fjfi,DC=cvut,DC=cz
#



#
# CTU attributes (1.3.6.1.4.1.4993.16.2.3.1)
#

dn: CN=ctuPersonalId,CN=Schema,CN=Configuration,DC=TARGET_DOMAIN
changetype: add
objectClass: attributeSchema
ldapDisplayName: ctuPersonalId
adminDisplayName: ctuPersonalId
adminDescription: CTU personal Id
attributeId: 1.3.6.1.4.1.4993.16.2.3.1.1
attributeSyntax: 2.5.5.9
omSyntax: 2
#attributeSyntax: 2.5.5.6  # numeric string, may be it is
#omSyntax: 18              # more close to Usermap exchPersonalId
isSingleValued: TRUE
systemOnly: FALSE
searchFlags: 1

#dn: CN=ctuGovAssignedNumber,CN=Schema,CN=Configuration,DC=TARGET_DOMAIN
#changetype: add
#objectClass: attributeSchema
#ldapDisplayName: ctuGovAssignedNumber
#adminDisplayName: ctuGovAssignedNumber
#adminDescription: Number assigned by the government
#attributeId: 1.3.6.1.4.1.4993.16.2.3.1.2
#attributeSyntax: 2.5.5.5
#omSyntax: 22
#isSingleValued: TRUE
#systemOnly: FALSE
#searchFlags: 1

dn: CN=ctuUsername,CN=Schema,CN=Configuration,DC=TARGET_DOMAIN
changetype: add
objectClass: attributeSchema
ldapDisplayName: ctuUsername
adminDisplayName: ctuUsername
adminDescription: CTU username (Usermap/KOS username)
attributeId: 1.3.6.1.4.1.4993.16.2.3.1.3
attributeSyntax: 2.5.5.12
omSyntax: 64
isSingleValued: FALSE
systemOnly: FALSE
searchFlags: 1



#
# CTU FNSPE attributes (1.3.6.1.4.1.4993.16.2.3.2)
#

# Account (1.3.6.1.4.1.4993.16.2.3.2.1)

# Eduroam (1.3.6.1.4.1.4993.16.2.3.2.1.1)

dn: CN=fnspeEduroamPassword,CN=Schema,CN=Configuration,DC=TARGET_DOMAIN
changetype: add
objectClass: attributeSchema
ldapDisplayName: fnspeEduroamPassword
adminDisplayName: fnspeEduroamPassword
adminDescription: RFC2256/2307: password of user for eduroam project
attributeId: 1.3.6.1.4.1.4993.16.2.3.2.1.1.1
attributeSyntax: 2.5.5.10
omSyntax: 4
isSingleValued: TRUE
systemOnly: FALSE

dn: CN=fnspeEduroamDisabled,CN=Schema,CN=Configuration,DC=TARGET_DOMAIN
changetype: add
objectClass: attributeSchema
ldapDisplayName: fnspeEduroamDisabled
adminDisplayName: fnspeEduroamDisabled
adminDescription: Flag for disabled FNSPE Eduroam account
attributeId: 1.3.6.1.4.1.4993.16.2.3.2.1.1.2
attributeSyntax: 2.5.5.8
omSyntax: 1
isSingleValued: TRUE
systemOnly: FALSE

dn: CN=fnspeEduroamLocal,CN=Schema,CN=Configuration,DC=TARGET_DOMAIN
changetype: add
objectClass: attributeSchema
ldapDisplayName: fnspeEduroamLocal
adminDisplayName: fnspeEduroamLocal
adminDescription: Flag this account has only access to local realm
attributeId: 1.3.6.1.4.1.4993.16.2.3.2.1.1.3
attributeSyntax: 2.5.5.8
omSyntax: 1
isSingleValued: TRUE
systemOnly: FALSE

dn: CN=fnspeEduroamExpire,CN=Schema,CN=Configuration,DC=TARGET_DOMAIN
changetype: add
objectClass: attributeSchema
ldapDisplayName: fnspeEduroamExpire
adminDisplayName: fnspeEduroamExpire
adminDescription: Flag this account has only access to local realm
attributeId: 1.3.6.1.4.1.4993.16.2.3.2.1.1.4
attributeSyntax: 2.5.5.16
omSyntax: 65
isSingleValued: TRUE
systemOnly: FALSE


# Mail (1.3.6.1.4.1.4993.16.2.3.2.2)

dn: CN=fnspeMailAddresses,CN=Schema,CN=Configuration,DC=TARGET_DOMAIN
changetype: add
objectClass: attributeSchema
ldapDisplayName: fnspeMailAddresses
adminDisplayName: fnspeMailAddresses
adminDescription: RFC822 addresses for mail filtering personalization
attributeId: 1.3.6.1.4.1.4993.16.2.3.2.2.1
attributeSyntax: 2.5.5.12
omSyntax: 64
isSingleValued: FALSE
systemOnly: FALSE
searchFlags: 1



# -----------------------------------------------------------------------
#   Reload the schema cache to pick up altered classes and attributes
# -----------------------------------------------------------------------
dn:
changetype: ntdsSchemaModify
add: schemaUpdateNow
schemaUpdateNow: 1
-



dn: CN=fnspeUser,CN=Schema,CN=Configuration,DC=TARGET_DOMAIN
changetype: add
objectClass: classSchema
ldapDisplayName: fnspeUser
adminDisplayName: fnspeUser
adminDescription: CTU FNSPE user account
governsID: 1.3.6.1.4.1.4993.16.2.4.1
objectClassCategory: 3
rDNAttID: cn
subClassOf: top
mustContain: cn
mayContain: ctuPersonalId
mayContain: ctuUsername
mayContain: fnspeEduroamPassword
mayContain: fnspeEduroamDisabled
mayContain: fnspeEduroamLocal
mayContain: fnspeEduroamExpire
mayContain: fnspeMailAddresses
showInAdvancedViewOnly: FALSE
defaultHidingValue: FALSE
systemOnly: FALSE
defaultObjectCategory: CN=fnspeUser,CN=Schema,CN=Configuration,DC=TARGET_DOMAIN



# -----------------------------------------------------------------------
#   Reload the schema cache to pick up altered classes and attributes
# -----------------------------------------------------------------------
dn:
changetype: ntdsSchemaModify
add: schemaUpdateNow
schemaUpdateNow: 1
-