60sudo.ldif 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. # 60sudo.ldif - Schema for SUDO
  2. ################################################################################
  3. #
  4. dn: cn=schema
  5. #
  6. ################################################################################
  7. #
  8. attributeTypes: (
  9. 1.3.6.1.4.1.15953.9.1.1
  10. NAME 'sudoUser'
  11. DESC 'User(s) who may run sudo'
  12. EQUALITY caseExactIA5Match
  13. SUBSTR caseExactIA5SubstringsMatch
  14. SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
  15. X-ORIGIN 'SUDO' )
  16. #
  17. ################################################################################
  18. #
  19. attributeTypes: (
  20. 1.3.6.1.4.1.15953.9.1.2
  21. NAME 'sudoHost'
  22. DESC 'Host(s) who may run sudo'
  23. EQUALITY caseExactIA5Match
  24. SUBSTR caseExactIA5SubstringsMatch
  25. SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
  26. X-ORIGIN 'SUDO' )
  27. #
  28. ################################################################################
  29. #
  30. attributeTypes: (
  31. 1.3.6.1.4.1.15953.9.1.3
  32. NAME 'sudoCommand'
  33. DESC 'Command(s) to be executed by sudo'
  34. EQUALITY caseExactIA5Match
  35. SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
  36. X-ORIGIN 'SUDO' )
  37. #
  38. ################################################################################
  39. #
  40. attributeTypes: (
  41. 1.3.6.1.4.1.15953.9.1.4
  42. NAME 'sudoRunAs'
  43. DESC 'User(s) impersonated by sudo'
  44. EQUALITY caseExactIA5Match
  45. SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
  46. X-ORIGIN 'SUDO' )
  47. #
  48. ################################################################################
  49. #
  50. attributeTypes: (
  51. 1.3.6.1.4.1.15953.9.1.5
  52. NAME 'sudoOption'
  53. DESC 'Options(s) followed by sudo'
  54. EQUALITY caseExactIA5Match
  55. SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
  56. X-ORIGIN 'SUDO' )
  57. #
  58. ################################################################################
  59. #
  60. attributeTypes: ( 1.3.6.1.4.1.15953.9.1.6
  61. NAME 'sudoRunAsUser'
  62. DESC 'User(s) impersonated by sudo'
  63. EQUALITY caseExactIA5Match
  64. SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
  65. X-ORIGIN 'SUDO' )
  66. #
  67. ################################################################################
  68. #
  69. attributeTypes: ( 1.3.6.1.4.1.15953.9.1.7
  70. NAME 'sudoRunAsGroup'
  71. DESC 'Group(s) impersonated by sudo'
  72. EQUALITY caseExactIA5Match
  73. SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
  74. X-ORIGIN 'SUDO' )
  75. #
  76. ################################################################################
  77. #
  78. attributeTypes: ( 1.3.6.1.4.1.15953.9.1.8
  79. NAME 'sudoNotBefore'
  80. DESC 'Start of time interval for which the entry is valid'
  81. EQUALITY generalizedTimeMatch
  82. ORDERING generalizedTimeOrderingMatch
  83. SYNTAX 1.3.6.1.4.1.1466.115.121.1.24
  84. X-ORIGIN 'SUDO' )
  85. #
  86. ################################################################################
  87. #
  88. attributeTypes: ( 1.3.6.1.4.1.15953.9.1.9
  89. NAME 'sudoNotAfter'
  90. DESC 'End of time interval for which the entry is valid'
  91. EQUALITY generalizedTimeMatch
  92. ORDERING generalizedTimeOrderingMatch
  93. SYNTAX 1.3.6.1.4.1.1466.115.121.1.24
  94. X-ORIGIN 'SUDO' )
  95. #
  96. ################################################################################
  97. #
  98. attributeTypes: ( 1.3.6.1.4.1.15953.9.1.10
  99. NAME 'sudoOrder'
  100. DESC 'an integer to order the sudoRole entries'
  101. EQUALITY integerMatch
  102. ORDERING integerOrderingMatch
  103. SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
  104. X-ORIGIN 'SUDO' )
  105. #
  106. ################################################################################
  107. #
  108. objectClasses: (
  109. 1.3.6.1.4.1.15953.9.2.1
  110. NAME 'sudoRole'
  111. SUP top
  112. STRUCTURAL
  113. DESC 'Sudoer Entries'
  114. MUST ( cn )
  115. MAY ( sudoUser $ sudoHost $ sudoCommand $ sudoRunAs $ sudoRunAsUser $
  116. sudoRunAsGroup $ sudoOption $ sudoNotBefore $ sudoNotAfter $
  117. sudoOrder $ description )
  118. X-ORIGIN 'SUDO' )
  119. #
  120. ################################################################################
  121. #