usersync.schema 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575
  1. #
  2. # BEGIN COPYRIGHT BLOCK
  3. # This Program is free software; you can redistribute it and/or modify it under
  4. # the terms of the GNU General Public License as published by the Free Software
  5. # Foundation; version 2 of the License.
  6. #
  7. # This Program is distributed in the hope that it will be useful, but WITHOUT
  8. # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
  9. # FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
  10. #
  11. # You should have received a copy of the GNU General Public License along with
  12. # this Program; if not, write to the Free Software Foundation, Inc., 59 Temple
  13. # Place, Suite 330, Boston, MA 02111-1307 USA.
  14. #
  15. # In addition, as a special exception, Red Hat, Inc. gives You the additional
  16. # right to link the code of this Program with code not covered under the GNU
  17. # General Public License ("Non-GPL Code") and to distribute linked combinations
  18. # including the two, subject to the limitations in this paragraph. Non-GPL Code
  19. # permitted under this exception must only link to the code of this Program
  20. # through those well defined interfaces identified in the file named EXCEPTION
  21. # found in the source code files (the "Approved Interfaces"). The files of
  22. # Non-GPL Code may instantiate templates or use macros or inline functions from
  23. # the Approved Interfaces without causing the resulting work to be covered by
  24. # the GNU General Public License. Only Red Hat, Inc. may make changes or
  25. # additions to the list of Approved Interfaces. You must obey the GNU General
  26. # Public License in all respects for all of the Program code and other code used
  27. # in conjunction with the Program except the Non-GPL Code covered by this
  28. # exception. If you modify this file, you may extend this exception to your
  29. # version of the file, but you are not obligated to do so. If you do not wish to
  30. # provide this exception without modification, you must delete this exception
  31. # statement from your version and license this file solely under the GPL without
  32. # exception.
  33. #
  34. #
  35. # Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
  36. # Copyright (C) 2005 Red Hat, Inc.
  37. # All rights reserved.
  38. # END COPYRIGHT BLOCK
  39. #
  40. # mystery section attributes
  41. attributetype ( 1.3.6.1.4.1.7114.2.1.10 NAME 'changetype'
  42. DESC 'AD ubiquitous changetype attribute'
  43. EQUALITY caseIgnoreIA5Match
  44. SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{8} SINGLE-VALUE )
  45. # Microsoft attributes
  46. #
  47. # Here follows definitions from schema/microsoft.schema
  48. # if you don't have the file o dont like the OIDs or so,
  49. # you MUST copy and paste this list attribute definition:
  50. #
  51. # SYNTAX changes:
  52. #
  53. # Large-Integer: 1.3.6.1.4.1.1466.115.121.1.27
  54. # Encoded as an Integer (OID 1.3.6.1.4.1.1466.115.121.1.27), but guaranteed
  55. # to support 64 bit numbers.
  56. # user attrs
  57. attributetype ( 1.2.840.113556.1.4.8 NAME 'userAccountControl'
  58. SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )
  59. attributetype ( 1.2.840.113556.1.4.166
  60. NAME 'groupMembershipSAM'
  61. SYNTAX 1.3.6.1.4.1.1466.115.121.1.40
  62. SINGLE-VALUE )
  63. attributetype ( 1.2.840.113556.1.4.213
  64. NAME 'defaultClassStore'
  65. SYNTAX 1.3.6.1.4.1.1466.115.121.1.12 )
  66. attributetype ( 1.2.840.113556.1.4.656
  67. NAME 'userPrincipalName'
  68. SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
  69. SINGLE-VALUE )
  70. attributetype ( 1.2.840.113556.1.4.86
  71. NAME 'userWorkstations'
  72. SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
  73. SINGLE-VALUE )
  74. attributetype ( 1.2.840.113556.1.4.65
  75. NAME 'logonWorkstation'
  76. SYNTAX 1.3.6.1.4.1.1466.115.121.1.40
  77. SINGLE-VALUE )
  78. attributetype ( 1.2.840.113556.1.4.751
  79. NAME 'userSharedFolder'
  80. SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
  81. SINGLE-VALUE )
  82. attributetype ( 1.2.840.113556.1.4.49
  83. NAME 'badPasswordTime'
  84. SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
  85. SINGLE-VALUE )
  86. attributetype ( 1.2.840.113556.1.4.302
  87. NAME 'sAMAccountType'
  88. SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
  89. SINGLE-VALUE )
  90. attributetype ( 1.2.840.113556.1.4.98
  91. NAME 'primaryGroupID'
  92. SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
  93. SINGLE-VALUE )
  94. attributetype ( 1.2.840.113556.1.4.159
  95. NAME 'accountExpires'
  96. SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
  97. SINGLE-VALUE )
  98. attributetype ( 1.2.840.113556.1.4.346
  99. NAME 'desktopProfile'
  100. SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
  101. SINGLE-VALUE )
  102. attributetype ( 1.2.840.113556.1.4.782
  103. NAME 'objectCategory'
  104. SYNTAX 1.3.6.1.4.1.1466.115.121.1.12
  105. SINGLE-VALUE )
  106. attributetype ( 1.2.840.113556.1.4.221
  107. NAME 'sAMAccountName'
  108. EQUALITY caseIgnoreMatch
  109. SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
  110. SINGLE-VALUE )
  111. attributetype ( 1.2.840.113556.1.4.144
  112. NAME 'operatorCount'
  113. SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
  114. SINGLE-VALUE )
  115. attributetype ( 1.2.840.113556.1.4.44
  116. NAME 'homeDirectory'
  117. SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
  118. SINGLE-VALUE )
  119. attributetype ( 1.2.840.113556.1.4.772
  120. NAME 'aCSPolicyName'
  121. SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
  122. SINGLE-VALUE )
  123. attributetype ( 1.2.840.113556.1.4.94
  124. NAME 'ntPwdHistory'
  125. SYNTAX 1.3.6.1.4.1.1466.115.121.1.40 )
  126. attributetype ( 1.2.840.113556.1.4.160
  127. NAME 'lmPwdHistory'
  128. SYNTAX 1.3.6.1.4.1.1466.115.121.1.40 )
  129. attributetype ( 1.2.840.113556.1.2.1
  130. NAME 'instanceType'
  131. SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
  132. SINGLE-VALUE
  133. NO-USER-MODIFICATION )
  134. attributetype ( 1.2.840.113556.1.4.97
  135. NAME 'preferredOU'
  136. SYNTAX 1.3.6.1.4.1.1466.115.121.1.12
  137. SINGLE-VALUE )
  138. attributetype ( 1.2.840.113556.1.4.662
  139. NAME 'lockoutTime'
  140. SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
  141. SINGLE-VALUE )
  142. attributetype ( 1.2.840.113556.1.4.25
  143. NAME 'countryCode'
  144. SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
  145. SINGLE-VALUE )
  146. attributetype ( 1.2.840.113556.1.4.139
  147. NAME 'profilePath'
  148. SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
  149. SINGLE-VALUE )
  150. attributetype ( 1.2.840.113556.1.4.12
  151. NAME 'badPwdCount'
  152. SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
  153. SINGLE-VALUE )
  154. attributetype ( 1.2.840.113556.1.2.13
  155. NAME 'displayName'
  156. SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
  157. SINGLE-VALUE )
  158. attributetype ( 1.2.840.113556.1.2.3
  159. NAME 'whenChanged'
  160. SYNTAX 1.3.6.1.4.1.1466.115.121.1.24
  161. SINGLE-VALUE )
  162. attributetype ( 1.2.840.113556.1.2.19
  163. NAME 'uSNCreated'
  164. SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
  165. SINGLE-VALUE )
  166. attributetype ( 1.2.840.113556.1.4.64
  167. NAME 'logonHours'
  168. SYNTAX 1.3.6.1.4.1.1466.115.121.1.40
  169. SINGLE-VALUE )
  170. attributetype ( 1.2.840.113556.1.4.96
  171. NAME 'pwdLastSet'
  172. SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
  173. SINGLE-VALUE )
  174. attributetype ( 1.2.840.113556.1.4.169
  175. NAME 'logonCount'
  176. SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
  177. SINGLE-VALUE )
  178. attributetype ( 1.2.840.113556.1.4.90
  179. NAME 'unicodePwd'
  180. SYNTAX 1.3.6.1.4.1.1466.115.121.1.40
  181. SINGLE-VALUE )
  182. attributetype ( 1.2.840.113556.1.4.62
  183. NAME 'scriptPath'
  184. SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
  185. SINGLE-VALUE )
  186. attributetype ( 1.2.840.113556.1.4.76
  187. NAME 'maxStorage'
  188. SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
  189. SINGLE-VALUE )
  190. attributetype ( 1.2.840.113556.1.4.51
  191. NAME 'lastLogoff'
  192. SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
  193. SINGLE-VALUE )
  194. attributetype ( 1.2.840.113556.1.2.120
  195. NAME 'uSNChanged'
  196. SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
  197. SINGLE-VALUE )
  198. attributetype ( 1.2.840.113556.1.4.2
  199. NAME 'objectGUID'
  200. SYNTAX 1.3.6.1.4.1.1466.115.121.1.40
  201. SINGLE-VALUE )
  202. attributetype ( 1.2.840.113556.1.4.52
  203. NAME 'lastLogon'
  204. SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
  205. SINGLE-VALUE )
  206. attributetype ( 1.2.840.113556.1.4.45
  207. NAME 'homeDrive'
  208. SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
  209. SINGLE-VALUE )
  210. attributetype ( 1.2.840.113556.1.2.102
  211. NAME 'memberOf'
  212. SYNTAX 1.3.6.1.4.1.1466.115.121.1.12
  213. NO-USER-MODIFICATION )
  214. attributetype ( 1.2.840.113556.1.4.58
  215. NAME 'localeID'
  216. SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 )
  217. attributetype ( 1.2.840.113556.1.4.16
  218. NAME 'codePage'
  219. SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
  220. SINGLE-VALUE )
  221. attributetype ( 1.2.840.113556.1.4.55
  222. NAME 'dBCSPwd'
  223. SYNTAX 1.3.6.1.4.1.1466.115.121.1.40
  224. SINGLE-VALUE )
  225. attributetype ( 1.2.840.113556.1.4.91
  226. NAME 'otherLoginWorkstations'
  227. SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
  228. attributetype ( 1.2.840.113556.1.4.752
  229. NAME 'userSharedFolderOther'
  230. SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
  231. attributetype ( 1.2.840.113556.1.2.353
  232. NAME 'displayNamePrintable'
  233. SYNTAX 1.3.6.1.4.1.1466.115.121.1.44
  234. SINGLE-VALUE )
  235. attributetype ( 1.2.840.113556.1.4.771
  236. NAME 'servicePrincipalName'
  237. SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
  238. attributetype ( 1.2.840.113556.1.4.200
  239. NAME 'controlAccessRights'
  240. SYNTAX 1.3.6.1.4.1.1466.115.121.1.40 )
  241. # computer attrs
  242. attributetype ( 1.2.840.113556.1.4.669
  243. NAME 'rIDSetReferences'
  244. SYNTAX 1.3.6.1.4.1.1466.115.121.1.12
  245. NO-USER-MODIFICATION )
  246. attributetype ( 1.2.840.113556.1.4.56
  247. NAME 'localPolicyFlags'
  248. SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
  249. SINGLE-VALUE )
  250. attributetype ( 1.2.840.113556.1.4.363
  251. NAME 'operatingSystem'
  252. SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
  253. SINGLE-VALUE )
  254. attributetype ( 1.2.840.113556.1.4.507
  255. NAME 'volumeCount'
  256. SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
  257. SINGLE-VALUE )
  258. attributetype ( 1.2.840.113556.1.4.619
  259. NAME 'dNSHostName'
  260. SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
  261. SINGLE-VALUE )
  262. attributetype ( 1.2.840.113556.1.4.71
  263. NAME 'machineRole'
  264. SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
  265. SINGLE-VALUE )
  266. attributetype ( 1.2.840.113556.1.4.365
  267. NAME 'operatingSystemServicePack'
  268. SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
  269. SINGLE-VALUE )
  270. attributetype ( 1.2.840.113556.1.4.364
  271. NAME 'operatingSystemVersion'
  272. SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
  273. SINGLE-VALUE )
  274. attributetype ( 1.2.840.113556.1.4.868
  275. NAME 'isCriticalSystemObject'
  276. SYNTAX 1.3.6.1.4.1.1466.115.121.1.7
  277. SINGLE-VALUE )
  278. attributetype ( 1.2.840.113556.1.4.514
  279. NAME 'physicalLocationObject'
  280. SYNTAX 1.3.6.1.4.1.1466.115.121.1.12
  281. SINGLE-VALUE )
  282. attributetype ( 1.2.840.113556.1.4.415
  283. NAME 'operatingSystemHotfix'
  284. SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
  285. SINGLE-VALUE )
  286. attributetype ( 1.2.840.113556.1.2.2
  287. NAME 'whenCreated'
  288. SYNTAX 1.3.6.1.4.1.1466.115.121.1.24
  289. SINGLE-VALUE
  290. NO-USER-MODIFICATION )
  291. # group attrs
  292. attributetype ( 1.2.840.113556.1.4.375
  293. NAME 'systemFlags'
  294. SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
  295. SINGLE-VALUE
  296. NO-USER-MODIFICATION )
  297. attributetype ( 1.2.840.113556.1.4.150
  298. NAME 'adminCount'
  299. SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
  300. SINGLE-VALUE )
  301. attributetype ( 1.2.840.113556.1.4.750
  302. NAME 'groupType'
  303. SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
  304. SINGLE-VALUE )
  305. attributetype ( 1.2.840.113556.1.4.146
  306. NAME 'objectSid'
  307. SYNTAX 1.3.6.1.4.1.1466.115.121.1.40
  308. SINGLE-VALUE )
  309. attributetype ( 1.2.840.113556.1.2.169
  310. NAME 'showInAdvancedViewOnly'
  311. SYNTAX 1.3.6.1.4.1.1466.115.121.1.7
  312. SINGLE-VALUE )
  313. # ridSet attrs
  314. attributetype ( 1.2.840.113556.1.4.371
  315. NAME 'rIDAllocationPool'
  316. SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
  317. SINGLE-VALUE
  318. NO-USER-MODIFICATION )
  319. attributetype ( 1.2.840.113556.1.4.373
  320. NAME 'rIDUsedPool'
  321. SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
  322. SINGLE-VALUE
  323. NO-USER-MODIFICATION )
  324. attributetype ( 1.2.840.113556.1.4.372
  325. NAME 'rIDPreviousAllocationPool'
  326. SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
  327. SINGLE-VALUE
  328. NO-USER-MODIFICATION )
  329. attributetype ( 1.2.840.113556.1.4.374
  330. NAME 'rIDNextRID'
  331. SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
  332. SINGLE-VALUE
  333. NO-USER-MODIFICATION )
  334. # ridManager attrs
  335. attributetype ( 1.2.840.113556.1.4.370
  336. NAME 'rIDAvailablePool'
  337. SYNTAX 1.3.6.1.4.1.1466.115.121.1.27
  338. SINGLE-VALUE )
  339. attributetype ( 1.2.840.113556.1.4.369
  340. NAME 'fSMORoleOwner'
  341. SYNTAX 1.3.6.1.4.1.1466.115.121.1.12
  342. SINGLE-VALUE )
  343. # objectClass defs
  344. objectclass ( 1.3.6.1.4.1.7114.2.2.10
  345. NAME 'user'
  346. SUP organizationalPerson
  347. STRUCTURAL
  348. MUST ( objectSid $ objectClass $ cn )
  349. MAY (
  350. accountExpires $
  351. aCSPolicyName $
  352. adminCount $
  353. badPasswordTime $
  354. badPwdCount $
  355. changetype $
  356. codePage $
  357. controlAccessRights $
  358. countryCode $
  359. dBCSPwd $
  360. defaultClassStore $
  361. description $
  362. desktopProfile $
  363. displayName $
  364. distinguishedName $
  365. givenName $
  366. groupMembershipSAM $
  367. homeDirectory $
  368. homeDrive $
  369. instanceType $
  370. lastLogoff $
  371. lastLogon $
  372. lmPwdHistory $
  373. localeID $
  374. lockoutTime $
  375. logonCount $
  376. logonHours $
  377. logonWorkstation $
  378. maxStorage $
  379. memberOf $
  380. name $
  381. ntPwdHistory $
  382. objectCategory $
  383. objectGUID $
  384. operatorCount $
  385. otherLoginWorkstations $
  386. preferredOU $
  387. primaryGroupID $
  388. profilePath $
  389. pwdLastSet $
  390. sAMAccountName $
  391. sAMAccountType $
  392. scriptPath $
  393. servicePrincipalName $
  394. unicodePwd $
  395. userAccountControl $
  396. userPrincipalName $
  397. userSharedFolder $
  398. userSharedFolderOther $
  399. userWorkstations $
  400. uSNChanged $
  401. uSNCreated $
  402. whenChanged $
  403. whenCreated ) )
  404. objectclass ( 1.3.6.1.4.1.7114.2.2.11
  405. NAME 'computer'
  406. SUP user
  407. STRUCTURAL
  408. MAY (
  409. description $
  410. dNSHostName $
  411. isCriticalSystemObject $
  412. localPolicyFlags $
  413. machineRole $
  414. operatingSystem $
  415. operatingSystemHotfix $
  416. operatingSystemServicePack $
  417. operatingSystemVersion $
  418. physicalLocationObject $
  419. rIDSetReferences $
  420. volumeCount ) )
  421. objectclass ( 1.3.6.1.4.1.7114.2.2.12
  422. NAME 'group'
  423. SUP top
  424. STRUCTURAL
  425. MUST (groupType $ cn )
  426. MAY (
  427. adminCount $
  428. changetype $
  429. controlAccessRights $
  430. description $
  431. distinguishedName $
  432. instanceType $
  433. isCriticalSystemObject $
  434. member $
  435. name $
  436. groupType $
  437. showInAdvancedViewOnly $
  438. systemFlags $
  439. objectCategory $
  440. objectGUID $
  441. objectSid $
  442. sAMAccountName $
  443. sAMAccountType $
  444. uSNChanged $
  445. uSNCreated $
  446. whenChanged $
  447. whenCreated ) )
  448. objectclass ( 1.3.6.1.4.1.7114.2.2.13
  449. NAME 'rIDManager'
  450. SUP top
  451. STRUCTURAL
  452. MUST (rIDAvailablePool )
  453. MAY (
  454. changetype $
  455. cn $
  456. fSMORoleOwner $
  457. instanceType $
  458. isCriticalSystemObject $
  459. distinguishedName $
  460. objectCategory $
  461. objectGUID $
  462. name $
  463. showInAdvancedViewOnly $
  464. systemFlags $
  465. uSNChanged $
  466. uSNCreated $
  467. whenChanged $
  468. whenCreated ) )
  469. objectclass ( 1.3.6.1.4.1.7114.2.2.14
  470. NAME 'rIDSet'
  471. SUP top
  472. STRUCTURAL
  473. MUST (
  474. cn $
  475. rIDAllocationPool $
  476. rIDPreviousAllocationPool $
  477. rIDUsedPool $
  478. rIDNextRID )
  479. MAY (
  480. instanceType $
  481. distinguishedName $
  482. objectCategory $
  483. objectGUID $
  484. name $
  485. showInAdvancedViewOnly $
  486. uSNChanged $
  487. uSNCreated $
  488. whenChanged $
  489. whenCreated $
  490. changetype ) )