summaryrefslogtreecommitdiff
path: root/ldap/schema/krb5-kdc.schema
blob: aeca4f861b1439c6e630615b5ceeb00ad4915ac8 (plain)
  1. # $Id: krb5-kdc.schema,v 1.1 2005-10-23 21:32:32 jonas Exp $
  2. # Definitions for a Kerberos V KDC schema
  3. # OID Base is iso(1) org(3) dod(6) internet(1) private(4) enterprise(1) padl(5322) kdcSchema(10)
  4. #
  5. # Syntaxes are under 1.3.6.1.4.1.5322.10.0
  6. # Attributes types are under 1.3.6.1.4.1.5322.10.1
  7. # Object classes are under 1.3.6.1.4.1.5322.10.2
  8. # Syntax definitions
  9. #krb5KDCFlagsSyntax SYNTAX ::= {
  10. # WITH SYNTAX INTEGER
  11. #-- initial(0), -- require as-req
  12. #-- forwardable(1), -- may issue forwardable
  13. #-- proxiable(2), -- may issue proxiable
  14. #-- renewable(3), -- may issue renewable
  15. #-- postdate(4), -- may issue postdatable
  16. #-- server(5), -- may be server
  17. #-- client(6), -- may be client
  18. #-- invalid(7), -- entry is invalid
  19. #-- require-preauth(8), -- must use preauth
  20. #-- change-pw(9), -- change password service
  21. #-- require-hwauth(10), -- must use hwauth
  22. #-- ok-as-delegate(11), -- as in TicketFlags
  23. #-- user-to-user(12), -- may use user-to-user auth
  24. #-- immutable(13) -- may not be deleted
  25. # ID { 1.3.6.1.4.1.5322.10.0.1 }
  26. #}
  27. #krb5PrincipalNameSyntax SYNTAX ::= {
  28. # WITH SYNTAX OCTET STRING
  29. #-- String representations of distinguished names as per RFC1510
  30. # ID { 1.3.6.1.4.1.5322.10.0.2 }
  31. #}
  32. # Attribute type definitions
  33. attributetype ( 1.3.6.1.4.1.5322.10.1.1
  34. NAME 'krb5PrincipalName'
  35. DESC 'The unparsed Kerberos principal name'
  36. EQUALITY caseExactIA5Match
  37. SINGLE-VALUE
  38. SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
  39. attributetype ( 1.3.6.1.4.1.5322.10.1.2
  40. NAME 'krb5KeyVersionNumber'
  41. EQUALITY integerMatch
  42. SINGLE-VALUE
  43. SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 )
  44. attributetype ( 1.3.6.1.4.1.5322.10.1.3
  45. NAME 'krb5MaxLife'
  46. EQUALITY integerMatch
  47. SINGLE-VALUE
  48. SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 )
  49. attributetype ( 1.3.6.1.4.1.5322.10.1.4
  50. NAME 'krb5MaxRenew'
  51. EQUALITY integerMatch
  52. SINGLE-VALUE
  53. SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 )
  54. attributetype ( 1.3.6.1.4.1.5322.10.1.5
  55. NAME 'krb5KDCFlags'
  56. EQUALITY integerMatch
  57. SINGLE-VALUE
  58. SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 )
  59. attributetype ( 1.3.6.1.4.1.5322.10.1.6
  60. NAME 'krb5EncryptionType'
  61. EQUALITY integerMatch
  62. SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 )
  63. attributetype ( 1.3.6.1.4.1.5322.10.1.7
  64. NAME 'krb5ValidStart'
  65. EQUALITY generalizedTimeMatch
  66. ORDERING generalizedTimeOrderingMatch
  67. SYNTAX 1.3.6.1.4.1.1466.115.121.1.24
  68. SINGLE-VALUE )
  69. attributetype ( 1.3.6.1.4.1.5322.10.1.8
  70. NAME 'krb5ValidEnd'
  71. EQUALITY generalizedTimeMatch
  72. ORDERING generalizedTimeOrderingMatch
  73. SYNTAX 1.3.6.1.4.1.1466.115.121.1.24
  74. SINGLE-VALUE )
  75. attributetype ( 1.3.6.1.4.1.5322.10.1.9
  76. NAME 'krb5PasswordEnd'
  77. EQUALITY generalizedTimeMatch
  78. ORDERING generalizedTimeOrderingMatch
  79. SYNTAX 1.3.6.1.4.1.1466.115.121.1.24
  80. SINGLE-VALUE )
  81. # this is temporary; keys will eventually
  82. # be child entries or compound attributes.
  83. attributetype ( 1.3.6.1.4.1.5322.10.1.10
  84. NAME 'krb5Key'
  85. DESC 'Encoded ASN1 Key as an octet string'
  86. SYNTAX 1.3.6.1.4.1.1466.115.121.1.5 )
  87. attributetype ( 1.3.6.1.4.1.5322.10.1.11
  88. NAME 'krb5PrincipalRealm'
  89. DESC 'Distinguished name of krb5Realm entry'
  90. SUP distinguishedName )
  91. attributetype ( 1.3.6.1.4.1.5322.10.1.12
  92. NAME 'krb5RealmName'
  93. EQUALITY octetStringMatch
  94. SYNTAX 1.3.6.1.4.1.1466.115.121.1.40{128} )
  95. # Object class definitions
  96. objectclass ( 1.3.6.1.4.1.5322.10.2.1
  97. NAME 'krb5Principal'
  98. SUP top
  99. AUXILIARY
  100. MUST ( krb5PrincipalName )
  101. MAY ( cn $ krb5PrincipalRealm ) )
  102. objectclass ( 1.3.6.1.4.1.5322.10.2.2
  103. NAME 'krb5KDCEntry'
  104. SUP krb5Principal
  105. AUXILIARY
  106. MUST ( krb5KeyVersionNumber )
  107. MAY ( krb5ValidStart $ krb5ValidEnd $ krb5PasswordEnd $
  108. krb5MaxLife $ krb5MaxRenew $ krb5KDCFlags $
  109. krb5EncryptionType $ krb5Key ) )
  110. objectclass ( 1.3.6.1.4.1.5322.10.2.3
  111. NAME 'krb5Realm'
  112. SUP top
  113. AUXILIARY
  114. MUST ( krb5RealmName ) )