10rfc2307bis.ldif 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348
  1. # New and improved RFC 2307 schema (aka RFC 2307 bis)
  2. # "An Approach for Using LDAP as a Network Information Service"
  3. # This schema has not yet been approved.
  4. #
  5. dn: cn=schema
  6. attributeTypes: (
  7. 1.3.6.1.1.1.1.0 NAME 'uidNumber'
  8. DESC 'An integer uniquely identifying a user in an administrative domain'
  9. EQUALITY integerMatch
  10. SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
  11. SINGLE-VALUE
  12. )
  13. attributeTypes: (
  14. 1.3.6.1.1.1.1.1 NAME 'gidNumber'
  15. DESC 'An integer uniquely identifying a group in an
  16. administrative domain'
  17. EQUALITY integerMatch
  18. SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
  19. SINGLE-VALUE
  20. )
  21. attributeTypes: (
  22. 1.3.6.1.1.1.1.2 NAME 'gecos'
  23. DESC 'The GECOS field; the common name'
  24. EQUALITY caseIgnoreIA5Match
  25. SUBSTR caseIgnoreIA5SubstringsMatch
  26. SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
  27. SINGLE-VALUE
  28. )
  29. attributeTypes: (
  30. 1.3.6.1.1.1.1.3 NAME 'homeDirectory'
  31. DESC 'The absolute path to the home directory'
  32. EQUALITY caseExactIA5Match
  33. SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
  34. SINGLE-VALUE
  35. )
  36. attributeTypes: (
  37. 1.3.6.1.1.1.1.4 NAME 'loginShell'
  38. DESC 'The path to the login shell'
  39. EQUALITY caseExactIA5Match
  40. SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
  41. SINGLE-VALUE
  42. )
  43. attributeTypes: (
  44. 1.3.6.1.1.1.1.5 NAME 'shadowLastChange'
  45. EQUALITY integerMatch
  46. SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
  47. SINGLE-VALUE
  48. )
  49. attributeTypes: (
  50. 1.3.6.1.1.1.1.6 NAME 'shadowMin'
  51. EQUALITY integerMatch
  52. SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
  53. SINGLE-VALUE
  54. )
  55. attributeTypes: (
  56. 1.3.6.1.1.1.1.7 NAME 'shadowMax'
  57. EQUALITY integerMatch
  58. SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
  59. SINGLE-VALUE
  60. )
  61. attributeTypes: (
  62. 1.3.6.1.1.1.1.8 NAME 'shadowWarning'
  63. EQUALITY integerMatch
  64. SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
  65. SINGLE-VALUE
  66. )
  67. attributeTypes: (
  68. 1.3.6.1.1.1.1.9 NAME 'shadowInactive'
  69. EQUALITY integerMatch
  70. SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
  71. SINGLE-VALUE
  72. )
  73. attributeTypes: (
  74. 1.3.6.1.1.1.1.10 NAME 'shadowExpire'
  75. EQUALITY integerMatch
  76. SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
  77. SINGLE-VALUE
  78. )
  79. attributeTypes: (
  80. 1.3.6.1.1.1.1.11 NAME 'shadowFlag'
  81. EQUALITY integerMatch
  82. SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
  83. SINGLE-VALUE
  84. )
  85. attributeTypes: (
  86. 1.3.6.1.1.1.1.12 NAME 'memberUid'
  87. EQUALITY caseExactIA5Match
  88. SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
  89. )
  90. attributeTypes: (
  91. 1.3.6.1.1.1.1.13 NAME 'memberNisNetgroup'
  92. EQUALITY caseExactIA5Match
  93. SUBSTR caseExactIA5SubstringsMatch
  94. SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
  95. )
  96. attributeTypes: (
  97. 1.3.6.1.1.1.1.14 NAME 'nisNetgroupTriple'
  98. DESC 'Netgroup triple'
  99. EQUALITY caseIgnoreIA5Match
  100. SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
  101. )
  102. attributeTypes: (
  103. 1.3.6.1.1.1.1.15 NAME 'ipServicePort'
  104. DESC 'Service port number'
  105. EQUALITY integerMatch
  106. SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
  107. SINGLE-VALUE
  108. )
  109. attributeTypes: (
  110. 1.3.6.1.1.1.1.16 NAME 'ipServiceProtocol'
  111. DESC 'Service protocol name'
  112. SUP name
  113. )
  114. attributeTypes: (
  115. 1.3.6.1.1.1.1.17 NAME 'ipProtocolNumber'
  116. DESC 'IP protocol number'
  117. EQUALITY integerMatch
  118. SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
  119. SINGLE-VALUE
  120. )
  121. attributeTypes: (
  122. 1.3.6.1.1.1.1.18 NAME 'oncRpcNumber'
  123. DESC 'ONC RPC number'
  124. EQUALITY integerMatch
  125. SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
  126. SINGLE-VALUE
  127. )
  128. attributeTypes: (
  129. 1.3.6.1.1.1.1.19 NAME 'ipHostNumber'
  130. DESC 'IPv4 addresses as a dotted decimal omitting leading
  131. zeros or IPv6 addresses as defined in RFC2373'
  132. SUP name
  133. )
  134. attributeTypes: (
  135. 1.3.6.1.1.1.1.20 NAME 'ipNetworkNumber'
  136. DESC 'IP network as a dotted decimal, eg. 192.168,
  137. omitting leading zeros'
  138. SUP name
  139. SINGLE-VALUE
  140. )
  141. attributeTypes: (
  142. 1.3.6.1.1.1.1.21 NAME 'ipNetmaskNumber'
  143. DESC 'IP netmask as a dotted decimal, eg. 255.255.255.0,
  144. omitting leading zeros'
  145. EQUALITY caseIgnoreIA5Match
  146. SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
  147. SINGLE-VALUE
  148. )
  149. attributeTypes: (
  150. 1.3.6.1.1.1.1.22 NAME 'macAddress'
  151. DESC 'MAC address in maximal, colon separated hex
  152. notation, eg. 00:00:92:90:ee:e2'
  153. EQUALITY caseIgnoreIA5Match
  154. SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
  155. )
  156. attributeTypes: (
  157. 1.3.6.1.1.1.1.23 NAME 'bootParameter'
  158. DESC 'rpc.bootparamd parameter'
  159. EQUALITY caseExactIA5Match
  160. SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
  161. )
  162. attributeTypes: (
  163. 1.3.6.1.1.1.1.24 NAME 'bootFile'
  164. DESC 'Boot image name'
  165. EQUALITY caseExactIA5Match
  166. SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
  167. )
  168. attributeTypes: (
  169. 1.3.6.1.1.1.1.26 NAME 'nisMapName'
  170. DESC 'Name of a A generic NIS map'
  171. SUP name
  172. )
  173. attributeTypes: (
  174. 1.3.6.1.1.1.1.27 NAME 'nisMapEntry'
  175. DESC 'A generic NIS entry'
  176. EQUALITY caseExactIA5Match
  177. SUBSTR caseExactIA5SubstringsMatch
  178. SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
  179. SINGLE-VALUE
  180. )
  181. attributeTypes: (
  182. 1.3.6.1.1.1.1.28 NAME 'nisPublicKey'
  183. DESC 'NIS public key'
  184. EQUALITY octetStringMatch
  185. SYNTAX 1.3.6.1.4.1.1466.115.121.1.40
  186. SINGLE-VALUE
  187. )
  188. attributeTypes: (
  189. 1.3.6.1.1.1.1.29 NAME 'nisSecretKey'
  190. DESC 'NIS secret key'
  191. EQUALITY octetStringMatch
  192. SYNTAX 1.3.6.1.4.1.1466.115.121.1.40
  193. SINGLE-VALUE
  194. )
  195. attributeTypes: (
  196. 1.3.6.1.1.1.1.30 NAME 'nisDomain'
  197. DESC 'NIS domain'
  198. EQUALITY caseIgnoreIA5Match
  199. SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
  200. )
  201. attributeTypes: (
  202. 1.3.6.1.1.1.1.31 NAME 'automountMapName'
  203. DESC 'automount Map Name'
  204. EQUALITY caseExactIA5Match
  205. SUBSTR caseExactIA5SubstringsMatch
  206. SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
  207. SINGLE-VALUE
  208. )
  209. attributeTypes: (
  210. 1.3.6.1.1.1.1.32 NAME 'automountKey'
  211. DESC 'Automount Key value'
  212. EQUALITY caseExactIA5Match
  213. SUBSTR caseExactIA5SubstringsMatch
  214. SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
  215. SINGLE-VALUE
  216. )
  217. attributeTypes: (
  218. 1.3.6.1.1.1.1.33 NAME 'automountInformation'
  219. DESC 'Automount information'
  220. EQUALITY caseExactIA5Match
  221. SUBSTR caseExactIA5SubstringsMatch
  222. SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
  223. SINGLE-VALUE
  224. )
  225. # end of attribute types - beginning of objectclasses
  226. objectClasses: (
  227. 1.3.6.1.1.1.2.0 NAME 'posixAccount' SUP top AUXILIARY
  228. DESC 'Abstraction of an account with POSIX attributes'
  229. MUST ( cn $ uid $ uidNumber $ gidNumber $ homeDirectory )
  230. MAY ( userPassword $ loginShell $ gecos $
  231. description )
  232. )
  233. objectClasses: (
  234. 1.3.6.1.1.1.2.1 NAME 'shadowAccount' SUP top AUXILIARY
  235. DESC 'Additional attributes for shadow passwords'
  236. MUST uid
  237. MAY ( userPassword $ description $
  238. shadowLastChange $ shadowMin $ shadowMax $
  239. shadowWarning $ shadowInactive $
  240. shadowExpire $ shadowFlag )
  241. )
  242. objectClasses: (
  243. 1.3.6.1.1.1.2.2 NAME 'posixGroup' SUP top AUXILIARY
  244. DESC 'Abstraction of a group of accounts'
  245. MUST gidNumber
  246. MAY ( userPassword $ memberUid $
  247. description )
  248. )
  249. objectClasses: (
  250. 1.3.6.1.1.1.2.3 NAME 'ipService' SUP top STRUCTURAL
  251. DESC 'Abstraction an Internet Protocol service.
  252. Maps an IP port and protocol (such as tcp or udp)
  253. to one or more names; the distinguished value of
  254. the cn attribute denotes the services canonical
  255. name'
  256. MUST ( cn $ ipServicePort $ ipServiceProtocol )
  257. MAY description
  258. )
  259. objectClasses: (
  260. 1.3.6.1.1.1.2.4 NAME 'ipProtocol' SUP top STRUCTURAL
  261. DESC 'Abstraction of an IP protocol. Maps a protocol number
  262. to one or more names. The distinguished value of the cn
  263. attribute denotes the protocols canonical name'
  264. MUST ( cn $ ipProtocolNumber )
  265. MAY description
  266. )
  267. objectClasses: (
  268. 1.3.6.1.1.1.2.5 NAME 'oncRpc' SUP top STRUCTURAL
  269. DESC 'Abstraction of an Open Network Computing (ONC)
  270. [RFC1057] Remote Procedure Call (RPC) binding.
  271. This class maps an ONC RPC number to a name.
  272. The distinguished value of the cn attribute denotes
  273. the RPC services canonical name'
  274. MUST ( cn $ oncRpcNumber )
  275. MAY description
  276. )
  277. objectClasses: (
  278. 1.3.6.1.1.1.2.6 NAME 'ipHost' SUP top AUXILIARY
  279. DESC 'Abstraction of a host, an IP device. The distinguished
  280. value of the cn attribute denotes the hosts canonical
  281. name. Device SHOULD be used as a structural class'
  282. MUST ( cn $ ipHostNumber )
  283. MAY ( userPassword $ l $ description $ manager )
  284. )
  285. objectClasses: (
  286. 1.3.6.1.1.1.2.7 NAME 'ipNetwork' SUP top STRUCTURAL
  287. DESC 'Abstraction of a network. The distinguished value of
  288. the cn attribute denotes the networks canonical name'
  289. MUST ipNetworkNumber
  290. MAY ( cn $ ipNetmaskNumber $ l $ description $ manager )
  291. )
  292. objectClasses: (
  293. 1.3.6.1.1.1.2.8 NAME 'nisNetgroup' SUP top STRUCTURAL
  294. DESC 'Abstraction of a netgroup. May refer to other netgroups'
  295. MUST cn
  296. MAY ( nisNetgroupTriple $ memberNisNetgroup $ description )
  297. )
  298. objectClasses: (
  299. 1.3.6.1.1.1.2.9 NAME 'nisMap' SUP top STRUCTURAL
  300. DESC 'A generic abstraction of a NIS map'
  301. MUST nisMapName
  302. MAY description
  303. )
  304. objectClasses: (
  305. 1.3.6.1.1.1.2.10 NAME 'nisObject' SUP top STRUCTURAL
  306. DESC 'An entry in a NIS map'
  307. MUST ( cn $ nisMapEntry $ nisMapName )
  308. MAY description
  309. )
  310. objectClasses: (
  311. 1.3.6.1.1.1.2.11 NAME 'ieee802Device' SUP top AUXILIARY
  312. DESC 'A device with a MAC address; device SHOULD be
  313. used as a structural class'
  314. MAY macAddress
  315. )
  316. objectClasses: (
  317. 1.3.6.1.1.1.2.12 NAME 'bootableDevice' SUP top AUXILIARY
  318. DESC 'A device with boot parameters; device SHOULD be
  319. used as a structural class'
  320. MAY ( bootFile $ bootParameter )
  321. )
  322. objectClasses: (
  323. 1.3.6.1.1.1.2.14 NAME 'nisKeyObject' SUP top AUXILIARY
  324. DESC 'An object with a public and secret key'
  325. MUST ( cn $ nisPublicKey $ nisSecretKey )
  326. MAY ( uidNumber $ description )
  327. )
  328. objectClasses: (
  329. 1.3.6.1.1.1.2.15 NAME 'nisDomainObject' SUP top AUXILIARY
  330. DESC 'Associates a NIS domain with a naming context'
  331. MUST nisDomain
  332. )
  333. objectClasses: (
  334. 1.3.6.1.1.1.2.16 NAME 'automountMap' SUP top STRUCTURAL
  335. MUST ( automountMapName )
  336. MAY description
  337. )
  338. objectClasses: (
  339. 1.3.6.1.1.1.2.17 NAME 'automount' SUP top STRUCTURAL
  340. DESC 'Automount information'
  341. MUST ( automountKey $ automountInformation )
  342. MAY description
  343. )
  344. ## namedObject is needed for groups without members
  345. objectClasses: (
  346. 1.3.6.1.4.1.5322.13.1.1 NAME 'namedObject' SUP top STRUCTURAL
  347. MAY cn
  348. )