Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

4953 lines
141 KiB

  1. AdminManager - 'Admin Manager specific operations'
  2. AzInitialize (1)
  3. AdminManager - 'Ensure the admin manager object is marked writable'
  4. AzGetProperty (3)
  5. '1'
  6. AdminManager - 'Set description on Admin Manager'
  7. AzGetProperty (2)
  8. ''
  9. AzSetProperty 'Adm Desc' (2)
  10. AzGetProperty (2)
  11. 'Adm Desc'
  12. AdminManager - 'Set Application Data on AdminManager'
  13. AzGetProperty (4)
  14. ''
  15. AzSetProperty 'Adm Application Data' (4)
  16. AzGetProperty (4)
  17. 'Adm Application Data'
  18. AzGetProperty (100)
  19. '15000'
  20. AzSetProperty '800' (100)
  21. AzGetProperty (100)
  22. '800'
  23. AzAdminManagerDelete
  24. AzCloseHandle
  25. AdminManager - 'Test closing admin manager with other handle open'
  26. AzInitialize (1)
  27. AzApplicationCreate 'MyApp'
  28. AzCloseHandle
  29. AzCloseHandle
  30. AzInitialize
  31. AzAdminManagerDelete
  32. AzCloseHandle
  33. AdminManager->Application - Perform tests of 'Application' objects that are children of 'AdminManager' objects
  34. AdminManager->Application - 'Admin Manager generic Child object test'
  35. AzInitialize (1)
  36. DupHandle
  37. GoSub
  38. AdminManager->Application - 'Gen object test'
  39. AzApplicationCreate '|' (ERROR_INVALID_NAME)
  40. AzApplicationCreate 'Name1'
  41. DupHandle
  42. AzCloseHandle
  43. AzCloseHandle (ERROR_INVALID_HANDLE)
  44. AzApplicationEnum (ERROR_INVALID_HANDLE)
  45. AzApplicationEnum
  46. 1:
  47. DupHandle
  48. AzCloseHandle
  49. AzCloseHandle (ERROR_INVALID_HANDLE)
  50. AzCloseHandle (ERROR_INVALID_HANDLE)
  51. AzApplicationEnum
  52. 1:
  53. AzGetProperty (1)
  54. 'Name1'
  55. AzGetProperty (2)
  56. ''
  57. AzCloseHandle
  58. AzApplicationCreate 'Name2'
  59. AzApplicationEnum
  60. 1:
  61. AzGetProperty (1)
  62. 'Name1'
  63. AzGetProperty (2)
  64. ''
  65. AzCloseHandle
  66. 2:
  67. AzGetProperty (1)
  68. 'Name2'
  69. AzGetProperty (2)
  70. ''
  71. AzCloseHandle
  72. AzCloseHandle
  73. AdminManager->Application - 'Delete an object and make sure it doesn't get enumerated'
  74. AzApplicationCreate 'Name3'
  75. AzApplicationDelete 'Name3'
  76. AzCloseHandle
  77. AzApplicationEnum
  78. 1:
  79. AzGetProperty (1)
  80. 'Name1'
  81. AzGetProperty (2)
  82. ''
  83. AzCloseHandle
  84. 2:
  85. AzGetProperty (1)
  86. 'Name2'
  87. AzGetProperty (2)
  88. ''
  89. AzCloseHandle
  90. AdminManager->Application - 'Create an object whose name equals that of a deleted object'
  91. AzApplicationCreate 'Name3'
  92. AzCloseHandle
  93. AzApplicationEnum
  94. 1:
  95. AzGetProperty (1)
  96. 'Name1'
  97. AzGetProperty (2)
  98. ''
  99. AzCloseHandle
  100. 2:
  101. AzGetProperty (1)
  102. 'Name2'
  103. AzGetProperty (2)
  104. ''
  105. AzCloseHandle
  106. 4:
  107. AzGetProperty (1)
  108. 'Name3'
  109. AzGetProperty (2)
  110. ''
  111. AzCloseHandle
  112. AdminManager->Application - 'Delete an object that isn't on the tail end of the enum list'
  113. AzApplicationDelete 'Name2'
  114. AzApplicationEnum
  115. 1:
  116. AzGetProperty (1)
  117. 'Name1'
  118. AzGetProperty (2)
  119. ''
  120. AzCloseHandle
  121. 4:
  122. AzGetProperty (1)
  123. 'Name3'
  124. AzGetProperty (2)
  125. ''
  126. AzCloseHandle
  127. AdminManager->Application - 'Basic get/set property tests'
  128. AzApplicationCreate 'Name4'
  129. AzGetProperty (1)
  130. 'Name4'
  131. AzSetProperty '|' (1) (ERROR_INVALID_NAME)
  132. AzGetProperty (1)
  133. 'Name4'
  134. AzSetProperty 'Name4' (1) (ERROR_ALREADY_EXISTS)
  135. AzGetProperty (1)
  136. 'Name4'
  137. AzSetProperty 'Name3' (1) (ERROR_ALREADY_EXISTS)
  138. AzGetProperty (1)
  139. 'Name4'
  140. AzGetProperty (2)
  141. ''
  142. AzSetProperty 'WasName4' (1)
  143. AzSetProperty 'Nam4 Desc' (2)
  144. AzGetProperty (1)
  145. 'WasName4'
  146. AzGetProperty (2)
  147. 'Nam4 Desc'
  148. AzApplicationEnum
  149. 1:
  150. AzGetProperty (1)
  151. 'Name1'
  152. AzGetProperty (2)
  153. ''
  154. AzCloseHandle
  155. 4:
  156. AzGetProperty (1)
  157. 'Name3'
  158. AzGetProperty (2)
  159. ''
  160. AzCloseHandle
  161. 5:
  162. AzGetProperty (1)
  163. 'WasName4'
  164. AzGetProperty (2)
  165. 'Nam4 Desc'
  166. AzCloseHandle
  167. AzCloseHandle
  168. AdminManager->Application - 'Ensure a newly created object is writable'
  169. AzApplicationCreate 'Name5'
  170. AzGetProperty (3)
  171. '1'
  172. AzCloseHandle
  173. AdminManager->Application - 'Open test'
  174. AzApplicationOpen 'Name1'
  175. AzGetProperty (1)
  176. 'Name1'
  177. AzCloseHandle
  178. AzApplicationOpen 'NameBad' (ERROR_NOT_FOUND)
  179. AzAdminManagerDelete
  180. AzCloseHandle
  181. AdminManager->Application - 'Test creating two objects with the same name'
  182. AzInitialize (1)
  183. AzApplicationCreate 'Name1'
  184. AzApplicationCreate 'Name1' (ERROR_ALREADY_EXISTS)
  185. AzCloseHandle
  186. AzAdminManagerDelete
  187. AzCloseHandle
  188. AdminManager->Application - 'Application object specific tests'
  189. AzInitialize (1)
  190. AzApplicationCreate 'MyApp'
  191. AdminManager->Application - 'Ensure CLSID can be set'
  192. AzGetProperty (800)
  193. ''
  194. AzSetProperty 'Rule1' (800) (RPC_S_INVALID_STRING_UUID)
  195. AzSetProperty '47e348af-ff79-41af-8a67-2835d4c417f4' (800)
  196. AzGetProperty (800)
  197. '47e348af-ff79-41af-8a67-2835d4c417f4'
  198. AzSetProperty (800)
  199. AzGetProperty (800)
  200. ''
  201. AdminManager->Application - 'Ensure app version can be set'
  202. AzGetProperty (801)
  203. ''
  204. AzSetProperty '2160.5' (801)
  205. AzGetProperty (801)
  206. '2160.5'
  207. AdminManager->Application - 'Ensure app data can be set'
  208. AzGetProperty (4)
  209. ''
  210. AzSetProperty 'App Application Data' (4)
  211. AzGetProperty (4)
  212. 'App Application Data'
  213. AzCloseHandle
  214. AzAdminManagerDelete
  215. AzCloseHandle
  216. AdminManager->Group - Perform tests of 'Group' objects that are children of 'AdminManager' objects
  217. AdminManager->Group - 'Admin Manager generic Child object test'
  218. AzInitialize (1)
  219. DupHandle
  220. GoSub
  221. AdminManager->Group - 'Gen object test'
  222. AzGroupCreate '|' (ERROR_INVALID_NAME)
  223. AzGroupCreate 'Name1'
  224. DupHandle
  225. AzCloseHandle
  226. AzCloseHandle (ERROR_INVALID_HANDLE)
  227. AzGroupEnum (ERROR_INVALID_HANDLE)
  228. AzGroupEnum
  229. 1:
  230. DupHandle
  231. AzCloseHandle
  232. AzCloseHandle (ERROR_INVALID_HANDLE)
  233. AzCloseHandle (ERROR_INVALID_HANDLE)
  234. AzGroupEnum
  235. 1:
  236. AzGetProperty (1)
  237. 'Name1'
  238. AzGetProperty (2)
  239. ''
  240. AzCloseHandle
  241. AzGroupCreate 'Name2'
  242. AzGroupEnum
  243. 1:
  244. AzGetProperty (1)
  245. 'Name1'
  246. AzGetProperty (2)
  247. ''
  248. AzCloseHandle
  249. 2:
  250. AzGetProperty (1)
  251. 'Name2'
  252. AzGetProperty (2)
  253. ''
  254. AzCloseHandle
  255. AzCloseHandle
  256. AdminManager->Group - 'Delete an object and make sure it doesn't get enumerated'
  257. AzGroupCreate 'Name3'
  258. AzGroupDelete 'Name3'
  259. AzCloseHandle
  260. AzGroupEnum
  261. 1:
  262. AzGetProperty (1)
  263. 'Name1'
  264. AzGetProperty (2)
  265. ''
  266. AzCloseHandle
  267. 2:
  268. AzGetProperty (1)
  269. 'Name2'
  270. AzGetProperty (2)
  271. ''
  272. AzCloseHandle
  273. AdminManager->Group - 'Create an object whose name equals that of a deleted object'
  274. AzGroupCreate 'Name3'
  275. AzCloseHandle
  276. AzGroupEnum
  277. 1:
  278. AzGetProperty (1)
  279. 'Name1'
  280. AzGetProperty (2)
  281. ''
  282. AzCloseHandle
  283. 2:
  284. AzGetProperty (1)
  285. 'Name2'
  286. AzGetProperty (2)
  287. ''
  288. AzCloseHandle
  289. 4:
  290. AzGetProperty (1)
  291. 'Name3'
  292. AzGetProperty (2)
  293. ''
  294. AzCloseHandle
  295. AdminManager->Group - 'Delete an object that isn't on the tail end of the enum list'
  296. AzGroupDelete 'Name2'
  297. AzGroupEnum
  298. 1:
  299. AzGetProperty (1)
  300. 'Name1'
  301. AzGetProperty (2)
  302. ''
  303. AzCloseHandle
  304. 4:
  305. AzGetProperty (1)
  306. 'Name3'
  307. AzGetProperty (2)
  308. ''
  309. AzCloseHandle
  310. AdminManager->Group - 'Basic get/set property tests'
  311. AzGroupCreate 'Name4'
  312. AzGetProperty (1)
  313. 'Name4'
  314. AzSetProperty '|' (1) (ERROR_INVALID_NAME)
  315. AzGetProperty (1)
  316. 'Name4'
  317. AzSetProperty 'Name4' (1) (ERROR_ALREADY_EXISTS)
  318. AzGetProperty (1)
  319. 'Name4'
  320. AzSetProperty 'Name3' (1) (ERROR_ALREADY_EXISTS)
  321. AzGetProperty (1)
  322. 'Name4'
  323. AzGetProperty (2)
  324. ''
  325. AzSetProperty 'WasName4' (1)
  326. AzSetProperty 'Nam4 Desc' (2)
  327. AzGetProperty (1)
  328. 'WasName4'
  329. AzGetProperty (2)
  330. 'Nam4 Desc'
  331. AzGroupEnum
  332. 1:
  333. AzGetProperty (1)
  334. 'Name1'
  335. AzGetProperty (2)
  336. ''
  337. AzCloseHandle
  338. 4:
  339. AzGetProperty (1)
  340. 'Name3'
  341. AzGetProperty (2)
  342. ''
  343. AzCloseHandle
  344. 5:
  345. AzGetProperty (1)
  346. 'WasName4'
  347. AzGetProperty (2)
  348. 'Nam4 Desc'
  349. AzCloseHandle
  350. AzCloseHandle
  351. AdminManager->Group - 'Ensure a newly created object is writable'
  352. AzGroupCreate 'Name5'
  353. AzGetProperty (3)
  354. '1'
  355. AzCloseHandle
  356. AdminManager->Group - 'Open test'
  357. AzGroupOpen 'Name1'
  358. AzGetProperty (1)
  359. 'Name1'
  360. AzCloseHandle
  361. AzGroupOpen 'NameBad' (ERROR_NOT_FOUND)
  362. AzAdminManagerDelete
  363. AzCloseHandle
  364. AdminManager->Group - 'Test creating two objects with the same name'
  365. AzInitialize (1)
  366. AzGroupCreate 'Name1'
  367. AzGroupCreate 'Name1' (ERROR_ALREADY_EXISTS)
  368. AzCloseHandle
  369. AzAdminManagerDelete
  370. AzCloseHandle
  371. AdminManager->Group - 'Group objects that are children of an admin manager'
  372. AzInitialize (1)
  373. DupHandle
  374. GoSub
  375. AdminManager->Group - 'Group object specific tests'
  376. AzGroupCreate 'Group A'
  377. AzGroupCreate 'Group B'
  378. AdminManager->Group - 'Create some groups to link the group to'
  379. AzGroupCreate 'Group 1'
  380. AzCloseHandle
  381. AzGroupCreate 'Group 2'
  382. AzCloseHandle
  383. AzGroupCreate 'Group 3'
  384. AzCloseHandle
  385. AdminManager->Group - 'Set group type to an invalid value'
  386. AzSetProperty '8' (400) (ERROR_INVALID_PARAMETER)
  387. AzSetProperty '2' (400)
  388. AdminManager->Group - 'Reference ourself'
  389. AzGetProperty (401)
  390. AzGetProperty (404)
  391. AzAddProperty 'Group A' (401) (ERROR_DS_LOOP_DETECT)
  392. AdminManager->Group->Group - Test linking 'Group' objects to the object named 'Group A' using propid '401'.
  393. AdminManager->Group->Group - 'Create some objects to link the object to'
  394. AzGroupCreate 'Object 1'
  395. AzCloseHandle
  396. AzGroupCreate 'Object 2'
  397. AzCloseHandle
  398. AzGroupCreate 'Object 3'
  399. AzCloseHandle
  400. AdminManager->Group->Group - 'Reference an object that doesn't exist'
  401. AzGetProperty (401)
  402. AzSetProperty 'random' (401) (ERROR_INVALID_PARAMETER)
  403. AzAddProperty 'random' (401) (ERROR_NOT_FOUND)
  404. AdminManager->Group->Group - 'Add and remove several objects'
  405. AzAddProperty 'Object 2' (401)
  406. AzGetProperty (401)
  407. 'Object 2'
  408. AzAddProperty 'Object 3' (401)
  409. AzGetProperty (401)
  410. 'Object 2'
  411. 'Object 3'
  412. AzAddProperty 'Object 1' (401)
  413. AzGetProperty (401)
  414. 'Object 1'
  415. 'Object 2'
  416. 'Object 3'
  417. AzRemProperty 'Object 1' (401)
  418. AzGetProperty (401)
  419. 'Object 2'
  420. 'Object 3'
  421. AzRemProperty 'Object 2' (401)
  422. AzGetProperty (401)
  423. 'Object 3'
  424. AdminManager->Group->Group - 'Add an item that already exists'
  425. AzAddProperty 'Object 3' (401) (ERROR_ALREADY_EXISTS)
  426. AzGetProperty (401)
  427. 'Object 3'
  428. AzRemProperty 'Object 3' (401)
  429. AzGetProperty (401)
  430. AdminManager->Group->Group - 'Try more than 4 since reference buckets come in multiples of 4'
  431. AzGroupCreate 'Object 4'
  432. AzCloseHandle
  433. AzGroupCreate 'Object 5'
  434. AzCloseHandle
  435. AzGroupCreate 'Object 6'
  436. AzCloseHandle
  437. AzAddProperty 'Object 1' (401)
  438. AzAddProperty 'Object 4' (401)
  439. AzAddProperty 'Object 2' (401)
  440. AzAddProperty 'Object 5' (401)
  441. AzAddProperty 'Object 3' (401)
  442. AzAddProperty 'Object 6' (401)
  443. AzGetProperty (401)
  444. 'Object 1'
  445. 'Object 2'
  446. 'Object 3'
  447. 'Object 4'
  448. 'Object 5'
  449. 'Object 6'
  450. AzGroupDelete 'Object 1' (401)
  451. AzGroupDelete 'Object 4' (401)
  452. AzGroupDelete 'Object 2' (401)
  453. AzGroupDelete 'Object 5' (401)
  454. AzGroupDelete 'Object 3' (401)
  455. AzGroupDelete 'Object 6' (401)
  456. AdminManager->Group->Sid - Test linking 'Sid' objects to the object named 'Group A' using propid '404'.
  457. AdminManager->Group->Sid - 'Add and remove several links to sids'
  458. AzAddProperty 'S-1-1000-2'(404)
  459. AzGetProperty (404)
  460. 'S-1-1000-2'
  461. AzAddProperty 'S-1-1000-3'(404)
  462. AzGetProperty (404)
  463. 'S-1-1000-2'
  464. 'S-1-1000-3'
  465. AzAddProperty 'S-1-1000-1'(404)
  466. AzGetProperty (404)
  467. 'S-1-1000-1'
  468. 'S-1-1000-2'
  469. 'S-1-1000-3'
  470. AzRemProperty 'S-1-1000-1'(404)
  471. AzGetProperty (404)
  472. 'S-1-1000-2'
  473. 'S-1-1000-3'
  474. AzRemProperty 'S-1-1000-2'(404)
  475. AzGetProperty (404)
  476. 'S-1-1000-3'
  477. AdminManager->Group->Sid - 'Add a link that already exists'
  478. AzAddProperty 'S-1-1000-3'(404) (ERROR_ALREADY_EXISTS)
  479. AzGetProperty (404)
  480. 'S-1-1000-3'
  481. AzRemProperty 'S-1-1000-3'(404)
  482. AzGetProperty (404)
  483. AdminManager->Group->Sid - 'Try more than 4 since reference buckets come in multiples of 4'
  484. AzAddProperty 'S-1-1000-1'(404)
  485. AzAddProperty 'S-1-1000-4'(404)
  486. AzAddProperty 'S-1-1000-2'(404)
  487. AzAddProperty 'S-1-1000-5'(404)
  488. AzAddProperty 'S-1-1000-3'(404)
  489. AzAddProperty 'S-1-1000-6'(404)
  490. AzGetProperty (404)
  491. 'S-1-1000-1'
  492. 'S-1-1000-2'
  493. 'S-1-1000-3'
  494. 'S-1-1000-4'
  495. 'S-1-1000-5'
  496. 'S-1-1000-6'
  497. AdminManager->Group - 'Same as above, but for the non-members attribute'
  498. AzGetProperty (402)
  499. AzGetProperty (405)
  500. AzAddProperty 'Group A' (402) (ERROR_DS_LOOP_DETECT)
  501. AdminManager->Group->Group - Test linking 'Group' objects to the object named 'Group A' using propid '402'.
  502. AdminManager->Group->Group - 'Create some objects to link the object to'
  503. AzGroupCreate 'Object 1'
  504. AzCloseHandle
  505. AzGroupCreate 'Object 2'
  506. AzCloseHandle
  507. AzGroupCreate 'Object 3'
  508. AzCloseHandle
  509. AdminManager->Group->Group - 'Reference an object that doesn't exist'
  510. AzGetProperty (402)
  511. AzSetProperty 'random' (402) (ERROR_INVALID_PARAMETER)
  512. AzAddProperty 'random' (402) (ERROR_NOT_FOUND)
  513. AdminManager->Group->Group - 'Add and remove several objects'
  514. AzAddProperty 'Object 2' (402)
  515. AzGetProperty (402)
  516. 'Object 2'
  517. AzAddProperty 'Object 3' (402)
  518. AzGetProperty (402)
  519. 'Object 2'
  520. 'Object 3'
  521. AzAddProperty 'Object 1' (402)
  522. AzGetProperty (402)
  523. 'Object 1'
  524. 'Object 2'
  525. 'Object 3'
  526. AzRemProperty 'Object 1' (402)
  527. AzGetProperty (402)
  528. 'Object 2'
  529. 'Object 3'
  530. AzRemProperty 'Object 2' (402)
  531. AzGetProperty (402)
  532. 'Object 3'
  533. AdminManager->Group->Group - 'Add an item that already exists'
  534. AzAddProperty 'Object 3' (402) (ERROR_ALREADY_EXISTS)
  535. AzGetProperty (402)
  536. 'Object 3'
  537. AzRemProperty 'Object 3' (402)
  538. AzGetProperty (402)
  539. AdminManager->Group->Group - 'Try more than 4 since reference buckets come in multiples of 4'
  540. AzGroupCreate 'Object 4'
  541. AzCloseHandle
  542. AzGroupCreate 'Object 5'
  543. AzCloseHandle
  544. AzGroupCreate 'Object 6'
  545. AzCloseHandle
  546. AzAddProperty 'Object 1' (402)
  547. AzAddProperty 'Object 4' (402)
  548. AzAddProperty 'Object 2' (402)
  549. AzAddProperty 'Object 5' (402)
  550. AzAddProperty 'Object 3' (402)
  551. AzAddProperty 'Object 6' (402)
  552. AzGetProperty (402)
  553. 'Object 1'
  554. 'Object 2'
  555. 'Object 3'
  556. 'Object 4'
  557. 'Object 5'
  558. 'Object 6'
  559. AzGroupDelete 'Object 1' (402)
  560. AzGroupDelete 'Object 4' (402)
  561. AzGroupDelete 'Object 2' (402)
  562. AzGroupDelete 'Object 5' (402)
  563. AzGroupDelete 'Object 3' (402)
  564. AzGroupDelete 'Object 6' (402)
  565. AdminManager->Group->Sid - Test linking 'Sid' objects to the object named 'Group A' using propid '405'.
  566. AdminManager->Group->Sid - 'Add and remove several links to sids'
  567. AzAddProperty 'S-1-1000-2'(405)
  568. AzGetProperty (405)
  569. 'S-1-1000-2'
  570. AzAddProperty 'S-1-1000-3'(405)
  571. AzGetProperty (405)
  572. 'S-1-1000-2'
  573. 'S-1-1000-3'
  574. AzAddProperty 'S-1-1000-1'(405)
  575. AzGetProperty (405)
  576. 'S-1-1000-1'
  577. 'S-1-1000-2'
  578. 'S-1-1000-3'
  579. AzRemProperty 'S-1-1000-1'(405)
  580. AzGetProperty (405)
  581. 'S-1-1000-2'
  582. 'S-1-1000-3'
  583. AzRemProperty 'S-1-1000-2'(405)
  584. AzGetProperty (405)
  585. 'S-1-1000-3'
  586. AdminManager->Group->Sid - 'Add a link that already exists'
  587. AzAddProperty 'S-1-1000-3'(405) (ERROR_ALREADY_EXISTS)
  588. AzGetProperty (405)
  589. 'S-1-1000-3'
  590. AzRemProperty 'S-1-1000-3'(405)
  591. AzGetProperty (405)
  592. AdminManager->Group->Sid - 'Try more than 4 since reference buckets come in multiples of 4'
  593. AzAddProperty 'S-1-1000-1'(405)
  594. AzAddProperty 'S-1-1000-4'(405)
  595. AzAddProperty 'S-1-1000-2'(405)
  596. AzAddProperty 'S-1-1000-5'(405)
  597. AzAddProperty 'S-1-1000-3'(405)
  598. AzAddProperty 'S-1-1000-6'(405)
  599. AzGetProperty (405)
  600. 'S-1-1000-1'
  601. 'S-1-1000-2'
  602. 'S-1-1000-3'
  603. 'S-1-1000-4'
  604. 'S-1-1000-5'
  605. 'S-1-1000-6'
  606. AdminManager->Group - 'Set LdapQuery string on a basic group'
  607. AzGetProperty (403)
  608. ''
  609. AzSetProperty 'TheQuery' (403) (ERROR_INVALID_PARAMETER)
  610. AzSetProperty '1' (400) (ERROR_INVALID_PARAMETER)
  611. AzSetProperty 'TheQuery' (403) (ERROR_INVALID_PARAMETER)
  612. AzGetProperty (403)
  613. ''
  614. AzSetProperty '2' (400)
  615. AzSetProperty 'TheQuery' (403) (ERROR_INVALID_PARAMETER)
  616. AzSetProperty '' (403)
  617. AdminManager->Group - 'Set LdapQuery string on an ldap query group'
  618. AzGetProperty (403)
  619. ''
  620. AzSetProperty 'TheQuery' (403) (ERROR_INVALID_PARAMETER)
  621. AzSetProperty '1' (400)
  622. AzSetProperty 'TheQuery' (403)
  623. AzGetProperty (403)
  624. 'TheQuery'
  625. AzSetProperty '2' (400) (ERROR_INVALID_PARAMETER)
  626. AzGetProperty (403)
  627. 'TheQuery'
  628. AzSetProperty '' (403)
  629. AdminManager->Group - 'Test loops'
  630. AzSetProperty '2' (400)
  631. AzAddProperty 'Group B' (401)
  632. AzAddProperty 'Group A' (401) (ERROR_DS_LOOP_DETECT)
  633. AzAddProperty 'Group B' (402)
  634. AzAddProperty 'Group A' (402) (ERROR_DS_LOOP_DETECT)
  635. AzRemProperty 'Group B' (402)
  636. AzRemProperty 'Group B' (401)
  637. AzCloseHandle
  638. AzCloseHandle
  639. AzAdminManagerDelete
  640. AzCloseHandle
  641. Application->Operation - Perform tests of 'Operation' objects that are children of 'Application' objects
  642. Application->Operation - 'Application generic Child object test'
  643. AzInitialize (1)
  644. AzApplicationCreate 'MyApp'
  645. DupHandle
  646. GoSub
  647. Application->Operation - 'Gen object test'
  648. AzOperationCreate '|' (ERROR_INVALID_NAME)
  649. AzOperationCreate 'Name1'
  650. DupHandle
  651. AzCloseHandle
  652. AzCloseHandle (ERROR_INVALID_HANDLE)
  653. AzOperationEnum (ERROR_INVALID_HANDLE)
  654. AzOperationEnum
  655. 1:
  656. DupHandle
  657. AzCloseHandle
  658. AzCloseHandle (ERROR_INVALID_HANDLE)
  659. AzCloseHandle (ERROR_INVALID_HANDLE)
  660. AzOperationEnum
  661. 1:
  662. AzGetProperty (1)
  663. 'Name1'
  664. AzGetProperty (2)
  665. ''
  666. AzCloseHandle
  667. AzOperationCreate 'Name2'
  668. AzOperationEnum
  669. 1:
  670. AzGetProperty (1)
  671. 'Name1'
  672. AzGetProperty (2)
  673. ''
  674. AzCloseHandle
  675. 2:
  676. AzGetProperty (1)
  677. 'Name2'
  678. AzGetProperty (2)
  679. ''
  680. AzCloseHandle
  681. AzCloseHandle
  682. Application->Operation - 'Delete an object and make sure it doesn't get enumerated'
  683. AzOperationCreate 'Name3'
  684. AzOperationDelete 'Name3'
  685. AzCloseHandle
  686. AzOperationEnum
  687. 1:
  688. AzGetProperty (1)
  689. 'Name1'
  690. AzGetProperty (2)
  691. ''
  692. AzCloseHandle
  693. 2:
  694. AzGetProperty (1)
  695. 'Name2'
  696. AzGetProperty (2)
  697. ''
  698. AzCloseHandle
  699. Application->Operation - 'Create an object whose name equals that of a deleted object'
  700. AzOperationCreate 'Name3'
  701. AzCloseHandle
  702. AzOperationEnum
  703. 1:
  704. AzGetProperty (1)
  705. 'Name1'
  706. AzGetProperty (2)
  707. ''
  708. AzCloseHandle
  709. 2:
  710. AzGetProperty (1)
  711. 'Name2'
  712. AzGetProperty (2)
  713. ''
  714. AzCloseHandle
  715. 4:
  716. AzGetProperty (1)
  717. 'Name3'
  718. AzGetProperty (2)
  719. ''
  720. AzCloseHandle
  721. Application->Operation - 'Delete an object that isn't on the tail end of the enum list'
  722. AzOperationDelete 'Name2'
  723. AzOperationEnum
  724. 1:
  725. AzGetProperty (1)
  726. 'Name1'
  727. AzGetProperty (2)
  728. ''
  729. AzCloseHandle
  730. 4:
  731. AzGetProperty (1)
  732. 'Name3'
  733. AzGetProperty (2)
  734. ''
  735. AzCloseHandle
  736. Application->Operation - 'Basic get/set property tests'
  737. AzOperationCreate 'Name4'
  738. AzGetProperty (1)
  739. 'Name4'
  740. AzSetProperty '|' (1) (ERROR_INVALID_NAME)
  741. AzGetProperty (1)
  742. 'Name4'
  743. AzSetProperty 'Name4' (1) (ERROR_ALREADY_EXISTS)
  744. AzGetProperty (1)
  745. 'Name4'
  746. AzSetProperty 'Name3' (1) (ERROR_ALREADY_EXISTS)
  747. AzGetProperty (1)
  748. 'Name4'
  749. AzGetProperty (2)
  750. ''
  751. AzSetProperty 'WasName4' (1)
  752. AzSetProperty 'Nam4 Desc' (2)
  753. AzGetProperty (1)
  754. 'WasName4'
  755. AzGetProperty (2)
  756. 'Nam4 Desc'
  757. AzOperationEnum
  758. 1:
  759. AzGetProperty (1)
  760. 'Name1'
  761. AzGetProperty (2)
  762. ''
  763. AzCloseHandle
  764. 4:
  765. AzGetProperty (1)
  766. 'Name3'
  767. AzGetProperty (2)
  768. ''
  769. AzCloseHandle
  770. 5:
  771. AzGetProperty (1)
  772. 'WasName4'
  773. AzGetProperty (2)
  774. 'Nam4 Desc'
  775. AzCloseHandle
  776. AzCloseHandle
  777. Application->Operation - 'Ensure a newly created object is writable'
  778. AzOperationCreate 'Name5'
  779. AzGetProperty (3)
  780. '1'
  781. AzCloseHandle
  782. Application->Operation - 'Open test'
  783. AzOperationOpen 'Name1'
  784. AzGetProperty (1)
  785. 'Name1'
  786. AzCloseHandle
  787. AzOperationOpen 'NameBad' (ERROR_NOT_FOUND)
  788. AzCloseHandle
  789. AzAdminManagerDelete
  790. AzCloseHandle
  791. Application->Operation - 'Test creating two objects with the same name'
  792. AzInitialize (1)
  793. AzApplicationCreate 'MyApp'
  794. AzApplicationCreate 'MyApp' (ERROR_ALREADY_EXISTS)
  795. AzOperationCreate 'Name1'
  796. AzOperationCreate 'Name1' (ERROR_ALREADY_EXISTS)
  797. AzCloseHandle
  798. AzCloseHandle
  799. AzAdminManagerDelete
  800. AzCloseHandle
  801. Application->Operation - 'Operation object specific tests'
  802. AzInitialize (1)
  803. AzApplicationCreate 'MyApp'
  804. AzOperationCreate 'Oper 1'
  805. AzGetProperty (200)
  806. '0'
  807. AzSetProperty '8' (200)
  808. AzGetProperty (200)
  809. '8'
  810. Application->Operation - 'Ensure operation Application data can be set'
  811. AzGetProperty (4)
  812. ''
  813. AzSetProperty 'Op Application Data' (4)
  814. AzGetProperty (4)
  815. 'Op Application Data'
  816. AzCloseHandle
  817. Application->Operation - 'Ensure an operation ID cannot be reused'
  818. AzOperationCreate 'Oper 2'
  819. AzSetProperty '8' (200) (ERROR_ALREADY_EXISTS)
  820. AzCloseHandle
  821. AzCloseHandle
  822. AzAdminManagerDelete
  823. AzCloseHandle
  824. Application->Task - Perform tests of 'Task' objects that are children of 'Application' objects
  825. Application->Task - 'Application generic Child object test'
  826. AzInitialize (1)
  827. AzApplicationCreate 'MyApp'
  828. DupHandle
  829. GoSub
  830. Application->Task - 'Gen object test'
  831. AzTaskCreate '|' (ERROR_INVALID_NAME)
  832. AzTaskCreate 'Name1'
  833. DupHandle
  834. AzCloseHandle
  835. AzCloseHandle (ERROR_INVALID_HANDLE)
  836. AzTaskEnum (ERROR_INVALID_HANDLE)
  837. AzTaskEnum
  838. 1:
  839. DupHandle
  840. AzCloseHandle
  841. AzCloseHandle (ERROR_INVALID_HANDLE)
  842. AzCloseHandle (ERROR_INVALID_HANDLE)
  843. AzTaskEnum
  844. 1:
  845. AzGetProperty (1)
  846. 'Name1'
  847. AzGetProperty (2)
  848. ''
  849. AzCloseHandle
  850. AzTaskCreate 'Name2'
  851. AzTaskEnum
  852. 1:
  853. AzGetProperty (1)
  854. 'Name1'
  855. AzGetProperty (2)
  856. ''
  857. AzCloseHandle
  858. 2:
  859. AzGetProperty (1)
  860. 'Name2'
  861. AzGetProperty (2)
  862. ''
  863. AzCloseHandle
  864. AzCloseHandle
  865. Application->Task - 'Delete an object and make sure it doesn't get enumerated'
  866. AzTaskCreate 'Name3'
  867. AzTaskDelete 'Name3'
  868. AzCloseHandle
  869. AzTaskEnum
  870. 1:
  871. AzGetProperty (1)
  872. 'Name1'
  873. AzGetProperty (2)
  874. ''
  875. AzCloseHandle
  876. 2:
  877. AzGetProperty (1)
  878. 'Name2'
  879. AzGetProperty (2)
  880. ''
  881. AzCloseHandle
  882. Application->Task - 'Create an object whose name equals that of a deleted object'
  883. AzTaskCreate 'Name3'
  884. AzCloseHandle
  885. AzTaskEnum
  886. 1:
  887. AzGetProperty (1)
  888. 'Name1'
  889. AzGetProperty (2)
  890. ''
  891. AzCloseHandle
  892. 2:
  893. AzGetProperty (1)
  894. 'Name2'
  895. AzGetProperty (2)
  896. ''
  897. AzCloseHandle
  898. 4:
  899. AzGetProperty (1)
  900. 'Name3'
  901. AzGetProperty (2)
  902. ''
  903. AzCloseHandle
  904. Application->Task - 'Delete an object that isn't on the tail end of the enum list'
  905. AzTaskDelete 'Name2'
  906. AzTaskEnum
  907. 1:
  908. AzGetProperty (1)
  909. 'Name1'
  910. AzGetProperty (2)
  911. ''
  912. AzCloseHandle
  913. 4:
  914. AzGetProperty (1)
  915. 'Name3'
  916. AzGetProperty (2)
  917. ''
  918. AzCloseHandle
  919. Application->Task - 'Basic get/set property tests'
  920. AzTaskCreate 'Name4'
  921. AzGetProperty (1)
  922. 'Name4'
  923. AzSetProperty '|' (1) (ERROR_INVALID_NAME)
  924. AzGetProperty (1)
  925. 'Name4'
  926. AzSetProperty 'Name4' (1) (ERROR_ALREADY_EXISTS)
  927. AzGetProperty (1)
  928. 'Name4'
  929. AzSetProperty 'Name3' (1) (ERROR_ALREADY_EXISTS)
  930. AzGetProperty (1)
  931. 'Name4'
  932. AzGetProperty (2)
  933. ''
  934. AzSetProperty 'WasName4' (1)
  935. AzSetProperty 'Nam4 Desc' (2)
  936. AzGetProperty (1)
  937. 'WasName4'
  938. AzGetProperty (2)
  939. 'Nam4 Desc'
  940. AzTaskEnum
  941. 1:
  942. AzGetProperty (1)
  943. 'Name1'
  944. AzGetProperty (2)
  945. ''
  946. AzCloseHandle
  947. 4:
  948. AzGetProperty (1)
  949. 'Name3'
  950. AzGetProperty (2)
  951. ''
  952. AzCloseHandle
  953. 5:
  954. AzGetProperty (1)
  955. 'WasName4'
  956. AzGetProperty (2)
  957. 'Nam4 Desc'
  958. AzCloseHandle
  959. AzCloseHandle
  960. Application->Task - 'Ensure a newly created object is writable'
  961. AzTaskCreate 'Name5'
  962. AzGetProperty (3)
  963. '1'
  964. AzCloseHandle
  965. Application->Task - 'Open test'
  966. AzTaskOpen 'Name1'
  967. AzGetProperty (1)
  968. 'Name1'
  969. AzCloseHandle
  970. AzTaskOpen 'NameBad' (ERROR_NOT_FOUND)
  971. AzCloseHandle
  972. AzAdminManagerDelete
  973. AzCloseHandle
  974. Application->Task - 'Test creating two objects with the same name'
  975. AzInitialize (1)
  976. AzApplicationCreate 'MyApp'
  977. AzApplicationCreate 'MyApp' (ERROR_ALREADY_EXISTS)
  978. AzTaskCreate 'Name1'
  979. AzTaskCreate 'Name1' (ERROR_ALREADY_EXISTS)
  980. AzCloseHandle
  981. AzCloseHandle
  982. AzAdminManagerDelete
  983. AzCloseHandle
  984. Application->Task - 'Task object specific tests'
  985. AzInitialize (1)
  986. AzApplicationCreate 'MyApp'
  987. DupHandle
  988. GoSub
  989. Application->Task - 'Task object specific tests'
  990. AzTaskCreate 'Task 1'
  991. AzGetProperty (301)
  992. ''
  993. Application->Task - 'Set the bizrule before the langauge'
  994. AzSetProperty 'While True
  995. Wend' (301) (ERROR_INVALID_PARAMETER)
  996. AzGetProperty (301)
  997. ''
  998. Application->Task - 'Try an invalid language'
  999. AzGetProperty (302)
  1000. ''
  1001. AzSetProperty 'LANG1' (302) (ERROR_INVALID_PARAMETER)
  1002. AzGetProperty (302)
  1003. ''
  1004. Application->Task - 'Try the valid languages'
  1005. AzSetProperty 'Jscript' (302)
  1006. AzGetProperty (302)
  1007. 'Jscript'
  1008. AzSetProperty 'VBScript' (302)
  1009. AzGetProperty (302)
  1010. 'VBScript'
  1011. Application->Task - 'Set a syntactically invalid bizrule'
  1012. AzSetProperty 'Rule1,' (301) (OLESCRIPT_E_SYNTAX)
  1013. AzGetProperty (301)
  1014. ''
  1015. Application->Task - 'Set a syntactically valid bizrule'
  1016. AzSetProperty 'While True
  1017. Wend' (301)
  1018. AzGetProperty (301)
  1019. 'While True
  1020. Wend'
  1021. Application->Task - 'Try bizrule path'
  1022. AzGetProperty (304)
  1023. ''
  1024. AzSetProperty 'c:\temp' (304)
  1025. AzGetProperty (304)
  1026. 'c:\temp'
  1027. Application->Task - 'Try Task application data'
  1028. AzGetProperty (4)
  1029. ''
  1030. AzSetProperty 'Task Application Data' (4)
  1031. AzGetProperty (4)
  1032. 'Task Application Data'
  1033. Application->Task->Task - Test linking 'Task' objects to the object named 'Task 1' using propid '303'.
  1034. Application->Task->Task - 'Create some objects to link the object to'
  1035. AzTaskCreate 'Object 1'
  1036. AzCloseHandle
  1037. AzTaskCreate 'Object 2'
  1038. AzCloseHandle
  1039. AzTaskCreate 'Object 3'
  1040. AzCloseHandle
  1041. Application->Task->Task - 'Reference an object that doesn't exist'
  1042. AzGetProperty (303)
  1043. AzSetProperty 'random' (303) (ERROR_INVALID_PARAMETER)
  1044. AzAddProperty 'random' (303) (ERROR_NOT_FOUND)
  1045. Application->Task->Task - 'Add and remove several objects'
  1046. AzAddProperty 'Object 2' (303)
  1047. AzGetProperty (303)
  1048. 'Object 2'
  1049. AzAddProperty 'Object 3' (303)
  1050. AzGetProperty (303)
  1051. 'Object 2'
  1052. 'Object 3'
  1053. AzAddProperty 'Object 1' (303)
  1054. AzGetProperty (303)
  1055. 'Object 1'
  1056. 'Object 2'
  1057. 'Object 3'
  1058. AzRemProperty 'Object 1' (303)
  1059. AzGetProperty (303)
  1060. 'Object 2'
  1061. 'Object 3'
  1062. AzRemProperty 'Object 2' (303)
  1063. AzGetProperty (303)
  1064. 'Object 3'
  1065. Application->Task->Task - 'Add an item that already exists'
  1066. AzAddProperty 'Object 3' (303) (ERROR_ALREADY_EXISTS)
  1067. AzGetProperty (303)
  1068. 'Object 3'
  1069. AzRemProperty 'Object 3' (303)
  1070. AzGetProperty (303)
  1071. Application->Task->Task - 'Try more than 4 since reference buckets come in multiples of 4'
  1072. AzTaskCreate 'Object 4'
  1073. AzCloseHandle
  1074. AzTaskCreate 'Object 5'
  1075. AzCloseHandle
  1076. AzTaskCreate 'Object 6'
  1077. AzCloseHandle
  1078. AzAddProperty 'Object 1' (303)
  1079. AzAddProperty 'Object 4' (303)
  1080. AzAddProperty 'Object 2' (303)
  1081. AzAddProperty 'Object 5' (303)
  1082. AzAddProperty 'Object 3' (303)
  1083. AzAddProperty 'Object 6' (303)
  1084. AzGetProperty (303)
  1085. 'Object 1'
  1086. 'Object 2'
  1087. 'Object 3'
  1088. 'Object 4'
  1089. 'Object 5'
  1090. 'Object 6'
  1091. AzTaskDelete 'Object 1' (303)
  1092. AzTaskDelete 'Object 4' (303)
  1093. AzTaskDelete 'Object 2' (303)
  1094. AzTaskDelete 'Object 5' (303)
  1095. AzTaskDelete 'Object 3' (303)
  1096. AzTaskDelete 'Object 6' (303)
  1097. Application->Task - 'Reference ourself'
  1098. AzGetProperty (303)
  1099. AzAddProperty 'Task 1' (303) (ERROR_DS_LOOP_DETECT)
  1100. Application->Task - 'Test loops'
  1101. AzTaskCreate 'Task 2'
  1102. AzAddProperty 'Task 2' (303)
  1103. AzAddProperty 'Task 1' (303) (ERROR_DS_LOOP_DETECT)
  1104. AzRemProperty 'Task 2' (303)
  1105. AzCloseHandle
  1106. AzCloseHandle
  1107. Application->Task - 'Test linking task to operations.'
  1108. AzTaskCreate 'Task Y'
  1109. Application->Task->Operation - Test linking 'Operation' objects to the object named 'Task Y' using propid '300'.
  1110. Application->Task->Operation - 'Create some objects to link the object to'
  1111. AzOperationCreate 'Object 1'
  1112. AzCloseHandle
  1113. AzOperationCreate 'Object 2'
  1114. AzCloseHandle
  1115. AzOperationCreate 'Object 3'
  1116. AzCloseHandle
  1117. Application->Task->Operation - 'Reference an object that doesn't exist'
  1118. AzGetProperty (300)
  1119. AzSetProperty 'random' (300) (ERROR_INVALID_PARAMETER)
  1120. AzAddProperty 'random' (300) (ERROR_NOT_FOUND)
  1121. Application->Task->Operation - 'Add and remove several objects'
  1122. AzAddProperty 'Object 2' (300)
  1123. AzGetProperty (300)
  1124. 'Object 2'
  1125. AzAddProperty 'Object 3' (300)
  1126. AzGetProperty (300)
  1127. 'Object 2'
  1128. 'Object 3'
  1129. AzAddProperty 'Object 1' (300)
  1130. AzGetProperty (300)
  1131. 'Object 1'
  1132. 'Object 2'
  1133. 'Object 3'
  1134. AzRemProperty 'Object 1' (300)
  1135. AzGetProperty (300)
  1136. 'Object 2'
  1137. 'Object 3'
  1138. AzRemProperty 'Object 2' (300)
  1139. AzGetProperty (300)
  1140. 'Object 3'
  1141. Application->Task->Operation - 'Add an item that already exists'
  1142. AzAddProperty 'Object 3' (300) (ERROR_ALREADY_EXISTS)
  1143. AzGetProperty (300)
  1144. 'Object 3'
  1145. AzRemProperty 'Object 3' (300)
  1146. AzGetProperty (300)
  1147. Application->Task->Operation - 'Try more than 4 since reference buckets come in multiples of 4'
  1148. AzOperationCreate 'Object 4'
  1149. AzCloseHandle
  1150. AzOperationCreate 'Object 5'
  1151. AzCloseHandle
  1152. AzOperationCreate 'Object 6'
  1153. AzCloseHandle
  1154. AzAddProperty 'Object 1' (300)
  1155. AzAddProperty 'Object 4' (300)
  1156. AzAddProperty 'Object 2' (300)
  1157. AzAddProperty 'Object 5' (300)
  1158. AzAddProperty 'Object 3' (300)
  1159. AzAddProperty 'Object 6' (300)
  1160. AzGetProperty (300)
  1161. 'Object 1'
  1162. 'Object 2'
  1163. 'Object 3'
  1164. 'Object 4'
  1165. 'Object 5'
  1166. 'Object 6'
  1167. AzOperationDelete 'Object 1' (300)
  1168. AzOperationDelete 'Object 4' (300)
  1169. AzOperationDelete 'Object 2' (300)
  1170. AzOperationDelete 'Object 5' (300)
  1171. AzOperationDelete 'Object 3' (300)
  1172. AzOperationDelete 'Object 6' (300)
  1173. AzCloseHandle
  1174. AzCloseHandle
  1175. AzAdminManagerDelete
  1176. AzCloseHandle
  1177. Application->Scope - Perform tests of 'Scope' objects that are children of 'Application' objects
  1178. Application->Scope - 'Application generic Child object test'
  1179. AzInitialize (1)
  1180. AzApplicationCreate 'MyApp'
  1181. DupHandle
  1182. GoSub
  1183. Application->Scope - 'Gen object test'
  1184. AzScopeCreate '|' (ERROR_INVALID_NAME)
  1185. AzScopeCreate 'Name1'
  1186. DupHandle
  1187. AzCloseHandle
  1188. AzCloseHandle (ERROR_INVALID_HANDLE)
  1189. AzScopeEnum (ERROR_INVALID_HANDLE)
  1190. AzScopeEnum
  1191. 1:
  1192. DupHandle
  1193. AzCloseHandle
  1194. AzCloseHandle (ERROR_INVALID_HANDLE)
  1195. AzCloseHandle (ERROR_INVALID_HANDLE)
  1196. AzScopeEnum
  1197. 1:
  1198. AzGetProperty (1)
  1199. 'Name1'
  1200. AzGetProperty (2)
  1201. ''
  1202. AzCloseHandle
  1203. AzScopeCreate 'Name2'
  1204. AzScopeEnum
  1205. 1:
  1206. AzGetProperty (1)
  1207. 'Name1'
  1208. AzGetProperty (2)
  1209. ''
  1210. AzCloseHandle
  1211. 2:
  1212. AzGetProperty (1)
  1213. 'Name2'
  1214. AzGetProperty (2)
  1215. ''
  1216. AzCloseHandle
  1217. AzCloseHandle
  1218. Application->Scope - 'Delete an object and make sure it doesn't get enumerated'
  1219. AzScopeCreate 'Name3'
  1220. AzScopeDelete 'Name3'
  1221. AzCloseHandle
  1222. AzScopeEnum
  1223. 1:
  1224. AzGetProperty (1)
  1225. 'Name1'
  1226. AzGetProperty (2)
  1227. ''
  1228. AzCloseHandle
  1229. 2:
  1230. AzGetProperty (1)
  1231. 'Name2'
  1232. AzGetProperty (2)
  1233. ''
  1234. AzCloseHandle
  1235. Application->Scope - 'Create an object whose name equals that of a deleted object'
  1236. AzScopeCreate 'Name3'
  1237. AzCloseHandle
  1238. AzScopeEnum
  1239. 1:
  1240. AzGetProperty (1)
  1241. 'Name1'
  1242. AzGetProperty (2)
  1243. ''
  1244. AzCloseHandle
  1245. 2:
  1246. AzGetProperty (1)
  1247. 'Name2'
  1248. AzGetProperty (2)
  1249. ''
  1250. AzCloseHandle
  1251. 4:
  1252. AzGetProperty (1)
  1253. 'Name3'
  1254. AzGetProperty (2)
  1255. ''
  1256. AzCloseHandle
  1257. Application->Scope - 'Delete an object that isn't on the tail end of the enum list'
  1258. AzScopeDelete 'Name2'
  1259. AzScopeEnum
  1260. 1:
  1261. AzGetProperty (1)
  1262. 'Name1'
  1263. AzGetProperty (2)
  1264. ''
  1265. AzCloseHandle
  1266. 4:
  1267. AzGetProperty (1)
  1268. 'Name3'
  1269. AzGetProperty (2)
  1270. ''
  1271. AzCloseHandle
  1272. Application->Scope - 'Basic get/set property tests'
  1273. AzScopeCreate 'Name4'
  1274. AzGetProperty (1)
  1275. 'Name4'
  1276. AzSetProperty '|' (1) (ERROR_INVALID_NAME)
  1277. AzGetProperty (1)
  1278. 'Name4'
  1279. AzSetProperty 'Name4' (1) (ERROR_ALREADY_EXISTS)
  1280. AzGetProperty (1)
  1281. 'Name4'
  1282. AzSetProperty 'Name3' (1) (ERROR_ALREADY_EXISTS)
  1283. AzGetProperty (1)
  1284. 'Name4'
  1285. AzGetProperty (2)
  1286. ''
  1287. AzSetProperty 'WasName4' (1)
  1288. AzSetProperty 'Nam4 Desc' (2)
  1289. AzGetProperty (1)
  1290. 'WasName4'
  1291. AzGetProperty (2)
  1292. 'Nam4 Desc'
  1293. AzScopeEnum
  1294. 1:
  1295. AzGetProperty (1)
  1296. 'Name1'
  1297. AzGetProperty (2)
  1298. ''
  1299. AzCloseHandle
  1300. 4:
  1301. AzGetProperty (1)
  1302. 'Name3'
  1303. AzGetProperty (2)
  1304. ''
  1305. AzCloseHandle
  1306. 5:
  1307. AzGetProperty (1)
  1308. 'WasName4'
  1309. AzGetProperty (2)
  1310. 'Nam4 Desc'
  1311. AzCloseHandle
  1312. AzCloseHandle
  1313. Application->Scope - 'Ensure a newly created object is writable'
  1314. AzScopeCreate 'Name5'
  1315. AzGetProperty (3)
  1316. '1'
  1317. AzCloseHandle
  1318. Application->Scope - 'Open test'
  1319. AzScopeOpen 'Name1'
  1320. AzGetProperty (1)
  1321. 'Name1'
  1322. AzCloseHandle
  1323. AzScopeOpen 'NameBad' (ERROR_NOT_FOUND)
  1324. AzCloseHandle
  1325. AzAdminManagerDelete
  1326. AzCloseHandle
  1327. Application->Scope - 'Test creating two objects with the same name'
  1328. AzInitialize (1)
  1329. AzApplicationCreate 'MyApp'
  1330. AzApplicationCreate 'MyApp' (ERROR_ALREADY_EXISTS)
  1331. AzScopeCreate 'Name1'
  1332. AzScopeCreate 'Name1' (ERROR_ALREADY_EXISTS)
  1333. AzCloseHandle
  1334. AzCloseHandle
  1335. AzAdminManagerDelete
  1336. AzCloseHandle
  1337. Application->Group - Perform tests of 'Group' objects that are children of 'Application' objects
  1338. Application->Group - 'Application generic Child object test'
  1339. AzInitialize (1)
  1340. AzApplicationCreate 'MyApp'
  1341. DupHandle
  1342. GoSub
  1343. Application->Group - 'Gen object test'
  1344. AzGroupCreate '|' (ERROR_INVALID_NAME)
  1345. AzGroupCreate 'Name1'
  1346. DupHandle
  1347. AzCloseHandle
  1348. AzCloseHandle (ERROR_INVALID_HANDLE)
  1349. AzGroupEnum (ERROR_INVALID_HANDLE)
  1350. AzGroupEnum
  1351. 1:
  1352. DupHandle
  1353. AzCloseHandle
  1354. AzCloseHandle (ERROR_INVALID_HANDLE)
  1355. AzCloseHandle (ERROR_INVALID_HANDLE)
  1356. AzGroupEnum
  1357. 1:
  1358. AzGetProperty (1)
  1359. 'Name1'
  1360. AzGetProperty (2)
  1361. ''
  1362. AzCloseHandle
  1363. AzGroupCreate 'Name2'
  1364. AzGroupEnum
  1365. 1:
  1366. AzGetProperty (1)
  1367. 'Name1'
  1368. AzGetProperty (2)
  1369. ''
  1370. AzCloseHandle
  1371. 2:
  1372. AzGetProperty (1)
  1373. 'Name2'
  1374. AzGetProperty (2)
  1375. ''
  1376. AzCloseHandle
  1377. AzCloseHandle
  1378. Application->Group - 'Delete an object and make sure it doesn't get enumerated'
  1379. AzGroupCreate 'Name3'
  1380. AzGroupDelete 'Name3'
  1381. AzCloseHandle
  1382. AzGroupEnum
  1383. 1:
  1384. AzGetProperty (1)
  1385. 'Name1'
  1386. AzGetProperty (2)
  1387. ''
  1388. AzCloseHandle
  1389. 2:
  1390. AzGetProperty (1)
  1391. 'Name2'
  1392. AzGetProperty (2)
  1393. ''
  1394. AzCloseHandle
  1395. Application->Group - 'Create an object whose name equals that of a deleted object'
  1396. AzGroupCreate 'Name3'
  1397. AzCloseHandle
  1398. AzGroupEnum
  1399. 1:
  1400. AzGetProperty (1)
  1401. 'Name1'
  1402. AzGetProperty (2)
  1403. ''
  1404. AzCloseHandle
  1405. 2:
  1406. AzGetProperty (1)
  1407. 'Name2'
  1408. AzGetProperty (2)
  1409. ''
  1410. AzCloseHandle
  1411. 4:
  1412. AzGetProperty (1)
  1413. 'Name3'
  1414. AzGetProperty (2)
  1415. ''
  1416. AzCloseHandle
  1417. Application->Group - 'Delete an object that isn't on the tail end of the enum list'
  1418. AzGroupDelete 'Name2'
  1419. AzGroupEnum
  1420. 1:
  1421. AzGetProperty (1)
  1422. 'Name1'
  1423. AzGetProperty (2)
  1424. ''
  1425. AzCloseHandle
  1426. 4:
  1427. AzGetProperty (1)
  1428. 'Name3'
  1429. AzGetProperty (2)
  1430. ''
  1431. AzCloseHandle
  1432. Application->Group - 'Basic get/set property tests'
  1433. AzGroupCreate 'Name4'
  1434. AzGetProperty (1)
  1435. 'Name4'
  1436. AzSetProperty '|' (1) (ERROR_INVALID_NAME)
  1437. AzGetProperty (1)
  1438. 'Name4'
  1439. AzSetProperty 'Name4' (1) (ERROR_ALREADY_EXISTS)
  1440. AzGetProperty (1)
  1441. 'Name4'
  1442. AzSetProperty 'Name3' (1) (ERROR_ALREADY_EXISTS)
  1443. AzGetProperty (1)
  1444. 'Name4'
  1445. AzGetProperty (2)
  1446. ''
  1447. AzSetProperty 'WasName4' (1)
  1448. AzSetProperty 'Nam4 Desc' (2)
  1449. AzGetProperty (1)
  1450. 'WasName4'
  1451. AzGetProperty (2)
  1452. 'Nam4 Desc'
  1453. AzGroupEnum
  1454. 1:
  1455. AzGetProperty (1)
  1456. 'Name1'
  1457. AzGetProperty (2)
  1458. ''
  1459. AzCloseHandle
  1460. 4:
  1461. AzGetProperty (1)
  1462. 'Name3'
  1463. AzGetProperty (2)
  1464. ''
  1465. AzCloseHandle
  1466. 5:
  1467. AzGetProperty (1)
  1468. 'WasName4'
  1469. AzGetProperty (2)
  1470. 'Nam4 Desc'
  1471. AzCloseHandle
  1472. AzCloseHandle
  1473. Application->Group - 'Ensure a newly created object is writable'
  1474. AzGroupCreate 'Name5'
  1475. AzGetProperty (3)
  1476. '1'
  1477. AzCloseHandle
  1478. Application->Group - 'Open test'
  1479. AzGroupOpen 'Name1'
  1480. AzGetProperty (1)
  1481. 'Name1'
  1482. AzCloseHandle
  1483. AzGroupOpen 'NameBad' (ERROR_NOT_FOUND)
  1484. AzCloseHandle
  1485. AzAdminManagerDelete
  1486. AzCloseHandle
  1487. Application->Group - 'Test creating two objects with the same name'
  1488. AzInitialize (1)
  1489. AzApplicationCreate 'MyApp'
  1490. AzApplicationCreate 'MyApp' (ERROR_ALREADY_EXISTS)
  1491. AzGroupCreate 'Name1'
  1492. AzGroupCreate 'Name1' (ERROR_ALREADY_EXISTS)
  1493. AzCloseHandle
  1494. AzCloseHandle
  1495. AzAdminManagerDelete
  1496. AzCloseHandle
  1497. Application->Group - 'Group objects that are children of an application'
  1498. AzInitialize (1)
  1499. AzApplicationCreate 'MyApp'
  1500. DupHandle
  1501. GoSub
  1502. Application->Group - 'Group object specific tests'
  1503. AzGroupCreate 'Group A'
  1504. AzGroupCreate 'Group B'
  1505. Application->Group - 'Create some groups to link the group to'
  1506. AzGroupCreate 'Group 1'
  1507. AzCloseHandle
  1508. AzGroupCreate 'Group 2'
  1509. AzCloseHandle
  1510. AzGroupCreate 'Group 3'
  1511. AzCloseHandle
  1512. Application->Group - 'Set group type to an invalid value'
  1513. AzSetProperty '8' (400) (ERROR_INVALID_PARAMETER)
  1514. AzSetProperty '2' (400)
  1515. Application->Group - 'Reference ourself'
  1516. AzGetProperty (401)
  1517. AzGetProperty (404)
  1518. AzAddProperty 'Group A' (401) (ERROR_DS_LOOP_DETECT)
  1519. Application->Group->Group - Test linking 'Group' objects to the object named 'Group A' using propid '401'.
  1520. Application->Group->Group - 'Create some objects to link the object to'
  1521. AzGroupCreate 'Object 1'
  1522. AzCloseHandle
  1523. AzGroupCreate 'Object 2'
  1524. AzCloseHandle
  1525. AzGroupCreate 'Object 3'
  1526. AzCloseHandle
  1527. Application->Group->Group - 'Reference an object that doesn't exist'
  1528. AzGetProperty (401)
  1529. AzSetProperty 'random' (401) (ERROR_INVALID_PARAMETER)
  1530. AzAddProperty 'random' (401) (ERROR_NOT_FOUND)
  1531. Application->Group->Group - 'Add and remove several objects'
  1532. AzAddProperty 'Object 2' (401)
  1533. AzGetProperty (401)
  1534. 'Object 2'
  1535. AzAddProperty 'Object 3' (401)
  1536. AzGetProperty (401)
  1537. 'Object 2'
  1538. 'Object 3'
  1539. AzAddProperty 'Object 1' (401)
  1540. AzGetProperty (401)
  1541. 'Object 1'
  1542. 'Object 2'
  1543. 'Object 3'
  1544. AzRemProperty 'Object 1' (401)
  1545. AzGetProperty (401)
  1546. 'Object 2'
  1547. 'Object 3'
  1548. AzRemProperty 'Object 2' (401)
  1549. AzGetProperty (401)
  1550. 'Object 3'
  1551. Application->Group->Group - 'Add an item that already exists'
  1552. AzAddProperty 'Object 3' (401) (ERROR_ALREADY_EXISTS)
  1553. AzGetProperty (401)
  1554. 'Object 3'
  1555. AzRemProperty 'Object 3' (401)
  1556. AzGetProperty (401)
  1557. Application->Group->Group - 'Try more than 4 since reference buckets come in multiples of 4'
  1558. AzGroupCreate 'Object 4'
  1559. AzCloseHandle
  1560. AzGroupCreate 'Object 5'
  1561. AzCloseHandle
  1562. AzGroupCreate 'Object 6'
  1563. AzCloseHandle
  1564. AzAddProperty 'Object 1' (401)
  1565. AzAddProperty 'Object 4' (401)
  1566. AzAddProperty 'Object 2' (401)
  1567. AzAddProperty 'Object 5' (401)
  1568. AzAddProperty 'Object 3' (401)
  1569. AzAddProperty 'Object 6' (401)
  1570. AzGetProperty (401)
  1571. 'Object 1'
  1572. 'Object 2'
  1573. 'Object 3'
  1574. 'Object 4'
  1575. 'Object 5'
  1576. 'Object 6'
  1577. AzGroupDelete 'Object 1' (401)
  1578. AzGroupDelete 'Object 4' (401)
  1579. AzGroupDelete 'Object 2' (401)
  1580. AzGroupDelete 'Object 5' (401)
  1581. AzGroupDelete 'Object 3' (401)
  1582. AzGroupDelete 'Object 6' (401)
  1583. Application->Group->Sid - Test linking 'Sid' objects to the object named 'Group A' using propid '404'.
  1584. Application->Group->Sid - 'Add and remove several links to sids'
  1585. AzAddProperty 'S-1-1000-2'(404)
  1586. AzGetProperty (404)
  1587. 'S-1-1000-2'
  1588. AzAddProperty 'S-1-1000-3'(404)
  1589. AzGetProperty (404)
  1590. 'S-1-1000-2'
  1591. 'S-1-1000-3'
  1592. AzAddProperty 'S-1-1000-1'(404)
  1593. AzGetProperty (404)
  1594. 'S-1-1000-1'
  1595. 'S-1-1000-2'
  1596. 'S-1-1000-3'
  1597. AzRemProperty 'S-1-1000-1'(404)
  1598. AzGetProperty (404)
  1599. 'S-1-1000-2'
  1600. 'S-1-1000-3'
  1601. AzRemProperty 'S-1-1000-2'(404)
  1602. AzGetProperty (404)
  1603. 'S-1-1000-3'
  1604. Application->Group->Sid - 'Add a link that already exists'
  1605. AzAddProperty 'S-1-1000-3'(404) (ERROR_ALREADY_EXISTS)
  1606. AzGetProperty (404)
  1607. 'S-1-1000-3'
  1608. AzRemProperty 'S-1-1000-3'(404)
  1609. AzGetProperty (404)
  1610. Application->Group->Sid - 'Try more than 4 since reference buckets come in multiples of 4'
  1611. AzAddProperty 'S-1-1000-1'(404)
  1612. AzAddProperty 'S-1-1000-4'(404)
  1613. AzAddProperty 'S-1-1000-2'(404)
  1614. AzAddProperty 'S-1-1000-5'(404)
  1615. AzAddProperty 'S-1-1000-3'(404)
  1616. AzAddProperty 'S-1-1000-6'(404)
  1617. AzGetProperty (404)
  1618. 'S-1-1000-1'
  1619. 'S-1-1000-2'
  1620. 'S-1-1000-3'
  1621. 'S-1-1000-4'
  1622. 'S-1-1000-5'
  1623. 'S-1-1000-6'
  1624. Application->Group - 'Same as above, but for the non-members attribute'
  1625. AzGetProperty (402)
  1626. AzGetProperty (405)
  1627. AzAddProperty 'Group A' (402) (ERROR_DS_LOOP_DETECT)
  1628. Application->Group->Group - Test linking 'Group' objects to the object named 'Group A' using propid '402'.
  1629. Application->Group->Group - 'Create some objects to link the object to'
  1630. AzGroupCreate 'Object 1'
  1631. AzCloseHandle
  1632. AzGroupCreate 'Object 2'
  1633. AzCloseHandle
  1634. AzGroupCreate 'Object 3'
  1635. AzCloseHandle
  1636. Application->Group->Group - 'Reference an object that doesn't exist'
  1637. AzGetProperty (402)
  1638. AzSetProperty 'random' (402) (ERROR_INVALID_PARAMETER)
  1639. AzAddProperty 'random' (402) (ERROR_NOT_FOUND)
  1640. Application->Group->Group - 'Add and remove several objects'
  1641. AzAddProperty 'Object 2' (402)
  1642. AzGetProperty (402)
  1643. 'Object 2'
  1644. AzAddProperty 'Object 3' (402)
  1645. AzGetProperty (402)
  1646. 'Object 2'
  1647. 'Object 3'
  1648. AzAddProperty 'Object 1' (402)
  1649. AzGetProperty (402)
  1650. 'Object 1'
  1651. 'Object 2'
  1652. 'Object 3'
  1653. AzRemProperty 'Object 1' (402)
  1654. AzGetProperty (402)
  1655. 'Object 2'
  1656. 'Object 3'
  1657. AzRemProperty 'Object 2' (402)
  1658. AzGetProperty (402)
  1659. 'Object 3'
  1660. Application->Group->Group - 'Add an item that already exists'
  1661. AzAddProperty 'Object 3' (402) (ERROR_ALREADY_EXISTS)
  1662. AzGetProperty (402)
  1663. 'Object 3'
  1664. AzRemProperty 'Object 3' (402)
  1665. AzGetProperty (402)
  1666. Application->Group->Group - 'Try more than 4 since reference buckets come in multiples of 4'
  1667. AzGroupCreate 'Object 4'
  1668. AzCloseHandle
  1669. AzGroupCreate 'Object 5'
  1670. AzCloseHandle
  1671. AzGroupCreate 'Object 6'
  1672. AzCloseHandle
  1673. AzAddProperty 'Object 1' (402)
  1674. AzAddProperty 'Object 4' (402)
  1675. AzAddProperty 'Object 2' (402)
  1676. AzAddProperty 'Object 5' (402)
  1677. AzAddProperty 'Object 3' (402)
  1678. AzAddProperty 'Object 6' (402)
  1679. AzGetProperty (402)
  1680. 'Object 1'
  1681. 'Object 2'
  1682. 'Object 3'
  1683. 'Object 4'
  1684. 'Object 5'
  1685. 'Object 6'
  1686. AzGroupDelete 'Object 1' (402)
  1687. AzGroupDelete 'Object 4' (402)
  1688. AzGroupDelete 'Object 2' (402)
  1689. AzGroupDelete 'Object 5' (402)
  1690. AzGroupDelete 'Object 3' (402)
  1691. AzGroupDelete 'Object 6' (402)
  1692. Application->Group->Sid - Test linking 'Sid' objects to the object named 'Group A' using propid '405'.
  1693. Application->Group->Sid - 'Add and remove several links to sids'
  1694. AzAddProperty 'S-1-1000-2'(405)
  1695. AzGetProperty (405)
  1696. 'S-1-1000-2'
  1697. AzAddProperty 'S-1-1000-3'(405)
  1698. AzGetProperty (405)
  1699. 'S-1-1000-2'
  1700. 'S-1-1000-3'
  1701. AzAddProperty 'S-1-1000-1'(405)
  1702. AzGetProperty (405)
  1703. 'S-1-1000-1'
  1704. 'S-1-1000-2'
  1705. 'S-1-1000-3'
  1706. AzRemProperty 'S-1-1000-1'(405)
  1707. AzGetProperty (405)
  1708. 'S-1-1000-2'
  1709. 'S-1-1000-3'
  1710. AzRemProperty 'S-1-1000-2'(405)
  1711. AzGetProperty (405)
  1712. 'S-1-1000-3'
  1713. Application->Group->Sid - 'Add a link that already exists'
  1714. AzAddProperty 'S-1-1000-3'(405) (ERROR_ALREADY_EXISTS)
  1715. AzGetProperty (405)
  1716. 'S-1-1000-3'
  1717. AzRemProperty 'S-1-1000-3'(405)
  1718. AzGetProperty (405)
  1719. Application->Group->Sid - 'Try more than 4 since reference buckets come in multiples of 4'
  1720. AzAddProperty 'S-1-1000-1'(405)
  1721. AzAddProperty 'S-1-1000-4'(405)
  1722. AzAddProperty 'S-1-1000-2'(405)
  1723. AzAddProperty 'S-1-1000-5'(405)
  1724. AzAddProperty 'S-1-1000-3'(405)
  1725. AzAddProperty 'S-1-1000-6'(405)
  1726. AzGetProperty (405)
  1727. 'S-1-1000-1'
  1728. 'S-1-1000-2'
  1729. 'S-1-1000-3'
  1730. 'S-1-1000-4'
  1731. 'S-1-1000-5'
  1732. 'S-1-1000-6'
  1733. Application->Group - 'Set LdapQuery string on a basic group'
  1734. AzGetProperty (403)
  1735. ''
  1736. AzSetProperty 'TheQuery' (403) (ERROR_INVALID_PARAMETER)
  1737. AzSetProperty '1' (400) (ERROR_INVALID_PARAMETER)
  1738. AzSetProperty 'TheQuery' (403) (ERROR_INVALID_PARAMETER)
  1739. AzGetProperty (403)
  1740. ''
  1741. AzSetProperty '2' (400)
  1742. AzSetProperty 'TheQuery' (403) (ERROR_INVALID_PARAMETER)
  1743. AzSetProperty '' (403)
  1744. Application->Group - 'Set LdapQuery string on an ldap query group'
  1745. AzGetProperty (403)
  1746. ''
  1747. AzSetProperty 'TheQuery' (403) (ERROR_INVALID_PARAMETER)
  1748. AzSetProperty '1' (400)
  1749. AzSetProperty 'TheQuery' (403)
  1750. AzGetProperty (403)
  1751. 'TheQuery'
  1752. AzSetProperty '2' (400) (ERROR_INVALID_PARAMETER)
  1753. AzGetProperty (403)
  1754. 'TheQuery'
  1755. AzSetProperty '' (403)
  1756. Application->Group - 'Test loops'
  1757. AzSetProperty '2' (400)
  1758. AzAddProperty 'Group B' (401)
  1759. AzAddProperty 'Group A' (401) (ERROR_DS_LOOP_DETECT)
  1760. AzAddProperty 'Group B' (402)
  1761. AzAddProperty 'Group A' (402) (ERROR_DS_LOOP_DETECT)
  1762. AzRemProperty 'Group B' (402)
  1763. AzRemProperty 'Group B' (401)
  1764. AzCloseHandle
  1765. AzCloseHandle
  1766. Application->Group - 'Test linking to groups that are children of the same admin manager as this group.'
  1767. AzGroupOpen 'Group A'
  1768. Application->Group->Group - Test linking 'Group' objects to the object named 'Group A' using propid '401'.
  1769. Application->Group->Group - 'Create some objects to link the object to'
  1770. AzGroupCreate 'Object 1'
  1771. AzCloseHandle
  1772. AzGroupCreate 'Object 2'
  1773. AzCloseHandle
  1774. AzGroupCreate 'Object 3'
  1775. AzCloseHandle
  1776. Application->Group->Group - 'Reference an object that doesn't exist'
  1777. AzGetProperty (401)
  1778. AzSetProperty 'random' (401) (ERROR_INVALID_PARAMETER)
  1779. AzAddProperty 'random' (401) (ERROR_NOT_FOUND)
  1780. Application->Group->Group - 'Add and remove several objects'
  1781. AzAddProperty 'Object 2' (401)
  1782. AzGetProperty (401)
  1783. 'Object 2'
  1784. AzAddProperty 'Object 3' (401)
  1785. AzGetProperty (401)
  1786. 'Object 2'
  1787. 'Object 3'
  1788. AzAddProperty 'Object 1' (401)
  1789. AzGetProperty (401)
  1790. 'Object 1'
  1791. 'Object 2'
  1792. 'Object 3'
  1793. AzRemProperty 'Object 1' (401)
  1794. AzGetProperty (401)
  1795. 'Object 2'
  1796. 'Object 3'
  1797. AzRemProperty 'Object 2' (401)
  1798. AzGetProperty (401)
  1799. 'Object 3'
  1800. Application->Group->Group - 'Add an item that already exists'
  1801. AzAddProperty 'Object 3' (401) (ERROR_ALREADY_EXISTS)
  1802. AzGetProperty (401)
  1803. 'Object 3'
  1804. AzRemProperty 'Object 3' (401)
  1805. AzGetProperty (401)
  1806. Application->Group->Group - 'Try more than 4 since reference buckets come in multiples of 4'
  1807. AzGroupCreate 'Object 4'
  1808. AzCloseHandle
  1809. AzGroupCreate 'Object 5'
  1810. AzCloseHandle
  1811. AzGroupCreate 'Object 6'
  1812. AzCloseHandle
  1813. AzAddProperty 'Object 1' (401)
  1814. AzAddProperty 'Object 4' (401)
  1815. AzAddProperty 'Object 2' (401)
  1816. AzAddProperty 'Object 5' (401)
  1817. AzAddProperty 'Object 3' (401)
  1818. AzAddProperty 'Object 6' (401)
  1819. AzGetProperty (401)
  1820. 'Object 1'
  1821. 'Object 2'
  1822. 'Object 3'
  1823. 'Object 4'
  1824. 'Object 5'
  1825. 'Object 6'
  1826. AzGroupDelete 'Object 1' (401)
  1827. AzGroupDelete 'Object 4' (401)
  1828. AzGroupDelete 'Object 2' (401)
  1829. AzGroupDelete 'Object 5' (401)
  1830. AzGroupDelete 'Object 3' (401)
  1831. AzGroupDelete 'Object 6' (401)
  1832. Application->Group->Group - Test linking 'Group' objects to the object named 'Group A' using propid '402'.
  1833. Application->Group->Group - 'Create some objects to link the object to'
  1834. AzGroupCreate 'Object 1'
  1835. AzCloseHandle
  1836. AzGroupCreate 'Object 2'
  1837. AzCloseHandle
  1838. AzGroupCreate 'Object 3'
  1839. AzCloseHandle
  1840. Application->Group->Group - 'Reference an object that doesn't exist'
  1841. AzGetProperty (402)
  1842. AzSetProperty 'random' (402) (ERROR_INVALID_PARAMETER)
  1843. AzAddProperty 'random' (402) (ERROR_NOT_FOUND)
  1844. Application->Group->Group - 'Add and remove several objects'
  1845. AzAddProperty 'Object 2' (402)
  1846. AzGetProperty (402)
  1847. 'Object 2'
  1848. AzAddProperty 'Object 3' (402)
  1849. AzGetProperty (402)
  1850. 'Object 2'
  1851. 'Object 3'
  1852. AzAddProperty 'Object 1' (402)
  1853. AzGetProperty (402)
  1854. 'Object 1'
  1855. 'Object 2'
  1856. 'Object 3'
  1857. AzRemProperty 'Object 1' (402)
  1858. AzGetProperty (402)
  1859. 'Object 2'
  1860. 'Object 3'
  1861. AzRemProperty 'Object 2' (402)
  1862. AzGetProperty (402)
  1863. 'Object 3'
  1864. Application->Group->Group - 'Add an item that already exists'
  1865. AzAddProperty 'Object 3' (402) (ERROR_ALREADY_EXISTS)
  1866. AzGetProperty (402)
  1867. 'Object 3'
  1868. AzRemProperty 'Object 3' (402)
  1869. AzGetProperty (402)
  1870. Application->Group->Group - 'Try more than 4 since reference buckets come in multiples of 4'
  1871. AzGroupCreate 'Object 4'
  1872. AzCloseHandle
  1873. AzGroupCreate 'Object 5'
  1874. AzCloseHandle
  1875. AzGroupCreate 'Object 6'
  1876. AzCloseHandle
  1877. AzAddProperty 'Object 1' (402)
  1878. AzAddProperty 'Object 4' (402)
  1879. AzAddProperty 'Object 2' (402)
  1880. AzAddProperty 'Object 5' (402)
  1881. AzAddProperty 'Object 3' (402)
  1882. AzAddProperty 'Object 6' (402)
  1883. AzGetProperty (402)
  1884. 'Object 1'
  1885. 'Object 2'
  1886. 'Object 3'
  1887. 'Object 4'
  1888. 'Object 5'
  1889. 'Object 6'
  1890. AzGroupDelete 'Object 1' (402)
  1891. AzGroupDelete 'Object 4' (402)
  1892. AzGroupDelete 'Object 2' (402)
  1893. AzGroupDelete 'Object 5' (402)
  1894. AzGroupDelete 'Object 3' (402)
  1895. AzGroupDelete 'Object 6' (402)
  1896. AzCloseHandle
  1897. AzCloseHandle
  1898. AzAdminManagerDelete
  1899. AzCloseHandle
  1900. Application->Role - Perform tests of 'Role' objects that are children of 'Application' objects
  1901. Application->Role - 'Application generic Child object test'
  1902. AzInitialize (1)
  1903. AzApplicationCreate 'MyApp'
  1904. DupHandle
  1905. GoSub
  1906. Application->Role - 'Gen object test'
  1907. AzRoleCreate '|' (ERROR_INVALID_NAME)
  1908. AzRoleCreate 'Name1'
  1909. DupHandle
  1910. AzCloseHandle
  1911. AzCloseHandle (ERROR_INVALID_HANDLE)
  1912. AzRoleEnum (ERROR_INVALID_HANDLE)
  1913. AzRoleEnum
  1914. 1:
  1915. DupHandle
  1916. AzCloseHandle
  1917. AzCloseHandle (ERROR_INVALID_HANDLE)
  1918. AzCloseHandle (ERROR_INVALID_HANDLE)
  1919. AzRoleEnum
  1920. 1:
  1921. AzGetProperty (1)
  1922. 'Name1'
  1923. AzGetProperty (2)
  1924. ''
  1925. AzCloseHandle
  1926. AzRoleCreate 'Name2'
  1927. AzRoleEnum
  1928. 1:
  1929. AzGetProperty (1)
  1930. 'Name1'
  1931. AzGetProperty (2)
  1932. ''
  1933. AzCloseHandle
  1934. 2:
  1935. AzGetProperty (1)
  1936. 'Name2'
  1937. AzGetProperty (2)
  1938. ''
  1939. AzCloseHandle
  1940. AzCloseHandle
  1941. Application->Role - 'Delete an object and make sure it doesn't get enumerated'
  1942. AzRoleCreate 'Name3'
  1943. AzRoleDelete 'Name3'
  1944. AzCloseHandle
  1945. AzRoleEnum
  1946. 1:
  1947. AzGetProperty (1)
  1948. 'Name1'
  1949. AzGetProperty (2)
  1950. ''
  1951. AzCloseHandle
  1952. 2:
  1953. AzGetProperty (1)
  1954. 'Name2'
  1955. AzGetProperty (2)
  1956. ''
  1957. AzCloseHandle
  1958. Application->Role - 'Create an object whose name equals that of a deleted object'
  1959. AzRoleCreate 'Name3'
  1960. AzCloseHandle
  1961. AzRoleEnum
  1962. 1:
  1963. AzGetProperty (1)
  1964. 'Name1'
  1965. AzGetProperty (2)
  1966. ''
  1967. AzCloseHandle
  1968. 2:
  1969. AzGetProperty (1)
  1970. 'Name2'
  1971. AzGetProperty (2)
  1972. ''
  1973. AzCloseHandle
  1974. 4:
  1975. AzGetProperty (1)
  1976. 'Name3'
  1977. AzGetProperty (2)
  1978. ''
  1979. AzCloseHandle
  1980. Application->Role - 'Delete an object that isn't on the tail end of the enum list'
  1981. AzRoleDelete 'Name2'
  1982. AzRoleEnum
  1983. 1:
  1984. AzGetProperty (1)
  1985. 'Name1'
  1986. AzGetProperty (2)
  1987. ''
  1988. AzCloseHandle
  1989. 4:
  1990. AzGetProperty (1)
  1991. 'Name3'
  1992. AzGetProperty (2)
  1993. ''
  1994. AzCloseHandle
  1995. Application->Role - 'Basic get/set property tests'
  1996. AzRoleCreate 'Name4'
  1997. AzGetProperty (1)
  1998. 'Name4'
  1999. AzSetProperty '|' (1) (ERROR_INVALID_NAME)
  2000. AzGetProperty (1)
  2001. 'Name4'
  2002. AzSetProperty 'Name4' (1) (ERROR_ALREADY_EXISTS)
  2003. AzGetProperty (1)
  2004. 'Name4'
  2005. AzSetProperty 'Name3' (1) (ERROR_ALREADY_EXISTS)
  2006. AzGetProperty (1)
  2007. 'Name4'
  2008. AzGetProperty (2)
  2009. ''
  2010. AzSetProperty 'WasName4' (1)
  2011. AzSetProperty 'Nam4 Desc' (2)
  2012. AzGetProperty (1)
  2013. 'WasName4'
  2014. AzGetProperty (2)
  2015. 'Nam4 Desc'
  2016. AzRoleEnum
  2017. 1:
  2018. AzGetProperty (1)
  2019. 'Name1'
  2020. AzGetProperty (2)
  2021. ''
  2022. AzCloseHandle
  2023. 4:
  2024. AzGetProperty (1)
  2025. 'Name3'
  2026. AzGetProperty (2)
  2027. ''
  2028. AzCloseHandle
  2029. 5:
  2030. AzGetProperty (1)
  2031. 'WasName4'
  2032. AzGetProperty (2)
  2033. 'Nam4 Desc'
  2034. AzCloseHandle
  2035. AzCloseHandle
  2036. Application->Role - 'Ensure a newly created object is writable'
  2037. AzRoleCreate 'Name5'
  2038. AzGetProperty (3)
  2039. '1'
  2040. AzCloseHandle
  2041. Application->Role - 'Open test'
  2042. AzRoleOpen 'Name1'
  2043. AzGetProperty (1)
  2044. 'Name1'
  2045. AzCloseHandle
  2046. AzRoleOpen 'NameBad' (ERROR_NOT_FOUND)
  2047. AzCloseHandle
  2048. AzAdminManagerDelete
  2049. AzCloseHandle
  2050. Application->Role - 'Test creating two objects with the same name'
  2051. AzInitialize (1)
  2052. AzApplicationCreate 'MyApp'
  2053. AzApplicationCreate 'MyApp' (ERROR_ALREADY_EXISTS)
  2054. AzRoleCreate 'Name1'
  2055. AzRoleCreate 'Name1' (ERROR_ALREADY_EXISTS)
  2056. AzCloseHandle
  2057. AzCloseHandle
  2058. AzAdminManagerDelete
  2059. AzCloseHandle
  2060. Application->Role - 'Role objects that are children of an application'
  2061. AzInitialize (1)
  2062. AzApplicationCreate 'MyApp'
  2063. AzRoleCreate 'Role A'
  2064. Application->Role - 'Test linking to groups that are children of the same admin manager as the role object.'
  2065. Application->Role->Group - Test linking 'Group' objects to the object named 'Role A' using propid '500'.
  2066. Application->Role->Group - 'Create some objects to link the object to'
  2067. AzGroupCreate 'Object 1'
  2068. AzCloseHandle
  2069. AzGroupCreate 'Object 2'
  2070. AzCloseHandle
  2071. AzGroupCreate 'Object 3'
  2072. AzCloseHandle
  2073. Application->Role->Group - 'Reference an object that doesn't exist'
  2074. AzGetProperty (500)
  2075. AzSetProperty 'random' (500) (ERROR_INVALID_PARAMETER)
  2076. AzAddProperty 'random' (500) (ERROR_NOT_FOUND)
  2077. Application->Role->Group - 'Add and remove several objects'
  2078. AzAddProperty 'Object 2' (500)
  2079. AzGetProperty (500)
  2080. 'Object 2'
  2081. AzAddProperty 'Object 3' (500)
  2082. AzGetProperty (500)
  2083. 'Object 2'
  2084. 'Object 3'
  2085. AzAddProperty 'Object 1' (500)
  2086. AzGetProperty (500)
  2087. 'Object 1'
  2088. 'Object 2'
  2089. 'Object 3'
  2090. AzRemProperty 'Object 1' (500)
  2091. AzGetProperty (500)
  2092. 'Object 2'
  2093. 'Object 3'
  2094. AzRemProperty 'Object 2' (500)
  2095. AzGetProperty (500)
  2096. 'Object 3'
  2097. Application->Role->Group - 'Add an item that already exists'
  2098. AzAddProperty 'Object 3' (500) (ERROR_ALREADY_EXISTS)
  2099. AzGetProperty (500)
  2100. 'Object 3'
  2101. AzRemProperty 'Object 3' (500)
  2102. AzGetProperty (500)
  2103. Application->Role->Group - 'Try more than 4 since reference buckets come in multiples of 4'
  2104. AzGroupCreate 'Object 4'
  2105. AzCloseHandle
  2106. AzGroupCreate 'Object 5'
  2107. AzCloseHandle
  2108. AzGroupCreate 'Object 6'
  2109. AzCloseHandle
  2110. AzAddProperty 'Object 1' (500)
  2111. AzAddProperty 'Object 4' (500)
  2112. AzAddProperty 'Object 2' (500)
  2113. AzAddProperty 'Object 5' (500)
  2114. AzAddProperty 'Object 3' (500)
  2115. AzAddProperty 'Object 6' (500)
  2116. AzGetProperty (500)
  2117. 'Object 1'
  2118. 'Object 2'
  2119. 'Object 3'
  2120. 'Object 4'
  2121. 'Object 5'
  2122. 'Object 6'
  2123. AzGroupDelete 'Object 1' (500)
  2124. AzGroupDelete 'Object 4' (500)
  2125. AzGroupDelete 'Object 2' (500)
  2126. AzGroupDelete 'Object 5' (500)
  2127. AzGroupDelete 'Object 3' (500)
  2128. AzGroupDelete 'Object 6' (500)
  2129. Application->Role - 'Test linking to groups that are children of the same application as the role object.'
  2130. Application->Role->Group - Test linking 'Group' objects to the object named 'Role A' using propid '500'.
  2131. Application->Role->Group - 'Create some objects to link the object to'
  2132. AzGroupCreate 'Object 1'
  2133. AzCloseHandle
  2134. AzGroupCreate 'Object 2'
  2135. AzCloseHandle
  2136. AzGroupCreate 'Object 3'
  2137. AzCloseHandle
  2138. Application->Role->Group - 'Reference an object that doesn't exist'
  2139. AzGetProperty (500)
  2140. AzSetProperty 'random' (500) (ERROR_INVALID_PARAMETER)
  2141. AzAddProperty 'random' (500) (ERROR_NOT_FOUND)
  2142. Application->Role->Group - 'Add and remove several objects'
  2143. AzAddProperty 'Object 2' (500)
  2144. AzGetProperty (500)
  2145. 'Object 2'
  2146. AzAddProperty 'Object 3' (500)
  2147. AzGetProperty (500)
  2148. 'Object 2'
  2149. 'Object 3'
  2150. AzAddProperty 'Object 1' (500)
  2151. AzGetProperty (500)
  2152. 'Object 1'
  2153. 'Object 2'
  2154. 'Object 3'
  2155. AzRemProperty 'Object 1' (500)
  2156. AzGetProperty (500)
  2157. 'Object 2'
  2158. 'Object 3'
  2159. AzRemProperty 'Object 2' (500)
  2160. AzGetProperty (500)
  2161. 'Object 3'
  2162. Application->Role->Group - 'Add an item that already exists'
  2163. AzAddProperty 'Object 3' (500) (ERROR_ALREADY_EXISTS)
  2164. AzGetProperty (500)
  2165. 'Object 3'
  2166. AzRemProperty 'Object 3' (500)
  2167. AzGetProperty (500)
  2168. Application->Role->Group - 'Try more than 4 since reference buckets come in multiples of 4'
  2169. AzGroupCreate 'Object 4'
  2170. AzCloseHandle
  2171. AzGroupCreate 'Object 5'
  2172. AzCloseHandle
  2173. AzGroupCreate 'Object 6'
  2174. AzCloseHandle
  2175. AzAddProperty 'Object 1' (500)
  2176. AzAddProperty 'Object 4' (500)
  2177. AzAddProperty 'Object 2' (500)
  2178. AzAddProperty 'Object 5' (500)
  2179. AzAddProperty 'Object 3' (500)
  2180. AzAddProperty 'Object 6' (500)
  2181. AzGetProperty (500)
  2182. 'Object 1'
  2183. 'Object 2'
  2184. 'Object 3'
  2185. 'Object 4'
  2186. 'Object 5'
  2187. 'Object 6'
  2188. AzGroupDelete 'Object 1' (500)
  2189. AzGroupDelete 'Object 4' (500)
  2190. AzGroupDelete 'Object 2' (500)
  2191. AzGroupDelete 'Object 5' (500)
  2192. AzGroupDelete 'Object 3' (500)
  2193. AzGroupDelete 'Object 6' (500)
  2194. Application->Role - 'Test linking to SIDs.'
  2195. Application->Role->Sid - Test linking 'Sid' objects to the object named 'Role A' using propid '501'.
  2196. Application->Role->Sid - 'Add and remove several links to sids'
  2197. AzAddProperty 'S-1-1000-2'(501)
  2198. AzGetProperty (501)
  2199. 'S-1-1000-2'
  2200. AzAddProperty 'S-1-1000-3'(501)
  2201. AzGetProperty (501)
  2202. 'S-1-1000-2'
  2203. 'S-1-1000-3'
  2204. AzAddProperty 'S-1-1000-1'(501)
  2205. AzGetProperty (501)
  2206. 'S-1-1000-1'
  2207. 'S-1-1000-2'
  2208. 'S-1-1000-3'
  2209. AzRemProperty 'S-1-1000-1'(501)
  2210. AzGetProperty (501)
  2211. 'S-1-1000-2'
  2212. 'S-1-1000-3'
  2213. AzRemProperty 'S-1-1000-2'(501)
  2214. AzGetProperty (501)
  2215. 'S-1-1000-3'
  2216. Application->Role->Sid - 'Add a link that already exists'
  2217. AzAddProperty 'S-1-1000-3'(501) (ERROR_ALREADY_EXISTS)
  2218. AzGetProperty (501)
  2219. 'S-1-1000-3'
  2220. AzRemProperty 'S-1-1000-3'(501)
  2221. AzGetProperty (501)
  2222. Application->Role->Sid - 'Try more than 4 since reference buckets come in multiples of 4'
  2223. AzAddProperty 'S-1-1000-1'(501)
  2224. AzAddProperty 'S-1-1000-4'(501)
  2225. AzAddProperty 'S-1-1000-2'(501)
  2226. AzAddProperty 'S-1-1000-5'(501)
  2227. AzAddProperty 'S-1-1000-3'(501)
  2228. AzAddProperty 'S-1-1000-6'(501)
  2229. AzGetProperty (501)
  2230. 'S-1-1000-1'
  2231. 'S-1-1000-2'
  2232. 'S-1-1000-3'
  2233. 'S-1-1000-4'
  2234. 'S-1-1000-5'
  2235. 'S-1-1000-6'
  2236. Application->Role->Operation - Test linking 'Operation' objects to the object named 'Role A' using propid '502'.
  2237. Application->Role->Operation - 'Create some objects to link the object to'
  2238. AzOperationCreate 'Object 1'
  2239. AzCloseHandle
  2240. AzOperationCreate 'Object 2'
  2241. AzCloseHandle
  2242. AzOperationCreate 'Object 3'
  2243. AzCloseHandle
  2244. Application->Role->Operation - 'Reference an object that doesn't exist'
  2245. AzGetProperty (502)
  2246. AzSetProperty 'random' (502) (ERROR_INVALID_PARAMETER)
  2247. AzAddProperty 'random' (502) (ERROR_NOT_FOUND)
  2248. Application->Role->Operation - 'Add and remove several objects'
  2249. AzAddProperty 'Object 2' (502)
  2250. AzGetProperty (502)
  2251. 'Object 2'
  2252. AzAddProperty 'Object 3' (502)
  2253. AzGetProperty (502)
  2254. 'Object 2'
  2255. 'Object 3'
  2256. AzAddProperty 'Object 1' (502)
  2257. AzGetProperty (502)
  2258. 'Object 1'
  2259. 'Object 2'
  2260. 'Object 3'
  2261. AzRemProperty 'Object 1' (502)
  2262. AzGetProperty (502)
  2263. 'Object 2'
  2264. 'Object 3'
  2265. AzRemProperty 'Object 2' (502)
  2266. AzGetProperty (502)
  2267. 'Object 3'
  2268. Application->Role->Operation - 'Add an item that already exists'
  2269. AzAddProperty 'Object 3' (502) (ERROR_ALREADY_EXISTS)
  2270. AzGetProperty (502)
  2271. 'Object 3'
  2272. AzRemProperty 'Object 3' (502)
  2273. AzGetProperty (502)
  2274. Application->Role->Operation - 'Try more than 4 since reference buckets come in multiples of 4'
  2275. AzOperationCreate 'Object 4'
  2276. AzCloseHandle
  2277. AzOperationCreate 'Object 5'
  2278. AzCloseHandle
  2279. AzOperationCreate 'Object 6'
  2280. AzCloseHandle
  2281. AzAddProperty 'Object 1' (502)
  2282. AzAddProperty 'Object 4' (502)
  2283. AzAddProperty 'Object 2' (502)
  2284. AzAddProperty 'Object 5' (502)
  2285. AzAddProperty 'Object 3' (502)
  2286. AzAddProperty 'Object 6' (502)
  2287. AzGetProperty (502)
  2288. 'Object 1'
  2289. 'Object 2'
  2290. 'Object 3'
  2291. 'Object 4'
  2292. 'Object 5'
  2293. 'Object 6'
  2294. AzOperationDelete 'Object 1' (502)
  2295. AzOperationDelete 'Object 4' (502)
  2296. AzOperationDelete 'Object 2' (502)
  2297. AzOperationDelete 'Object 5' (502)
  2298. AzOperationDelete 'Object 3' (502)
  2299. AzOperationDelete 'Object 6' (502)
  2300. AzCloseHandle
  2301. AzCloseHandle
  2302. AzAdminManagerDelete
  2303. AzCloseHandle
  2304. Scope->Group - Perform tests of 'Group' objects that are children of 'Scope' objects
  2305. Scope->Group - 'Scope generic Child object test'
  2306. AzInitialize (1)
  2307. AzApplicationCreate 'MyApp'
  2308. AzScopeCreate 'Scope 1'
  2309. DupHandle
  2310. GoSub
  2311. Scope->Group - 'Gen object test'
  2312. AzGroupCreate '|' (ERROR_INVALID_NAME)
  2313. AzGroupCreate 'Name1'
  2314. DupHandle
  2315. AzCloseHandle
  2316. AzCloseHandle (ERROR_INVALID_HANDLE)
  2317. AzGroupEnum (ERROR_INVALID_HANDLE)
  2318. AzGroupEnum
  2319. 1:
  2320. DupHandle
  2321. AzCloseHandle
  2322. AzCloseHandle (ERROR_INVALID_HANDLE)
  2323. AzCloseHandle (ERROR_INVALID_HANDLE)
  2324. AzGroupEnum
  2325. 1:
  2326. AzGetProperty (1)
  2327. 'Name1'
  2328. AzGetProperty (2)
  2329. ''
  2330. AzCloseHandle
  2331. AzGroupCreate 'Name2'
  2332. AzGroupEnum
  2333. 1:
  2334. AzGetProperty (1)
  2335. 'Name1'
  2336. AzGetProperty (2)
  2337. ''
  2338. AzCloseHandle
  2339. 2:
  2340. AzGetProperty (1)
  2341. 'Name2'
  2342. AzGetProperty (2)
  2343. ''
  2344. AzCloseHandle
  2345. AzCloseHandle
  2346. Scope->Group - 'Delete an object and make sure it doesn't get enumerated'
  2347. AzGroupCreate 'Name3'
  2348. AzGroupDelete 'Name3'
  2349. AzCloseHandle
  2350. AzGroupEnum
  2351. 1:
  2352. AzGetProperty (1)
  2353. 'Name1'
  2354. AzGetProperty (2)
  2355. ''
  2356. AzCloseHandle
  2357. 2:
  2358. AzGetProperty (1)
  2359. 'Name2'
  2360. AzGetProperty (2)
  2361. ''
  2362. AzCloseHandle
  2363. Scope->Group - 'Create an object whose name equals that of a deleted object'
  2364. AzGroupCreate 'Name3'
  2365. AzCloseHandle
  2366. AzGroupEnum
  2367. 1:
  2368. AzGetProperty (1)
  2369. 'Name1'
  2370. AzGetProperty (2)
  2371. ''
  2372. AzCloseHandle
  2373. 2:
  2374. AzGetProperty (1)
  2375. 'Name2'
  2376. AzGetProperty (2)
  2377. ''
  2378. AzCloseHandle
  2379. 4:
  2380. AzGetProperty (1)
  2381. 'Name3'
  2382. AzGetProperty (2)
  2383. ''
  2384. AzCloseHandle
  2385. Scope->Group - 'Delete an object that isn't on the tail end of the enum list'
  2386. AzGroupDelete 'Name2'
  2387. AzGroupEnum
  2388. 1:
  2389. AzGetProperty (1)
  2390. 'Name1'
  2391. AzGetProperty (2)
  2392. ''
  2393. AzCloseHandle
  2394. 4:
  2395. AzGetProperty (1)
  2396. 'Name3'
  2397. AzGetProperty (2)
  2398. ''
  2399. AzCloseHandle
  2400. Scope->Group - 'Basic get/set property tests'
  2401. AzGroupCreate 'Name4'
  2402. AzGetProperty (1)
  2403. 'Name4'
  2404. AzSetProperty '|' (1) (ERROR_INVALID_NAME)
  2405. AzGetProperty (1)
  2406. 'Name4'
  2407. AzSetProperty 'Name4' (1) (ERROR_ALREADY_EXISTS)
  2408. AzGetProperty (1)
  2409. 'Name4'
  2410. AzSetProperty 'Name3' (1) (ERROR_ALREADY_EXISTS)
  2411. AzGetProperty (1)
  2412. 'Name4'
  2413. AzGetProperty (2)
  2414. ''
  2415. AzSetProperty 'WasName4' (1)
  2416. AzSetProperty 'Nam4 Desc' (2)
  2417. AzGetProperty (1)
  2418. 'WasName4'
  2419. AzGetProperty (2)
  2420. 'Nam4 Desc'
  2421. AzGroupEnum
  2422. 1:
  2423. AzGetProperty (1)
  2424. 'Name1'
  2425. AzGetProperty (2)
  2426. ''
  2427. AzCloseHandle
  2428. 4:
  2429. AzGetProperty (1)
  2430. 'Name3'
  2431. AzGetProperty (2)
  2432. ''
  2433. AzCloseHandle
  2434. 5:
  2435. AzGetProperty (1)
  2436. 'WasName4'
  2437. AzGetProperty (2)
  2438. 'Nam4 Desc'
  2439. AzCloseHandle
  2440. AzCloseHandle
  2441. Scope->Group - 'Ensure a newly created object is writable'
  2442. AzGroupCreate 'Name5'
  2443. AzGetProperty (3)
  2444. '1'
  2445. AzCloseHandle
  2446. Scope->Group - 'Open test'
  2447. AzGroupOpen 'Name1'
  2448. AzGetProperty (1)
  2449. 'Name1'
  2450. AzCloseHandle
  2451. AzGroupOpen 'NameBad' (ERROR_NOT_FOUND)
  2452. AzCloseHandle
  2453. AzCloseHandle
  2454. AzAdminManagerDelete
  2455. AzCloseHandle
  2456. Scope->Group - 'Test creating two objects with the same name'
  2457. AzInitialize (1)
  2458. AzApplicationCreate 'MyApp'
  2459. AzScopeCreate 'Scope 1'
  2460. AzGroupCreate 'Name1'
  2461. AzGroupCreate 'Name1' (ERROR_ALREADY_EXISTS)
  2462. AzCloseHandle
  2463. AzCloseHandle
  2464. AzCloseHandle
  2465. AzAdminManagerDelete
  2466. AzCloseHandle
  2467. Scope->Group - 'Group objects that are children of a scope'
  2468. AzInitialize (1)
  2469. AzApplicationCreate 'MyApp'
  2470. AzScopeCreate 'Scope 1'
  2471. DupHandle
  2472. GoSub
  2473. Scope->Group - 'Group object specific tests'
  2474. AzGroupCreate 'Group A'
  2475. AzGroupCreate 'Group B'
  2476. Scope->Group - 'Create some groups to link the group to'
  2477. AzGroupCreate 'Group 1'
  2478. AzCloseHandle
  2479. AzGroupCreate 'Group 2'
  2480. AzCloseHandle
  2481. AzGroupCreate 'Group 3'
  2482. AzCloseHandle
  2483. Scope->Group - 'Set group type to an invalid value'
  2484. AzSetProperty '8' (400) (ERROR_INVALID_PARAMETER)
  2485. AzSetProperty '2' (400)
  2486. Scope->Group - 'Reference ourself'
  2487. AzGetProperty (401)
  2488. AzGetProperty (404)
  2489. AzAddProperty 'Group A' (401) (ERROR_DS_LOOP_DETECT)
  2490. Scope->Group->Group - Test linking 'Group' objects to the object named 'Group A' using propid '401'.
  2491. Scope->Group->Group - 'Create some objects to link the object to'
  2492. AzGroupCreate 'Object 1'
  2493. AzCloseHandle
  2494. AzGroupCreate 'Object 2'
  2495. AzCloseHandle
  2496. AzGroupCreate 'Object 3'
  2497. AzCloseHandle
  2498. Scope->Group->Group - 'Reference an object that doesn't exist'
  2499. AzGetProperty (401)
  2500. AzSetProperty 'random' (401) (ERROR_INVALID_PARAMETER)
  2501. AzAddProperty 'random' (401) (ERROR_NOT_FOUND)
  2502. Scope->Group->Group - 'Add and remove several objects'
  2503. AzAddProperty 'Object 2' (401)
  2504. AzGetProperty (401)
  2505. 'Object 2'
  2506. AzAddProperty 'Object 3' (401)
  2507. AzGetProperty (401)
  2508. 'Object 2'
  2509. 'Object 3'
  2510. AzAddProperty 'Object 1' (401)
  2511. AzGetProperty (401)
  2512. 'Object 1'
  2513. 'Object 2'
  2514. 'Object 3'
  2515. AzRemProperty 'Object 1' (401)
  2516. AzGetProperty (401)
  2517. 'Object 2'
  2518. 'Object 3'
  2519. AzRemProperty 'Object 2' (401)
  2520. AzGetProperty (401)
  2521. 'Object 3'
  2522. Scope->Group->Group - 'Add an item that already exists'
  2523. AzAddProperty 'Object 3' (401) (ERROR_ALREADY_EXISTS)
  2524. AzGetProperty (401)
  2525. 'Object 3'
  2526. AzRemProperty 'Object 3' (401)
  2527. AzGetProperty (401)
  2528. Scope->Group->Group - 'Try more than 4 since reference buckets come in multiples of 4'
  2529. AzGroupCreate 'Object 4'
  2530. AzCloseHandle
  2531. AzGroupCreate 'Object 5'
  2532. AzCloseHandle
  2533. AzGroupCreate 'Object 6'
  2534. AzCloseHandle
  2535. AzAddProperty 'Object 1' (401)
  2536. AzAddProperty 'Object 4' (401)
  2537. AzAddProperty 'Object 2' (401)
  2538. AzAddProperty 'Object 5' (401)
  2539. AzAddProperty 'Object 3' (401)
  2540. AzAddProperty 'Object 6' (401)
  2541. AzGetProperty (401)
  2542. 'Object 1'
  2543. 'Object 2'
  2544. 'Object 3'
  2545. 'Object 4'
  2546. 'Object 5'
  2547. 'Object 6'
  2548. AzGroupDelete 'Object 1' (401)
  2549. AzGroupDelete 'Object 4' (401)
  2550. AzGroupDelete 'Object 2' (401)
  2551. AzGroupDelete 'Object 5' (401)
  2552. AzGroupDelete 'Object 3' (401)
  2553. AzGroupDelete 'Object 6' (401)
  2554. Scope->Group->Sid - Test linking 'Sid' objects to the object named 'Group A' using propid '404'.
  2555. Scope->Group->Sid - 'Add and remove several links to sids'
  2556. AzAddProperty 'S-1-1000-2'(404)
  2557. AzGetProperty (404)
  2558. 'S-1-1000-2'
  2559. AzAddProperty 'S-1-1000-3'(404)
  2560. AzGetProperty (404)
  2561. 'S-1-1000-2'
  2562. 'S-1-1000-3'
  2563. AzAddProperty 'S-1-1000-1'(404)
  2564. AzGetProperty (404)
  2565. 'S-1-1000-1'
  2566. 'S-1-1000-2'
  2567. 'S-1-1000-3'
  2568. AzRemProperty 'S-1-1000-1'(404)
  2569. AzGetProperty (404)
  2570. 'S-1-1000-2'
  2571. 'S-1-1000-3'
  2572. AzRemProperty 'S-1-1000-2'(404)
  2573. AzGetProperty (404)
  2574. 'S-1-1000-3'
  2575. Scope->Group->Sid - 'Add a link that already exists'
  2576. AzAddProperty 'S-1-1000-3'(404) (ERROR_ALREADY_EXISTS)
  2577. AzGetProperty (404)
  2578. 'S-1-1000-3'
  2579. AzRemProperty 'S-1-1000-3'(404)
  2580. AzGetProperty (404)
  2581. Scope->Group->Sid - 'Try more than 4 since reference buckets come in multiples of 4'
  2582. AzAddProperty 'S-1-1000-1'(404)
  2583. AzAddProperty 'S-1-1000-4'(404)
  2584. AzAddProperty 'S-1-1000-2'(404)
  2585. AzAddProperty 'S-1-1000-5'(404)
  2586. AzAddProperty 'S-1-1000-3'(404)
  2587. AzAddProperty 'S-1-1000-6'(404)
  2588. AzGetProperty (404)
  2589. 'S-1-1000-1'
  2590. 'S-1-1000-2'
  2591. 'S-1-1000-3'
  2592. 'S-1-1000-4'
  2593. 'S-1-1000-5'
  2594. 'S-1-1000-6'
  2595. Scope->Group - 'Same as above, but for the non-members attribute'
  2596. AzGetProperty (402)
  2597. AzGetProperty (405)
  2598. AzAddProperty 'Group A' (402) (ERROR_DS_LOOP_DETECT)
  2599. Scope->Group->Group - Test linking 'Group' objects to the object named 'Group A' using propid '402'.
  2600. Scope->Group->Group - 'Create some objects to link the object to'
  2601. AzGroupCreate 'Object 1'
  2602. AzCloseHandle
  2603. AzGroupCreate 'Object 2'
  2604. AzCloseHandle
  2605. AzGroupCreate 'Object 3'
  2606. AzCloseHandle
  2607. Scope->Group->Group - 'Reference an object that doesn't exist'
  2608. AzGetProperty (402)
  2609. AzSetProperty 'random' (402) (ERROR_INVALID_PARAMETER)
  2610. AzAddProperty 'random' (402) (ERROR_NOT_FOUND)
  2611. Scope->Group->Group - 'Add and remove several objects'
  2612. AzAddProperty 'Object 2' (402)
  2613. AzGetProperty (402)
  2614. 'Object 2'
  2615. AzAddProperty 'Object 3' (402)
  2616. AzGetProperty (402)
  2617. 'Object 2'
  2618. 'Object 3'
  2619. AzAddProperty 'Object 1' (402)
  2620. AzGetProperty (402)
  2621. 'Object 1'
  2622. 'Object 2'
  2623. 'Object 3'
  2624. AzRemProperty 'Object 1' (402)
  2625. AzGetProperty (402)
  2626. 'Object 2'
  2627. 'Object 3'
  2628. AzRemProperty 'Object 2' (402)
  2629. AzGetProperty (402)
  2630. 'Object 3'
  2631. Scope->Group->Group - 'Add an item that already exists'
  2632. AzAddProperty 'Object 3' (402) (ERROR_ALREADY_EXISTS)
  2633. AzGetProperty (402)
  2634. 'Object 3'
  2635. AzRemProperty 'Object 3' (402)
  2636. AzGetProperty (402)
  2637. Scope->Group->Group - 'Try more than 4 since reference buckets come in multiples of 4'
  2638. AzGroupCreate 'Object 4'
  2639. AzCloseHandle
  2640. AzGroupCreate 'Object 5'
  2641. AzCloseHandle
  2642. AzGroupCreate 'Object 6'
  2643. AzCloseHandle
  2644. AzAddProperty 'Object 1' (402)
  2645. AzAddProperty 'Object 4' (402)
  2646. AzAddProperty 'Object 2' (402)
  2647. AzAddProperty 'Object 5' (402)
  2648. AzAddProperty 'Object 3' (402)
  2649. AzAddProperty 'Object 6' (402)
  2650. AzGetProperty (402)
  2651. 'Object 1'
  2652. 'Object 2'
  2653. 'Object 3'
  2654. 'Object 4'
  2655. 'Object 5'
  2656. 'Object 6'
  2657. AzGroupDelete 'Object 1' (402)
  2658. AzGroupDelete 'Object 4' (402)
  2659. AzGroupDelete 'Object 2' (402)
  2660. AzGroupDelete 'Object 5' (402)
  2661. AzGroupDelete 'Object 3' (402)
  2662. AzGroupDelete 'Object 6' (402)
  2663. Scope->Group->Sid - Test linking 'Sid' objects to the object named 'Group A' using propid '405'.
  2664. Scope->Group->Sid - 'Add and remove several links to sids'
  2665. AzAddProperty 'S-1-1000-2'(405)
  2666. AzGetProperty (405)
  2667. 'S-1-1000-2'
  2668. AzAddProperty 'S-1-1000-3'(405)
  2669. AzGetProperty (405)
  2670. 'S-1-1000-2'
  2671. 'S-1-1000-3'
  2672. AzAddProperty 'S-1-1000-1'(405)
  2673. AzGetProperty (405)
  2674. 'S-1-1000-1'
  2675. 'S-1-1000-2'
  2676. 'S-1-1000-3'
  2677. AzRemProperty 'S-1-1000-1'(405)
  2678. AzGetProperty (405)
  2679. 'S-1-1000-2'
  2680. 'S-1-1000-3'
  2681. AzRemProperty 'S-1-1000-2'(405)
  2682. AzGetProperty (405)
  2683. 'S-1-1000-3'
  2684. Scope->Group->Sid - 'Add a link that already exists'
  2685. AzAddProperty 'S-1-1000-3'(405) (ERROR_ALREADY_EXISTS)
  2686. AzGetProperty (405)
  2687. 'S-1-1000-3'
  2688. AzRemProperty 'S-1-1000-3'(405)
  2689. AzGetProperty (405)
  2690. Scope->Group->Sid - 'Try more than 4 since reference buckets come in multiples of 4'
  2691. AzAddProperty 'S-1-1000-1'(405)
  2692. AzAddProperty 'S-1-1000-4'(405)
  2693. AzAddProperty 'S-1-1000-2'(405)
  2694. AzAddProperty 'S-1-1000-5'(405)
  2695. AzAddProperty 'S-1-1000-3'(405)
  2696. AzAddProperty 'S-1-1000-6'(405)
  2697. AzGetProperty (405)
  2698. 'S-1-1000-1'
  2699. 'S-1-1000-2'
  2700. 'S-1-1000-3'
  2701. 'S-1-1000-4'
  2702. 'S-1-1000-5'
  2703. 'S-1-1000-6'
  2704. Scope->Group - 'Set LdapQuery string on a basic group'
  2705. AzGetProperty (403)
  2706. ''
  2707. AzSetProperty 'TheQuery' (403) (ERROR_INVALID_PARAMETER)
  2708. AzSetProperty '1' (400) (ERROR_INVALID_PARAMETER)
  2709. AzSetProperty 'TheQuery' (403) (ERROR_INVALID_PARAMETER)
  2710. AzGetProperty (403)
  2711. ''
  2712. AzSetProperty '2' (400)
  2713. AzSetProperty 'TheQuery' (403) (ERROR_INVALID_PARAMETER)
  2714. AzSetProperty '' (403)
  2715. Scope->Group - 'Set LdapQuery string on an ldap query group'
  2716. AzGetProperty (403)
  2717. ''
  2718. AzSetProperty 'TheQuery' (403) (ERROR_INVALID_PARAMETER)
  2719. AzSetProperty '1' (400)
  2720. AzSetProperty 'TheQuery' (403)
  2721. AzGetProperty (403)
  2722. 'TheQuery'
  2723. AzSetProperty '2' (400) (ERROR_INVALID_PARAMETER)
  2724. AzGetProperty (403)
  2725. 'TheQuery'
  2726. AzSetProperty '' (403)
  2727. Scope->Group - 'Test loops'
  2728. AzSetProperty '2' (400)
  2729. AzAddProperty 'Group B' (401)
  2730. AzAddProperty 'Group A' (401) (ERROR_DS_LOOP_DETECT)
  2731. AzAddProperty 'Group B' (402)
  2732. AzAddProperty 'Group A' (402) (ERROR_DS_LOOP_DETECT)
  2733. AzRemProperty 'Group B' (402)
  2734. AzRemProperty 'Group B' (401)
  2735. AzCloseHandle
  2736. AzCloseHandle
  2737. Scope->Group - 'Test linking to groups that are children of the same admin manager as this group.'
  2738. AzGroupOpen 'Group A'
  2739. Scope->Group->Group - Test linking 'Group' objects to the object named 'Group A' using propid '401'.
  2740. Scope->Group->Group - 'Create some objects to link the object to'
  2741. AzGroupCreate 'Object 1'
  2742. AzCloseHandle
  2743. AzGroupCreate 'Object 2'
  2744. AzCloseHandle
  2745. AzGroupCreate 'Object 3'
  2746. AzCloseHandle
  2747. Scope->Group->Group - 'Reference an object that doesn't exist'
  2748. AzGetProperty (401)
  2749. AzSetProperty 'random' (401) (ERROR_INVALID_PARAMETER)
  2750. AzAddProperty 'random' (401) (ERROR_NOT_FOUND)
  2751. Scope->Group->Group - 'Add and remove several objects'
  2752. AzAddProperty 'Object 2' (401)
  2753. AzGetProperty (401)
  2754. 'Object 2'
  2755. AzAddProperty 'Object 3' (401)
  2756. AzGetProperty (401)
  2757. 'Object 2'
  2758. 'Object 3'
  2759. AzAddProperty 'Object 1' (401)
  2760. AzGetProperty (401)
  2761. 'Object 1'
  2762. 'Object 2'
  2763. 'Object 3'
  2764. AzRemProperty 'Object 1' (401)
  2765. AzGetProperty (401)
  2766. 'Object 2'
  2767. 'Object 3'
  2768. AzRemProperty 'Object 2' (401)
  2769. AzGetProperty (401)
  2770. 'Object 3'
  2771. Scope->Group->Group - 'Add an item that already exists'
  2772. AzAddProperty 'Object 3' (401) (ERROR_ALREADY_EXISTS)
  2773. AzGetProperty (401)
  2774. 'Object 3'
  2775. AzRemProperty 'Object 3' (401)
  2776. AzGetProperty (401)
  2777. Scope->Group->Group - 'Try more than 4 since reference buckets come in multiples of 4'
  2778. AzGroupCreate 'Object 4'
  2779. AzCloseHandle
  2780. AzGroupCreate 'Object 5'
  2781. AzCloseHandle
  2782. AzGroupCreate 'Object 6'
  2783. AzCloseHandle
  2784. AzAddProperty 'Object 1' (401)
  2785. AzAddProperty 'Object 4' (401)
  2786. AzAddProperty 'Object 2' (401)
  2787. AzAddProperty 'Object 5' (401)
  2788. AzAddProperty 'Object 3' (401)
  2789. AzAddProperty 'Object 6' (401)
  2790. AzGetProperty (401)
  2791. 'Object 1'
  2792. 'Object 2'
  2793. 'Object 3'
  2794. 'Object 4'
  2795. 'Object 5'
  2796. 'Object 6'
  2797. AzGroupDelete 'Object 1' (401)
  2798. AzGroupDelete 'Object 4' (401)
  2799. AzGroupDelete 'Object 2' (401)
  2800. AzGroupDelete 'Object 5' (401)
  2801. AzGroupDelete 'Object 3' (401)
  2802. AzGroupDelete 'Object 6' (401)
  2803. Scope->Group->Group - Test linking 'Group' objects to the object named 'Group A' using propid '402'.
  2804. Scope->Group->Group - 'Create some objects to link the object to'
  2805. AzGroupCreate 'Object 1'
  2806. AzCloseHandle
  2807. AzGroupCreate 'Object 2'
  2808. AzCloseHandle
  2809. AzGroupCreate 'Object 3'
  2810. AzCloseHandle
  2811. Scope->Group->Group - 'Reference an object that doesn't exist'
  2812. AzGetProperty (402)
  2813. AzSetProperty 'random' (402) (ERROR_INVALID_PARAMETER)
  2814. AzAddProperty 'random' (402) (ERROR_NOT_FOUND)
  2815. Scope->Group->Group - 'Add and remove several objects'
  2816. AzAddProperty 'Object 2' (402)
  2817. AzGetProperty (402)
  2818. 'Object 2'
  2819. AzAddProperty 'Object 3' (402)
  2820. AzGetProperty (402)
  2821. 'Object 2'
  2822. 'Object 3'
  2823. AzAddProperty 'Object 1' (402)
  2824. AzGetProperty (402)
  2825. 'Object 1'
  2826. 'Object 2'
  2827. 'Object 3'
  2828. AzRemProperty 'Object 1' (402)
  2829. AzGetProperty (402)
  2830. 'Object 2'
  2831. 'Object 3'
  2832. AzRemProperty 'Object 2' (402)
  2833. AzGetProperty (402)
  2834. 'Object 3'
  2835. Scope->Group->Group - 'Add an item that already exists'
  2836. AzAddProperty 'Object 3' (402) (ERROR_ALREADY_EXISTS)
  2837. AzGetProperty (402)
  2838. 'Object 3'
  2839. AzRemProperty 'Object 3' (402)
  2840. AzGetProperty (402)
  2841. Scope->Group->Group - 'Try more than 4 since reference buckets come in multiples of 4'
  2842. AzGroupCreate 'Object 4'
  2843. AzCloseHandle
  2844. AzGroupCreate 'Object 5'
  2845. AzCloseHandle
  2846. AzGroupCreate 'Object 6'
  2847. AzCloseHandle
  2848. AzAddProperty 'Object 1' (402)
  2849. AzAddProperty 'Object 4' (402)
  2850. AzAddProperty 'Object 2' (402)
  2851. AzAddProperty 'Object 5' (402)
  2852. AzAddProperty 'Object 3' (402)
  2853. AzAddProperty 'Object 6' (402)
  2854. AzGetProperty (402)
  2855. 'Object 1'
  2856. 'Object 2'
  2857. 'Object 3'
  2858. 'Object 4'
  2859. 'Object 5'
  2860. 'Object 6'
  2861. AzGroupDelete 'Object 1' (402)
  2862. AzGroupDelete 'Object 4' (402)
  2863. AzGroupDelete 'Object 2' (402)
  2864. AzGroupDelete 'Object 5' (402)
  2865. AzGroupDelete 'Object 3' (402)
  2866. AzGroupDelete 'Object 6' (402)
  2867. AzCloseHandle
  2868. Scope->Group - 'Test linking to groups that are children of the same application as this group.'
  2869. AzGroupOpen 'Group A'
  2870. Scope->Group->Group - Test linking 'Group' objects to the object named 'Group A' using propid '401'.
  2871. Scope->Group->Group - 'Create some objects to link the object to'
  2872. AzGroupCreate 'Object 1'
  2873. AzCloseHandle
  2874. AzGroupCreate 'Object 2'
  2875. AzCloseHandle
  2876. AzGroupCreate 'Object 3'
  2877. AzCloseHandle
  2878. Scope->Group->Group - 'Reference an object that doesn't exist'
  2879. AzGetProperty (401)
  2880. AzSetProperty 'random' (401) (ERROR_INVALID_PARAMETER)
  2881. AzAddProperty 'random' (401) (ERROR_NOT_FOUND)
  2882. Scope->Group->Group - 'Add and remove several objects'
  2883. AzAddProperty 'Object 2' (401)
  2884. AzGetProperty (401)
  2885. 'Object 2'
  2886. AzAddProperty 'Object 3' (401)
  2887. AzGetProperty (401)
  2888. 'Object 2'
  2889. 'Object 3'
  2890. AzAddProperty 'Object 1' (401)
  2891. AzGetProperty (401)
  2892. 'Object 1'
  2893. 'Object 2'
  2894. 'Object 3'
  2895. AzRemProperty 'Object 1' (401)
  2896. AzGetProperty (401)
  2897. 'Object 2'
  2898. 'Object 3'
  2899. AzRemProperty 'Object 2' (401)
  2900. AzGetProperty (401)
  2901. 'Object 3'
  2902. Scope->Group->Group - 'Add an item that already exists'
  2903. AzAddProperty 'Object 3' (401) (ERROR_ALREADY_EXISTS)
  2904. AzGetProperty (401)
  2905. 'Object 3'
  2906. AzRemProperty 'Object 3' (401)
  2907. AzGetProperty (401)
  2908. Scope->Group->Group - 'Try more than 4 since reference buckets come in multiples of 4'
  2909. AzGroupCreate 'Object 4'
  2910. AzCloseHandle
  2911. AzGroupCreate 'Object 5'
  2912. AzCloseHandle
  2913. AzGroupCreate 'Object 6'
  2914. AzCloseHandle
  2915. AzAddProperty 'Object 1' (401)
  2916. AzAddProperty 'Object 4' (401)
  2917. AzAddProperty 'Object 2' (401)
  2918. AzAddProperty 'Object 5' (401)
  2919. AzAddProperty 'Object 3' (401)
  2920. AzAddProperty 'Object 6' (401)
  2921. AzGetProperty (401)
  2922. 'Object 1'
  2923. 'Object 2'
  2924. 'Object 3'
  2925. 'Object 4'
  2926. 'Object 5'
  2927. 'Object 6'
  2928. AzGroupDelete 'Object 1' (401)
  2929. AzGroupDelete 'Object 4' (401)
  2930. AzGroupDelete 'Object 2' (401)
  2931. AzGroupDelete 'Object 5' (401)
  2932. AzGroupDelete 'Object 3' (401)
  2933. AzGroupDelete 'Object 6' (401)
  2934. Scope->Group->Group - Test linking 'Group' objects to the object named 'Group A' using propid '402'.
  2935. Scope->Group->Group - 'Create some objects to link the object to'
  2936. AzGroupCreate 'Object 1'
  2937. AzCloseHandle
  2938. AzGroupCreate 'Object 2'
  2939. AzCloseHandle
  2940. AzGroupCreate 'Object 3'
  2941. AzCloseHandle
  2942. Scope->Group->Group - 'Reference an object that doesn't exist'
  2943. AzGetProperty (402)
  2944. AzSetProperty 'random' (402) (ERROR_INVALID_PARAMETER)
  2945. AzAddProperty 'random' (402) (ERROR_NOT_FOUND)
  2946. Scope->Group->Group - 'Add and remove several objects'
  2947. AzAddProperty 'Object 2' (402)
  2948. AzGetProperty (402)
  2949. 'Object 2'
  2950. AzAddProperty 'Object 3' (402)
  2951. AzGetProperty (402)
  2952. 'Object 2'
  2953. 'Object 3'
  2954. AzAddProperty 'Object 1' (402)
  2955. AzGetProperty (402)
  2956. 'Object 1'
  2957. 'Object 2'
  2958. 'Object 3'
  2959. AzRemProperty 'Object 1' (402)
  2960. AzGetProperty (402)
  2961. 'Object 2'
  2962. 'Object 3'
  2963. AzRemProperty 'Object 2' (402)
  2964. AzGetProperty (402)
  2965. 'Object 3'
  2966. Scope->Group->Group - 'Add an item that already exists'
  2967. AzAddProperty 'Object 3' (402) (ERROR_ALREADY_EXISTS)
  2968. AzGetProperty (402)
  2969. 'Object 3'
  2970. AzRemProperty 'Object 3' (402)
  2971. AzGetProperty (402)
  2972. Scope->Group->Group - 'Try more than 4 since reference buckets come in multiples of 4'
  2973. AzGroupCreate 'Object 4'
  2974. AzCloseHandle
  2975. AzGroupCreate 'Object 5'
  2976. AzCloseHandle
  2977. AzGroupCreate 'Object 6'
  2978. AzCloseHandle
  2979. AzAddProperty 'Object 1' (402)
  2980. AzAddProperty 'Object 4' (402)
  2981. AzAddProperty 'Object 2' (402)
  2982. AzAddProperty 'Object 5' (402)
  2983. AzAddProperty 'Object 3' (402)
  2984. AzAddProperty 'Object 6' (402)
  2985. AzGetProperty (402)
  2986. 'Object 1'
  2987. 'Object 2'
  2988. 'Object 3'
  2989. 'Object 4'
  2990. 'Object 5'
  2991. 'Object 6'
  2992. AzGroupDelete 'Object 1' (402)
  2993. AzGroupDelete 'Object 4' (402)
  2994. AzGroupDelete 'Object 2' (402)
  2995. AzGroupDelete 'Object 5' (402)
  2996. AzGroupDelete 'Object 3' (402)
  2997. AzGroupDelete 'Object 6' (402)
  2998. AzCloseHandle
  2999. AzCloseHandle
  3000. AzCloseHandle
  3001. AzAdminManagerDelete
  3002. AzCloseHandle
  3003. Scope->Role - Perform tests of 'Role' objects that are children of 'Scope' objects
  3004. Scope->Role - 'Scope generic Child object test'
  3005. AzInitialize (1)
  3006. AzApplicationCreate 'MyApp'
  3007. AzScopeCreate 'Scope 1'
  3008. DupHandle
  3009. GoSub
  3010. Scope->Role - 'Gen object test'
  3011. AzRoleCreate '|' (ERROR_INVALID_NAME)
  3012. AzRoleCreate 'Name1'
  3013. DupHandle
  3014. AzCloseHandle
  3015. AzCloseHandle (ERROR_INVALID_HANDLE)
  3016. AzRoleEnum (ERROR_INVALID_HANDLE)
  3017. AzRoleEnum
  3018. 1:
  3019. DupHandle
  3020. AzCloseHandle
  3021. AzCloseHandle (ERROR_INVALID_HANDLE)
  3022. AzCloseHandle (ERROR_INVALID_HANDLE)
  3023. AzRoleEnum
  3024. 1:
  3025. AzGetProperty (1)
  3026. 'Name1'
  3027. AzGetProperty (2)
  3028. ''
  3029. AzCloseHandle
  3030. AzRoleCreate 'Name2'
  3031. AzRoleEnum
  3032. 1:
  3033. AzGetProperty (1)
  3034. 'Name1'
  3035. AzGetProperty (2)
  3036. ''
  3037. AzCloseHandle
  3038. 2:
  3039. AzGetProperty (1)
  3040. 'Name2'
  3041. AzGetProperty (2)
  3042. ''
  3043. AzCloseHandle
  3044. AzCloseHandle
  3045. Scope->Role - 'Delete an object and make sure it doesn't get enumerated'
  3046. AzRoleCreate 'Name3'
  3047. AzRoleDelete 'Name3'
  3048. AzCloseHandle
  3049. AzRoleEnum
  3050. 1:
  3051. AzGetProperty (1)
  3052. 'Name1'
  3053. AzGetProperty (2)
  3054. ''
  3055. AzCloseHandle
  3056. 2:
  3057. AzGetProperty (1)
  3058. 'Name2'
  3059. AzGetProperty (2)
  3060. ''
  3061. AzCloseHandle
  3062. Scope->Role - 'Create an object whose name equals that of a deleted object'
  3063. AzRoleCreate 'Name3'
  3064. AzCloseHandle
  3065. AzRoleEnum
  3066. 1:
  3067. AzGetProperty (1)
  3068. 'Name1'
  3069. AzGetProperty (2)
  3070. ''
  3071. AzCloseHandle
  3072. 2:
  3073. AzGetProperty (1)
  3074. 'Name2'
  3075. AzGetProperty (2)
  3076. ''
  3077. AzCloseHandle
  3078. 4:
  3079. AzGetProperty (1)
  3080. 'Name3'
  3081. AzGetProperty (2)
  3082. ''
  3083. AzCloseHandle
  3084. Scope->Role - 'Delete an object that isn't on the tail end of the enum list'
  3085. AzRoleDelete 'Name2'
  3086. AzRoleEnum
  3087. 1:
  3088. AzGetProperty (1)
  3089. 'Name1'
  3090. AzGetProperty (2)
  3091. ''
  3092. AzCloseHandle
  3093. 4:
  3094. AzGetProperty (1)
  3095. 'Name3'
  3096. AzGetProperty (2)
  3097. ''
  3098. AzCloseHandle
  3099. Scope->Role - 'Basic get/set property tests'
  3100. AzRoleCreate 'Name4'
  3101. AzGetProperty (1)
  3102. 'Name4'
  3103. AzSetProperty '|' (1) (ERROR_INVALID_NAME)
  3104. AzGetProperty (1)
  3105. 'Name4'
  3106. AzSetProperty 'Name4' (1) (ERROR_ALREADY_EXISTS)
  3107. AzGetProperty (1)
  3108. 'Name4'
  3109. AzSetProperty 'Name3' (1) (ERROR_ALREADY_EXISTS)
  3110. AzGetProperty (1)
  3111. 'Name4'
  3112. AzGetProperty (2)
  3113. ''
  3114. AzSetProperty 'WasName4' (1)
  3115. AzSetProperty 'Nam4 Desc' (2)
  3116. AzGetProperty (1)
  3117. 'WasName4'
  3118. AzGetProperty (2)
  3119. 'Nam4 Desc'
  3120. AzRoleEnum
  3121. 1:
  3122. AzGetProperty (1)
  3123. 'Name1'
  3124. AzGetProperty (2)
  3125. ''
  3126. AzCloseHandle
  3127. 4:
  3128. AzGetProperty (1)
  3129. 'Name3'
  3130. AzGetProperty (2)
  3131. ''
  3132. AzCloseHandle
  3133. 5:
  3134. AzGetProperty (1)
  3135. 'WasName4'
  3136. AzGetProperty (2)
  3137. 'Nam4 Desc'
  3138. AzCloseHandle
  3139. AzCloseHandle
  3140. Scope->Role - 'Ensure a newly created object is writable'
  3141. AzRoleCreate 'Name5'
  3142. AzGetProperty (3)
  3143. '1'
  3144. AzCloseHandle
  3145. Scope->Role - 'Open test'
  3146. AzRoleOpen 'Name1'
  3147. AzGetProperty (1)
  3148. 'Name1'
  3149. AzCloseHandle
  3150. AzRoleOpen 'NameBad' (ERROR_NOT_FOUND)
  3151. AzCloseHandle
  3152. AzCloseHandle
  3153. AzAdminManagerDelete
  3154. AzCloseHandle
  3155. Scope->Role - 'Test creating two objects with the same name'
  3156. AzInitialize (1)
  3157. AzApplicationCreate 'MyApp'
  3158. AzScopeCreate 'Scope 1'
  3159. AzRoleCreate 'Name1'
  3160. AzRoleCreate 'Name1' (ERROR_ALREADY_EXISTS)
  3161. AzCloseHandle
  3162. AzCloseHandle
  3163. AzCloseHandle
  3164. AzAdminManagerDelete
  3165. AzCloseHandle
  3166. Scope->Role - 'Role objects that are children of a scope'
  3167. AzInitialize (1)
  3168. AzApplicationCreate 'MyApp'
  3169. AzScopeCreate 'Scope 1'
  3170. AzRoleCreate 'Role A'
  3171. Scope->Role - 'Test linking to groups that are children of the same scope object as the role object.'
  3172. Scope->Role->Group - Test linking 'Group' objects to the object named 'Role A' using propid '500'.
  3173. Scope->Role->Group - 'Create some objects to link the object to'
  3174. AzGroupCreate 'Object 1'
  3175. AzCloseHandle
  3176. AzGroupCreate 'Object 2'
  3177. AzCloseHandle
  3178. AzGroupCreate 'Object 3'
  3179. AzCloseHandle
  3180. Scope->Role->Group - 'Reference an object that doesn't exist'
  3181. AzGetProperty (500)
  3182. AzSetProperty 'random' (500) (ERROR_INVALID_PARAMETER)
  3183. AzAddProperty 'random' (500) (ERROR_NOT_FOUND)
  3184. Scope->Role->Group - 'Add and remove several objects'
  3185. AzAddProperty 'Object 2' (500)
  3186. AzGetProperty (500)
  3187. 'Object 2'
  3188. AzAddProperty 'Object 3' (500)
  3189. AzGetProperty (500)
  3190. 'Object 2'
  3191. 'Object 3'
  3192. AzAddProperty 'Object 1' (500)
  3193. AzGetProperty (500)
  3194. 'Object 1'
  3195. 'Object 2'
  3196. 'Object 3'
  3197. AzRemProperty 'Object 1' (500)
  3198. AzGetProperty (500)
  3199. 'Object 2'
  3200. 'Object 3'
  3201. AzRemProperty 'Object 2' (500)
  3202. AzGetProperty (500)
  3203. 'Object 3'
  3204. Scope->Role->Group - 'Add an item that already exists'
  3205. AzAddProperty 'Object 3' (500) (ERROR_ALREADY_EXISTS)
  3206. AzGetProperty (500)
  3207. 'Object 3'
  3208. AzRemProperty 'Object 3' (500)
  3209. AzGetProperty (500)
  3210. Scope->Role->Group - 'Try more than 4 since reference buckets come in multiples of 4'
  3211. AzGroupCreate 'Object 4'
  3212. AzCloseHandle
  3213. AzGroupCreate 'Object 5'
  3214. AzCloseHandle
  3215. AzGroupCreate 'Object 6'
  3216. AzCloseHandle
  3217. AzAddProperty 'Object 1' (500)
  3218. AzAddProperty 'Object 4' (500)
  3219. AzAddProperty 'Object 2' (500)
  3220. AzAddProperty 'Object 5' (500)
  3221. AzAddProperty 'Object 3' (500)
  3222. AzAddProperty 'Object 6' (500)
  3223. AzGetProperty (500)
  3224. 'Object 1'
  3225. 'Object 2'
  3226. 'Object 3'
  3227. 'Object 4'
  3228. 'Object 5'
  3229. 'Object 6'
  3230. AzGroupDelete 'Object 1' (500)
  3231. AzGroupDelete 'Object 4' (500)
  3232. AzGroupDelete 'Object 2' (500)
  3233. AzGroupDelete 'Object 5' (500)
  3234. AzGroupDelete 'Object 3' (500)
  3235. AzGroupDelete 'Object 6' (500)
  3236. Scope->Role - 'Test linking to groups that are children of the same application as the role object.'
  3237. Scope->Role->Group - Test linking 'Group' objects to the object named 'Role A' using propid '500'.
  3238. Scope->Role->Group - 'Create some objects to link the object to'
  3239. AzGroupCreate 'Object 1'
  3240. AzCloseHandle
  3241. AzGroupCreate 'Object 2'
  3242. AzCloseHandle
  3243. AzGroupCreate 'Object 3'
  3244. AzCloseHandle
  3245. Scope->Role->Group - 'Reference an object that doesn't exist'
  3246. AzGetProperty (500)
  3247. AzSetProperty 'random' (500) (ERROR_INVALID_PARAMETER)
  3248. AzAddProperty 'random' (500) (ERROR_NOT_FOUND)
  3249. Scope->Role->Group - 'Add and remove several objects'
  3250. AzAddProperty 'Object 2' (500)
  3251. AzGetProperty (500)
  3252. 'Object 2'
  3253. AzAddProperty 'Object 3' (500)
  3254. AzGetProperty (500)
  3255. 'Object 2'
  3256. 'Object 3'
  3257. AzAddProperty 'Object 1' (500)
  3258. AzGetProperty (500)
  3259. 'Object 1'
  3260. 'Object 2'
  3261. 'Object 3'
  3262. AzRemProperty 'Object 1' (500)
  3263. AzGetProperty (500)
  3264. 'Object 2'
  3265. 'Object 3'
  3266. AzRemProperty 'Object 2' (500)
  3267. AzGetProperty (500)
  3268. 'Object 3'
  3269. Scope->Role->Group - 'Add an item that already exists'
  3270. AzAddProperty 'Object 3' (500) (ERROR_ALREADY_EXISTS)
  3271. AzGetProperty (500)
  3272. 'Object 3'
  3273. AzRemProperty 'Object 3' (500)
  3274. AzGetProperty (500)
  3275. Scope->Role->Group - 'Try more than 4 since reference buckets come in multiples of 4'
  3276. AzGroupCreate 'Object 4'
  3277. AzCloseHandle
  3278. AzGroupCreate 'Object 5'
  3279. AzCloseHandle
  3280. AzGroupCreate 'Object 6'
  3281. AzCloseHandle
  3282. AzAddProperty 'Object 1' (500)
  3283. AzAddProperty 'Object 4' (500)
  3284. AzAddProperty 'Object 2' (500)
  3285. AzAddProperty 'Object 5' (500)
  3286. AzAddProperty 'Object 3' (500)
  3287. AzAddProperty 'Object 6' (500)
  3288. AzGetProperty (500)
  3289. 'Object 1'
  3290. 'Object 2'
  3291. 'Object 3'
  3292. 'Object 4'
  3293. 'Object 5'
  3294. 'Object 6'
  3295. AzGroupDelete 'Object 1' (500)
  3296. AzGroupDelete 'Object 4' (500)
  3297. AzGroupDelete 'Object 2' (500)
  3298. AzGroupDelete 'Object 5' (500)
  3299. AzGroupDelete 'Object 3' (500)
  3300. AzGroupDelete 'Object 6' (500)
  3301. Scope->Role - 'Test linking to SIDs.'
  3302. Scope->Role->Sid - Test linking 'Sid' objects to the object named 'Role A' using propid '501'.
  3303. Scope->Role->Sid - 'Add and remove several links to sids'
  3304. AzAddProperty 'S-1-1000-2'(501)
  3305. AzGetProperty (501)
  3306. 'S-1-1000-2'
  3307. AzAddProperty 'S-1-1000-3'(501)
  3308. AzGetProperty (501)
  3309. 'S-1-1000-2'
  3310. 'S-1-1000-3'
  3311. AzAddProperty 'S-1-1000-1'(501)
  3312. AzGetProperty (501)
  3313. 'S-1-1000-1'
  3314. 'S-1-1000-2'
  3315. 'S-1-1000-3'
  3316. AzRemProperty 'S-1-1000-1'(501)
  3317. AzGetProperty (501)
  3318. 'S-1-1000-2'
  3319. 'S-1-1000-3'
  3320. AzRemProperty 'S-1-1000-2'(501)
  3321. AzGetProperty (501)
  3322. 'S-1-1000-3'
  3323. Scope->Role->Sid - 'Add a link that already exists'
  3324. AzAddProperty 'S-1-1000-3'(501) (ERROR_ALREADY_EXISTS)
  3325. AzGetProperty (501)
  3326. 'S-1-1000-3'
  3327. AzRemProperty 'S-1-1000-3'(501)
  3328. AzGetProperty (501)
  3329. Scope->Role->Sid - 'Try more than 4 since reference buckets come in multiples of 4'
  3330. AzAddProperty 'S-1-1000-1'(501)
  3331. AzAddProperty 'S-1-1000-4'(501)
  3332. AzAddProperty 'S-1-1000-2'(501)
  3333. AzAddProperty 'S-1-1000-5'(501)
  3334. AzAddProperty 'S-1-1000-3'(501)
  3335. AzAddProperty 'S-1-1000-6'(501)
  3336. AzGetProperty (501)
  3337. 'S-1-1000-1'
  3338. 'S-1-1000-2'
  3339. 'S-1-1000-3'
  3340. 'S-1-1000-4'
  3341. 'S-1-1000-5'
  3342. 'S-1-1000-6'
  3343. Scope->Role - 'Test linking to groups that are children of the same admin manager as the role object.'
  3344. Scope->Role->Group - Test linking 'Group' objects to the object named 'Role A' using propid '500'.
  3345. Scope->Role->Group - 'Create some objects to link the object to'
  3346. AzGroupCreate 'Object 1'
  3347. AzCloseHandle
  3348. AzGroupCreate 'Object 2'
  3349. AzCloseHandle
  3350. AzGroupCreate 'Object 3'
  3351. AzCloseHandle
  3352. Scope->Role->Group - 'Reference an object that doesn't exist'
  3353. AzGetProperty (500)
  3354. AzSetProperty 'random' (500) (ERROR_INVALID_PARAMETER)
  3355. AzAddProperty 'random' (500) (ERROR_NOT_FOUND)
  3356. Scope->Role->Group - 'Add and remove several objects'
  3357. AzAddProperty 'Object 2' (500)
  3358. AzGetProperty (500)
  3359. 'Object 2'
  3360. AzAddProperty 'Object 3' (500)
  3361. AzGetProperty (500)
  3362. 'Object 2'
  3363. 'Object 3'
  3364. AzAddProperty 'Object 1' (500)
  3365. AzGetProperty (500)
  3366. 'Object 1'
  3367. 'Object 2'
  3368. 'Object 3'
  3369. AzRemProperty 'Object 1' (500)
  3370. AzGetProperty (500)
  3371. 'Object 2'
  3372. 'Object 3'
  3373. AzRemProperty 'Object 2' (500)
  3374. AzGetProperty (500)
  3375. 'Object 3'
  3376. Scope->Role->Group - 'Add an item that already exists'
  3377. AzAddProperty 'Object 3' (500) (ERROR_ALREADY_EXISTS)
  3378. AzGetProperty (500)
  3379. 'Object 3'
  3380. AzRemProperty 'Object 3' (500)
  3381. AzGetProperty (500)
  3382. Scope->Role->Group - 'Try more than 4 since reference buckets come in multiples of 4'
  3383. AzGroupCreate 'Object 4'
  3384. AzCloseHandle
  3385. AzGroupCreate 'Object 5'
  3386. AzCloseHandle
  3387. AzGroupCreate 'Object 6'
  3388. AzCloseHandle
  3389. AzAddProperty 'Object 1' (500)
  3390. AzAddProperty 'Object 4' (500)
  3391. AzAddProperty 'Object 2' (500)
  3392. AzAddProperty 'Object 5' (500)
  3393. AzAddProperty 'Object 3' (500)
  3394. AzAddProperty 'Object 6' (500)
  3395. AzGetProperty (500)
  3396. 'Object 1'
  3397. 'Object 2'
  3398. 'Object 3'
  3399. 'Object 4'
  3400. 'Object 5'
  3401. 'Object 6'
  3402. AzGroupDelete 'Object 1' (500)
  3403. AzGroupDelete 'Object 4' (500)
  3404. AzGroupDelete 'Object 2' (500)
  3405. AzGroupDelete 'Object 5' (500)
  3406. AzGroupDelete 'Object 3' (500)
  3407. AzGroupDelete 'Object 6' (500)
  3408. Scope->Role->Operation - Test linking 'Operation' objects to the object named 'Role A' using propid '502'.
  3409. Scope->Role->Operation - 'Create some objects to link the object to'
  3410. AzOperationCreate 'Object 1'
  3411. AzCloseHandle
  3412. AzOperationCreate 'Object 2'
  3413. AzCloseHandle
  3414. AzOperationCreate 'Object 3'
  3415. AzCloseHandle
  3416. Scope->Role->Operation - 'Reference an object that doesn't exist'
  3417. AzGetProperty (502)
  3418. AzSetProperty 'random' (502) (ERROR_INVALID_PARAMETER)
  3419. AzAddProperty 'random' (502) (ERROR_NOT_FOUND)
  3420. Scope->Role->Operation - 'Add and remove several objects'
  3421. AzAddProperty 'Object 2' (502)
  3422. AzGetProperty (502)
  3423. 'Object 2'
  3424. AzAddProperty 'Object 3' (502)
  3425. AzGetProperty (502)
  3426. 'Object 2'
  3427. 'Object 3'
  3428. AzAddProperty 'Object 1' (502)
  3429. AzGetProperty (502)
  3430. 'Object 1'
  3431. 'Object 2'
  3432. 'Object 3'
  3433. AzRemProperty 'Object 1' (502)
  3434. AzGetProperty (502)
  3435. 'Object 2'
  3436. 'Object 3'
  3437. AzRemProperty 'Object 2' (502)
  3438. AzGetProperty (502)
  3439. 'Object 3'
  3440. Scope->Role->Operation - 'Add an item that already exists'
  3441. AzAddProperty 'Object 3' (502) (ERROR_ALREADY_EXISTS)
  3442. AzGetProperty (502)
  3443. 'Object 3'
  3444. AzRemProperty 'Object 3' (502)
  3445. AzGetProperty (502)
  3446. Scope->Role->Operation - 'Try more than 4 since reference buckets come in multiples of 4'
  3447. AzOperationCreate 'Object 4'
  3448. AzCloseHandle
  3449. AzOperationCreate 'Object 5'
  3450. AzCloseHandle
  3451. AzOperationCreate 'Object 6'
  3452. AzCloseHandle
  3453. AzAddProperty 'Object 1' (502)
  3454. AzAddProperty 'Object 4' (502)
  3455. AzAddProperty 'Object 2' (502)
  3456. AzAddProperty 'Object 5' (502)
  3457. AzAddProperty 'Object 3' (502)
  3458. AzAddProperty 'Object 6' (502)
  3459. AzGetProperty (502)
  3460. 'Object 1'
  3461. 'Object 2'
  3462. 'Object 3'
  3463. 'Object 4'
  3464. 'Object 5'
  3465. 'Object 6'
  3466. AzOperationDelete 'Object 1' (502)
  3467. AzOperationDelete 'Object 4' (502)
  3468. AzOperationDelete 'Object 2' (502)
  3469. AzOperationDelete 'Object 5' (502)
  3470. AzOperationDelete 'Object 3' (502)
  3471. AzOperationDelete 'Object 6' (502)
  3472. AzCloseHandle
  3473. AzCloseHandle
  3474. AzCloseHandle
  3475. AzAdminManagerDelete
  3476. AzCloseHandle
  3477. Scope->Task - Perform tests of 'Task' objects that are children of 'Scope' objects
  3478. Scope->Task - 'Scope generic Child object test'
  3479. AzInitialize (1)
  3480. AzApplicationCreate 'MyApp'
  3481. AzScopeCreate 'Scope 1'
  3482. DupHandle
  3483. GoSub
  3484. Scope->Task - 'Gen object test'
  3485. AzTaskCreate '|' (ERROR_INVALID_NAME)
  3486. AzTaskCreate 'Name1'
  3487. DupHandle
  3488. AzCloseHandle
  3489. AzCloseHandle (ERROR_INVALID_HANDLE)
  3490. AzTaskEnum (ERROR_INVALID_HANDLE)
  3491. AzTaskEnum
  3492. 1:
  3493. DupHandle
  3494. AzCloseHandle
  3495. AzCloseHandle (ERROR_INVALID_HANDLE)
  3496. AzCloseHandle (ERROR_INVALID_HANDLE)
  3497. AzTaskEnum
  3498. 1:
  3499. AzGetProperty (1)
  3500. 'Name1'
  3501. AzGetProperty (2)
  3502. ''
  3503. AzCloseHandle
  3504. AzTaskCreate 'Name2'
  3505. AzTaskEnum
  3506. 1:
  3507. AzGetProperty (1)
  3508. 'Name1'
  3509. AzGetProperty (2)
  3510. ''
  3511. AzCloseHandle
  3512. 2:
  3513. AzGetProperty (1)
  3514. 'Name2'
  3515. AzGetProperty (2)
  3516. ''
  3517. AzCloseHandle
  3518. AzCloseHandle
  3519. Scope->Task - 'Delete an object and make sure it doesn't get enumerated'
  3520. AzTaskCreate 'Name3'
  3521. AzTaskDelete 'Name3'
  3522. AzCloseHandle
  3523. AzTaskEnum
  3524. 1:
  3525. AzGetProperty (1)
  3526. 'Name1'
  3527. AzGetProperty (2)
  3528. ''
  3529. AzCloseHandle
  3530. 2:
  3531. AzGetProperty (1)
  3532. 'Name2'
  3533. AzGetProperty (2)
  3534. ''
  3535. AzCloseHandle
  3536. Scope->Task - 'Create an object whose name equals that of a deleted object'
  3537. AzTaskCreate 'Name3'
  3538. AzCloseHandle
  3539. AzTaskEnum
  3540. 1:
  3541. AzGetProperty (1)
  3542. 'Name1'
  3543. AzGetProperty (2)
  3544. ''
  3545. AzCloseHandle
  3546. 2:
  3547. AzGetProperty (1)
  3548. 'Name2'
  3549. AzGetProperty (2)
  3550. ''
  3551. AzCloseHandle
  3552. 4:
  3553. AzGetProperty (1)
  3554. 'Name3'
  3555. AzGetProperty (2)
  3556. ''
  3557. AzCloseHandle
  3558. Scope->Task - 'Delete an object that isn't on the tail end of the enum list'
  3559. AzTaskDelete 'Name2'
  3560. AzTaskEnum
  3561. 1:
  3562. AzGetProperty (1)
  3563. 'Name1'
  3564. AzGetProperty (2)
  3565. ''
  3566. AzCloseHandle
  3567. 4:
  3568. AzGetProperty (1)
  3569. 'Name3'
  3570. AzGetProperty (2)
  3571. ''
  3572. AzCloseHandle
  3573. Scope->Task - 'Basic get/set property tests'
  3574. AzTaskCreate 'Name4'
  3575. AzGetProperty (1)
  3576. 'Name4'
  3577. AzSetProperty '|' (1) (ERROR_INVALID_NAME)
  3578. AzGetProperty (1)
  3579. 'Name4'
  3580. AzSetProperty 'Name4' (1) (ERROR_ALREADY_EXISTS)
  3581. AzGetProperty (1)
  3582. 'Name4'
  3583. AzSetProperty 'Name3' (1) (ERROR_ALREADY_EXISTS)
  3584. AzGetProperty (1)
  3585. 'Name4'
  3586. AzGetProperty (2)
  3587. ''
  3588. AzSetProperty 'WasName4' (1)
  3589. AzSetProperty 'Nam4 Desc' (2)
  3590. AzGetProperty (1)
  3591. 'WasName4'
  3592. AzGetProperty (2)
  3593. 'Nam4 Desc'
  3594. AzTaskEnum
  3595. 1:
  3596. AzGetProperty (1)
  3597. 'Name1'
  3598. AzGetProperty (2)
  3599. ''
  3600. AzCloseHandle
  3601. 4:
  3602. AzGetProperty (1)
  3603. 'Name3'
  3604. AzGetProperty (2)
  3605. ''
  3606. AzCloseHandle
  3607. 5:
  3608. AzGetProperty (1)
  3609. 'WasName4'
  3610. AzGetProperty (2)
  3611. 'Nam4 Desc'
  3612. AzCloseHandle
  3613. AzCloseHandle
  3614. Scope->Task - 'Ensure a newly created object is writable'
  3615. AzTaskCreate 'Name5'
  3616. AzGetProperty (3)
  3617. '1'
  3618. AzCloseHandle
  3619. Scope->Task - 'Open test'
  3620. AzTaskOpen 'Name1'
  3621. AzGetProperty (1)
  3622. 'Name1'
  3623. AzCloseHandle
  3624. AzTaskOpen 'NameBad' (ERROR_NOT_FOUND)
  3625. AzCloseHandle
  3626. AzCloseHandle
  3627. AzAdminManagerDelete
  3628. AzCloseHandle
  3629. Scope->Task - 'Test creating two objects with the same name'
  3630. AzInitialize (1)
  3631. AzApplicationCreate 'MyApp'
  3632. AzScopeCreate 'Scope 1'
  3633. AzTaskCreate 'Name1'
  3634. AzTaskCreate 'Name1' (ERROR_ALREADY_EXISTS)
  3635. AzCloseHandle
  3636. AzCloseHandle
  3637. AzCloseHandle
  3638. AzAdminManagerDelete
  3639. AzCloseHandle
  3640. Scope->Task - 'Task objects that are children of a scope'
  3641. AzInitialize (1)
  3642. AzApplicationCreate 'MyApp'
  3643. AzScopeCreate 'Scope 1'
  3644. DupHandle
  3645. GoSub
  3646. Scope->Task - 'Task object specific tests'
  3647. AzTaskCreate 'Task 1'
  3648. AzGetProperty (301)
  3649. ''
  3650. Scope->Task - 'Set the bizrule before the langauge'
  3651. AzSetProperty 'While True
  3652. Wend' (301) (ERROR_INVALID_PARAMETER)
  3653. AzGetProperty (301)
  3654. ''
  3655. Scope->Task - 'Try an invalid language'
  3656. AzGetProperty (302)
  3657. ''
  3658. AzSetProperty 'LANG1' (302) (ERROR_INVALID_PARAMETER)
  3659. AzGetProperty (302)
  3660. ''
  3661. Scope->Task - 'Try the valid languages'
  3662. AzSetProperty 'Jscript' (302)
  3663. AzGetProperty (302)
  3664. 'Jscript'
  3665. AzSetProperty 'VBScript' (302)
  3666. AzGetProperty (302)
  3667. 'VBScript'
  3668. Scope->Task - 'Set a syntactically invalid bizrule'
  3669. AzSetProperty 'Rule1,' (301) (OLESCRIPT_E_SYNTAX)
  3670. AzGetProperty (301)
  3671. ''
  3672. Scope->Task - 'Set a syntactically valid bizrule'
  3673. AzSetProperty 'While True
  3674. Wend' (301)
  3675. AzGetProperty (301)
  3676. 'While True
  3677. Wend'
  3678. Scope->Task - 'Try bizrule path'
  3679. AzGetProperty (304)
  3680. ''
  3681. AzSetProperty 'c:\temp' (304)
  3682. AzGetProperty (304)
  3683. 'c:\temp'
  3684. Scope->Task - 'Try Task application data'
  3685. AzGetProperty (4)
  3686. ''
  3687. AzSetProperty 'Task Application Data' (4)
  3688. AzGetProperty (4)
  3689. 'Task Application Data'
  3690. Scope->Task->Task - Test linking 'Task' objects to the object named 'Task 1' using propid '303'.
  3691. Scope->Task->Task - 'Create some objects to link the object to'
  3692. AzTaskCreate 'Object 1'
  3693. AzCloseHandle
  3694. AzTaskCreate 'Object 2'
  3695. AzCloseHandle
  3696. AzTaskCreate 'Object 3'
  3697. AzCloseHandle
  3698. Scope->Task->Task - 'Reference an object that doesn't exist'
  3699. AzGetProperty (303)
  3700. AzSetProperty 'random' (303) (ERROR_INVALID_PARAMETER)
  3701. AzAddProperty 'random' (303) (ERROR_NOT_FOUND)
  3702. Scope->Task->Task - 'Add and remove several objects'
  3703. AzAddProperty 'Object 2' (303)
  3704. AzGetProperty (303)
  3705. 'Object 2'
  3706. AzAddProperty 'Object 3' (303)
  3707. AzGetProperty (303)
  3708. 'Object 2'
  3709. 'Object 3'
  3710. AzAddProperty 'Object 1' (303)
  3711. AzGetProperty (303)
  3712. 'Object 1'
  3713. 'Object 2'
  3714. 'Object 3'
  3715. AzRemProperty 'Object 1' (303)
  3716. AzGetProperty (303)
  3717. 'Object 2'
  3718. 'Object 3'
  3719. AzRemProperty 'Object 2' (303)
  3720. AzGetProperty (303)
  3721. 'Object 3'
  3722. Scope->Task->Task - 'Add an item that already exists'
  3723. AzAddProperty 'Object 3' (303) (ERROR_ALREADY_EXISTS)
  3724. AzGetProperty (303)
  3725. 'Object 3'
  3726. AzRemProperty 'Object 3' (303)
  3727. AzGetProperty (303)
  3728. Scope->Task->Task - 'Try more than 4 since reference buckets come in multiples of 4'
  3729. AzTaskCreate 'Object 4'
  3730. AzCloseHandle
  3731. AzTaskCreate 'Object 5'
  3732. AzCloseHandle
  3733. AzTaskCreate 'Object 6'
  3734. AzCloseHandle
  3735. AzAddProperty 'Object 1' (303)
  3736. AzAddProperty 'Object 4' (303)
  3737. AzAddProperty 'Object 2' (303)
  3738. AzAddProperty 'Object 5' (303)
  3739. AzAddProperty 'Object 3' (303)
  3740. AzAddProperty 'Object 6' (303)
  3741. AzGetProperty (303)
  3742. 'Object 1'
  3743. 'Object 2'
  3744. 'Object 3'
  3745. 'Object 4'
  3746. 'Object 5'
  3747. 'Object 6'
  3748. AzTaskDelete 'Object 1' (303)
  3749. AzTaskDelete 'Object 4' (303)
  3750. AzTaskDelete 'Object 2' (303)
  3751. AzTaskDelete 'Object 5' (303)
  3752. AzTaskDelete 'Object 3' (303)
  3753. AzTaskDelete 'Object 6' (303)
  3754. Scope->Task - 'Reference ourself'
  3755. AzGetProperty (303)
  3756. AzAddProperty 'Task 1' (303) (ERROR_DS_LOOP_DETECT)
  3757. Scope->Task - 'Test loops'
  3758. AzTaskCreate 'Task 2'
  3759. AzAddProperty 'Task 2' (303)
  3760. AzAddProperty 'Task 1' (303) (ERROR_DS_LOOP_DETECT)
  3761. AzRemProperty 'Task 2' (303)
  3762. AzCloseHandle
  3763. AzCloseHandle
  3764. Scope->Task - 'Test linking task to operations.'
  3765. AzTaskCreate 'Task X'
  3766. Scope->Task->Operation - Test linking 'Operation' objects to the object named 'Task X' using propid '300'.
  3767. Scope->Task->Operation - 'Create some objects to link the object to'
  3768. AzOperationCreate 'Object 1'
  3769. AzCloseHandle
  3770. AzOperationCreate 'Object 2'
  3771. AzCloseHandle
  3772. AzOperationCreate 'Object 3'
  3773. AzCloseHandle
  3774. Scope->Task->Operation - 'Reference an object that doesn't exist'
  3775. AzGetProperty (300)
  3776. AzSetProperty 'random' (300) (ERROR_INVALID_PARAMETER)
  3777. AzAddProperty 'random' (300) (ERROR_NOT_FOUND)
  3778. Scope->Task->Operation - 'Add and remove several objects'
  3779. AzAddProperty 'Object 2' (300)
  3780. AzGetProperty (300)
  3781. 'Object 2'
  3782. AzAddProperty 'Object 3' (300)
  3783. AzGetProperty (300)
  3784. 'Object 2'
  3785. 'Object 3'
  3786. AzAddProperty 'Object 1' (300)
  3787. AzGetProperty (300)
  3788. 'Object 1'
  3789. 'Object 2'
  3790. 'Object 3'
  3791. AzRemProperty 'Object 1' (300)
  3792. AzGetProperty (300)
  3793. 'Object 2'
  3794. 'Object 3'
  3795. AzRemProperty 'Object 2' (300)
  3796. AzGetProperty (300)
  3797. 'Object 3'
  3798. Scope->Task->Operation - 'Add an item that already exists'
  3799. AzAddProperty 'Object 3' (300) (ERROR_ALREADY_EXISTS)
  3800. AzGetProperty (300)
  3801. 'Object 3'
  3802. AzRemProperty 'Object 3' (300)
  3803. AzGetProperty (300)
  3804. Scope->Task->Operation - 'Try more than 4 since reference buckets come in multiples of 4'
  3805. AzOperationCreate 'Object 4'
  3806. AzCloseHandle
  3807. AzOperationCreate 'Object 5'
  3808. AzCloseHandle
  3809. AzOperationCreate 'Object 6'
  3810. AzCloseHandle
  3811. AzAddProperty 'Object 1' (300)
  3812. AzAddProperty 'Object 4' (300)
  3813. AzAddProperty 'Object 2' (300)
  3814. AzAddProperty 'Object 5' (300)
  3815. AzAddProperty 'Object 3' (300)
  3816. AzAddProperty 'Object 6' (300)
  3817. AzGetProperty (300)
  3818. 'Object 1'
  3819. 'Object 2'
  3820. 'Object 3'
  3821. 'Object 4'
  3822. 'Object 5'
  3823. 'Object 6'
  3824. AzOperationDelete 'Object 1' (300)
  3825. AzOperationDelete 'Object 4' (300)
  3826. AzOperationDelete 'Object 2' (300)
  3827. AzOperationDelete 'Object 5' (300)
  3828. AzOperationDelete 'Object 3' (300)
  3829. AzOperationDelete 'Object 6' (300)
  3830. Scope->Task - 'Test linking scope task to app tasks.'
  3831. Scope->Task->Task - Test linking 'Task' objects to the object named 'Task X' using propid '303'.
  3832. Scope->Task->Task - 'Create some objects to link the object to'
  3833. AzTaskCreate 'Object 1'
  3834. AzCloseHandle
  3835. AzTaskCreate 'Object 2'
  3836. AzCloseHandle
  3837. AzTaskCreate 'Object 3'
  3838. AzCloseHandle
  3839. Scope->Task->Task - 'Reference an object that doesn't exist'
  3840. AzGetProperty (303)
  3841. AzSetProperty 'random' (303) (ERROR_INVALID_PARAMETER)
  3842. AzAddProperty 'random' (303) (ERROR_NOT_FOUND)
  3843. Scope->Task->Task - 'Add and remove several objects'
  3844. AzAddProperty 'Object 2' (303)
  3845. AzGetProperty (303)
  3846. 'Object 2'
  3847. AzAddProperty 'Object 3' (303)
  3848. AzGetProperty (303)
  3849. 'Object 2'
  3850. 'Object 3'
  3851. AzAddProperty 'Object 1' (303)
  3852. AzGetProperty (303)
  3853. 'Object 1'
  3854. 'Object 2'
  3855. 'Object 3'
  3856. AzRemProperty 'Object 1' (303)
  3857. AzGetProperty (303)
  3858. 'Object 2'
  3859. 'Object 3'
  3860. AzRemProperty 'Object 2' (303)
  3861. AzGetProperty (303)
  3862. 'Object 3'
  3863. Scope->Task->Task - 'Add an item that already exists'
  3864. AzAddProperty 'Object 3' (303) (ERROR_ALREADY_EXISTS)
  3865. AzGetProperty (303)
  3866. 'Object 3'
  3867. AzRemProperty 'Object 3' (303)
  3868. AzGetProperty (303)
  3869. Scope->Task->Task - 'Try more than 4 since reference buckets come in multiples of 4'
  3870. AzTaskCreate 'Object 4'
  3871. AzCloseHandle
  3872. AzTaskCreate 'Object 5'
  3873. AzCloseHandle
  3874. AzTaskCreate 'Object 6'
  3875. AzCloseHandle
  3876. AzAddProperty 'Object 1' (303)
  3877. AzAddProperty 'Object 4' (303)
  3878. AzAddProperty 'Object 2' (303)
  3879. AzAddProperty 'Object 5' (303)
  3880. AzAddProperty 'Object 3' (303)
  3881. AzAddProperty 'Object 6' (303)
  3882. AzGetProperty (303)
  3883. 'Object 1'
  3884. 'Object 2'
  3885. 'Object 3'
  3886. 'Object 4'
  3887. 'Object 5'
  3888. 'Object 6'
  3889. AzTaskDelete 'Object 1' (303)
  3890. AzTaskDelete 'Object 4' (303)
  3891. AzTaskDelete 'Object 2' (303)
  3892. AzTaskDelete 'Object 5' (303)
  3893. AzTaskDelete 'Object 3' (303)
  3894. AzTaskDelete 'Object 6' (303)
  3895. AzCloseHandle
  3896. AzCloseHandle
  3897. AzCloseHandle
  3898. AzAdminManagerDelete
  3899. AzCloseHandle
  3900. NameShare - 'Certain objects can't share names'
  3901. AzInitialize (1)
  3902. AzApplicationCreate 'MyApp'
  3903. AzApplicationCreate 'MyApp2'
  3904. AzScopeCreate 'Scope 1'
  3905. AzScopeCreate 'Scope 2'
  3906. NameShare - 'Create some tasks and ops as a starting point'
  3907. AzTaskCreate 'Task 1'
  3908. AzCloseHandle
  3909. AzOperationCreate 'Op 1'
  3910. AzCloseHandle
  3911. NameShare - 'Task and operations can't share names'
  3912. AzTaskCreate 'Op 1' (ERROR_ALREADY_EXISTS)
  3913. AzOperationCreate 'Task 1' (ERROR_ALREADY_EXISTS)
  3914. NameShare - '... Even via rename'
  3915. AzOperationCreate 'Op 2'
  3916. AzSetProperty 'Task 1' (1) (ERROR_ALREADY_EXISTS)
  3917. AzCloseHandle
  3918. NameShare - 'Create a task as a starting point'
  3919. AzTaskCreate 'Task App'
  3920. AzCloseHandle
  3921. AzTaskCreate 'Task Scp'
  3922. AzCloseHandle
  3923. NameShare - 'Ensure scope and app task names conflict'
  3924. AzTaskCreate 'Task Scp' (ERROR_ALREADY_EXISTS)
  3925. AzTaskCreate 'Task App' (ERROR_ALREADY_EXISTS)
  3926. NameShare - 'Ensure task names in different scopes don't conflict'
  3927. AzTaskCreate 'Task Scp'
  3928. AzCloseHandle
  3929. NameShare - 'Scope Tasks and operations can't share names'
  3930. AzTaskCreate 'Op 1' (ERROR_ALREADY_EXISTS)
  3931. AzOperationCreate 'Task Scp' (ERROR_ALREADY_EXISTS)
  3932. NameShare - 'Create some groups as a starting point'
  3933. AzGroupCreate 'Group Adm'
  3934. AzCloseHandle
  3935. AzGroupCreate 'Group App'
  3936. AzCloseHandle
  3937. AzGroupCreate 'Group App2'
  3938. AzCloseHandle
  3939. NameShare - 'Create an app group that conflicts with an adm group, etc'
  3940. AzGroupCreate 'Group Adm' (ERROR_ALREADY_EXISTS)
  3941. AzGroupCreate 'Group App' (ERROR_ALREADY_EXISTS)
  3942. NameShare - 'Ensure two apps can have a group by the same name'
  3943. AzGroupCreate 'Group App'
  3944. AzCloseHandle
  3945. NameShare - 'Create a scope group'
  3946. AzGroupCreate 'Group Scp'
  3947. AzCloseHandle
  3948. NameShare - 'Create a scope group that conflicts with an adm group, etc'
  3949. AzGroupCreate 'Group Adm' (ERROR_ALREADY_EXISTS)
  3950. AzGroupCreate 'Group App' (ERROR_ALREADY_EXISTS)
  3951. NameShare - 'Create an app/adm group that conflicts with a scope group'
  3952. AzGroupCreate 'Group Scp' (ERROR_ALREADY_EXISTS)
  3953. AzGroupCreate 'Group Scp' (ERROR_ALREADY_EXISTS)
  3954. NameShare - 'Ensure two scopes can have a group by the same name'
  3955. AzGroupCreate 'Group Scp'
  3956. AzCloseHandle
  3957. NameShare - 'Create a role as a starting point'
  3958. AzRoleCreate 'Role App'
  3959. AzCloseHandle
  3960. AzRoleCreate 'Role Scp'
  3961. AzCloseHandle
  3962. NameShare - 'Ensure scope and app role names conflict'
  3963. AzRoleCreate 'Role Scp' (ERROR_ALREADY_EXISTS)
  3964. AzRoleCreate 'Role App' (ERROR_ALREADY_EXISTS)
  3965. NameShare - 'Ensure role names in different scopes don't conflict'
  3966. AzRoleCreate 'Role Scp'
  3967. AzCloseHandle
  3968. AzCloseHandle
  3969. AzCloseHandle
  3970. AzCloseHandle
  3971. AzCloseHandle
  3972. AzAdminManagerDelete
  3973. AzCloseHandle
  3974. Persist - 'Ensure objects persist across a close'
  3975. AzInitialize (1)
  3976. AzApplicationCreate 'MyApp'
  3977. AzTaskCreate 'Task 1'
  3978. AzOperationCreate 'Op 1'
  3979. AzAddProperty 'Op 1' (300)
  3980. AzGetProperty (300)
  3981. 'Op 1'
  3982. AzCloseHandle
  3983. AzSetProperty 'Jscript' (302)
  3984. AzGetProperty (302)
  3985. 'Jscript'
  3986. AzCloseHandle
  3987. AzGroupCreate 'Group 1'
  3988. AzAddProperty 'S-1-1000-2'(404)
  3989. AzGetProperty (404)
  3990. 'S-1-1000-2'
  3991. AzCloseHandle
  3992. Persist - 'Abort an object creation and an attribute change'
  3993. AzOperationCreate 'Op 2'
  3994. AzCloseHandle
  3995. AzOperationOpen 'Op 2' (ERROR_NOT_FOUND)
  3996. AzOperationOpen 'Op 1'
  3997. AzSetProperty '8' (200)
  3998. AzGetProperty (200)
  3999. '0'
  4000. AzCloseHandle
  4001. AzCloseHandle
  4002. AzCloseHandle
  4003. Persist - 'See if they're still there'
  4004. AzInitialize
  4005. AzApplicationEnum
  4006. 1:
  4007. AzGetProperty (1)
  4008. 'MyApp'
  4009. AzCloseHandle
  4010. AzApplicationOpen 'MyApp'
  4011. AzTaskEnum
  4012. 1:
  4013. AzGetProperty (1)
  4014. 'Task 1'
  4015. AzCloseHandle
  4016. AzTaskOpen 'Task 1'
  4017. AzGetProperty (300)
  4018. 'Op 1'
  4019. AzGetProperty (302)
  4020. 'Jscript'
  4021. AzOperationEnum
  4022. 1:
  4023. AzGetProperty (1)
  4024. 'Op 1'
  4025. AzCloseHandle
  4026. AzOperationOpen 'Op 1'
  4027. AzCloseHandle
  4028. AzOperationOpen 'Op 2' (ERROR_NOT_FOUND)
  4029. AzGroupOpen 'Group 1'
  4030. AzGetProperty (404)
  4031. 'S-1-1000-2'
  4032. AzCloseHandle
  4033. Persist - 'Complain if we try to create a child of non-sumbitted parent'
  4034. AzApplicationCreate 'MyApp2'
  4035. AzTaskCreate 'Task 1' (ERROR_DS_NO_PARENT_OBJECT)
  4036. Persist - 'Complain if we try to link to a non-sumbitted object'
  4037. AzOperationCreate 'Op 3'
  4038. AzAddProperty 'Op 3' (300) (ERROR_NOT_FOUND)
  4039. AzCloseHandle
  4040. AzCloseHandle
  4041. Persist - 'Ensure links are re-ordered upon rename'
  4042. AzOperationCreate 'Op 2'
  4043. AzCloseHandle
  4044. AzAddProperty 'Op 2' (300)
  4045. AzGetProperty (300)
  4046. 'Op 1'
  4047. 'Op 2'
  4048. AzOperationOpen 'Op 1'
  4049. AzSetProperty 'Op 4' (1)
  4050. AzCloseHandle
  4051. AzGetProperty (300)
  4052. 'Op 2'
  4053. 'Op 4'
  4054. AzCloseHandle
  4055. AzCloseHandle
  4056. AzAdminManagerDelete
  4057. AzCloseHandle
  4058. Persist - 'Ensure the an empty admin manager is persisted'
  4059. AzInitialize (1)
  4060. AzCloseHandle
  4061. AzInitialize
  4062. Persist - 'Ensure a restored admin manager is writable'
  4063. AzGetProperty (3)
  4064. '1'
  4065. Persist - 'Ensure we can create an application in the empty restored admin manager'
  4066. AzApplicationCreate 'MyApp'
  4067. AzCloseHandle
  4068. AzAdminManagerDelete
  4069. AzCloseHandle
  4070. Persist - 'Ensure changes to admin manager are reflected in store'
  4071. AzInitialize (1)
  4072. AzSetProperty 'Desc' (2)
  4073. AzGetProperty (2)
  4074. 'Desc'
  4075. AzInitialize
  4076. AzGetProperty (2)
  4077. 'Desc'
  4078. AzCloseHandle
  4079. AzAdminManagerDelete
  4080. AzCloseHandle
  4081. Persist - 'Ensure renames are reflected in updated caches'
  4082. AzInitialize (1)
  4083. AzApplicationCreate 'MyApp'
  4084. AzInitialize
  4085. AzSetProperty 'NewApp' (1)
  4086. AzGetProperty (1)
  4087. 'NewApp'
  4088. AzCloseHandle
  4089. AzUpdateCache
  4090. Persist - 'Ensure an updated admin manager is writable'
  4091. AzGetProperty (3)
  4092. '1'
  4093. AzApplicationOpen 'MyApp' (ERROR_NOT_FOUND)
  4094. AzApplicationOpen 'NewApp'
  4095. Persist - 'Ensure a updated app is writable'
  4096. AzGetProperty (3)
  4097. '1'
  4098. AzCloseHandle
  4099. AzCloseHandle
  4100. AzAdminManagerDelete
  4101. AzCloseHandle
  4102. Persist - 'Ensure that's true even on name conflict'
  4103. AzInitialize (1)
  4104. AzApplicationCreate 'App 1'
  4105. AzApplicationCreate 'App 2'
  4106. AzCloseHandle
  4107. AzInitialize
  4108. AzApplicationDelete 'App 2'
  4109. AzSetProperty 'App 2' (1)
  4110. AzGetProperty (1)
  4111. 'App 2'
  4112. AzCloseHandle
  4113. AzUpdateCache
  4114. AzApplicationEnum
  4115. 1:
  4116. AzGetProperty (1)
  4117. 'App 2'
  4118. AzCloseHandle
  4119. AzApplicationOpen 'App 2'
  4120. AzCloseHandle
  4121. AzCloseHandle
  4122. AzAdminManagerDelete
  4123. AzCloseHandle
  4124. Access - 'Create a complete policy data to perform access checks against'
  4125. AzInitialize (1)
  4126. AzApplicationCreate 'MyApp'
  4127. Access - 'Create some operations'
  4128. AzOperationCreate 'Op1'
  4129. AzSetProperty '61' (200)
  4130. AzCloseHandle
  4131. AzOperationCreate 'Op2'
  4132. AzSetProperty '62' (200)
  4133. AzCloseHandle
  4134. AzOperationCreate 'Op3'
  4135. AzSetProperty '63' (200)
  4136. AzCloseHandle
  4137. AzOperationCreate 'Op4'
  4138. AzSetProperty '64' (200)
  4139. AzCloseHandle
  4140. Access - 'Create some tasks'
  4141. AzTaskCreate 'TaskOp1'
  4142. AzAddProperty 'Op1' (300)
  4143. AzCloseHandle
  4144. AzTaskCreate 'TaskOp1Op2'
  4145. AzAddProperty 'Op1' (300)
  4146. AzAddProperty 'Op2' (300)
  4147. AzCloseHandle
  4148. AzTaskCreate 'TaskOp1WithEmptyBizRule'
  4149. AzAddProperty 'Op1' (300)
  4150. AzSetProperty 'VBScript' (302)
  4151. AzSetProperty ' ' (301)
  4152. AzCloseHandle
  4153. AzTaskCreate 'TaskOp1WithTrivialBizRule'
  4154. AzAddProperty 'Op1' (300)
  4155. AzSetProperty 'VBScript' (302)
  4156. AzSetProperty 'AccessCheck.BusinessRuleResult = TRUE' (301)
  4157. AzCloseHandle
  4158. Access - 'Create some groups with NT membership'
  4159. AzGroupCreate 'GroupWorld'
  4160. AzSetProperty '2' (400)
  4161. AzAddProperty 'S-1-1-0'(404)
  4162. AzCloseHandle
  4163. AzGroupCreate 'GroupNotAMember'
  4164. AzSetProperty '2' (400)
  4165. AzAddProperty 'S-1-1000-1'(404)
  4166. AzCloseHandle
  4167. Access - 'Create a group using app group membership'
  4168. AzGroupCreate 'GroupAppMember'
  4169. AzSetProperty '2' (400)
  4170. AzAddProperty 'GroupWorld' (401)
  4171. AzCloseHandle
  4172. Access - 'Create a group using app group non membership - but still member'
  4173. AzGroupCreate 'GroupAppNonMember'
  4174. AzSetProperty '2' (400)
  4175. AzAddProperty 'GroupAppMember' (401)
  4176. AzAddProperty 'GroupNotAMember' (402)
  4177. AzCloseHandle
  4178. Access - 'Create a group using app group non membership - but not member'
  4179. AzGroupCreate 'GroupAppReallyNonMember'
  4180. AzSetProperty '2' (400)
  4181. AzAddProperty 'GroupAppMember' (401)
  4182. AzAddProperty 'GroupWorld' (402)
  4183. AzCloseHandle
  4184. Access - 'Create some LdapQuery groups'
  4185. AzGroupCreate 'GroupLdapYes'
  4186. AzSetProperty '1' (400)
  4187. AzSetProperty '(userAccountControl=1049088)' (403)
  4188. AzCloseHandle
  4189. AzGroupCreate 'GroupLdapNo'
  4190. AzSetProperty '1' (400)
  4191. AzSetProperty '(userAccountControl=1049089)' (403)
  4192. AzCloseHandle
  4193. Access - 'Create some scopes'
  4194. AzScopeCreate 'MyScope'
  4195. AzCloseHandle
  4196. AzScopeCreate 'MyScope2'
  4197. AzCloseHandle
  4198. AzScopeCreate 'MyScope3'
  4199. AzCloseHandle
  4200. AzScopeCreate 'MyScope4'
  4201. AzCloseHandle
  4202. AzScopeCreate 'MyScope5'
  4203. AzCloseHandle
  4204. AzScopeCreate 'MyScope6'
  4205. AzCloseHandle
  4206. AzScopeCreate 'MyScope7'
  4207. AzCloseHandle
  4208. AzScopeCreate 'MyScope8'
  4209. AzCloseHandle
  4210. AzScopeCreate 'MyScope9'
  4211. AzCloseHandle
  4212. AzScopeCreate 'MyScopeQ1'
  4213. AzCloseHandle
  4214. AzScopeCreate 'MyScopeQ2'
  4215. AzCloseHandle
  4216. AzScopeCreate 'MyScopeNoRoles'
  4217. AzCloseHandle
  4218. AzScopeCreate 'MyScopeP1'
  4219. AzCloseHandle
  4220. Access - 'Build a context'
  4221. AzInitializeContextFromToken ''
  4222. Access - 'Create a role granting op1 access to everyone SID'
  4223. AzScopeOpen 'MyScope'
  4224. AzRoleCreate 'RoleEveryoneCanOp1'
  4225. AzAddProperty 'S-1-1-0'(501)
  4226. AzAddProperty 'Op1' (502)
  4227. AzCloseHandle
  4228. Access - 'Check a SID on a role granting access'
  4229. AzContextAccessCheck 'MyScope' (1)
  4230. Access - 'Create a role granting op2 access to GroupWorld'
  4231. AzRoleCreate 'RoleGroupWorldCanOp2'
  4232. AzAddProperty 'GroupWorld' (500)
  4233. AzAddProperty 'Op2' (502)
  4234. AzCloseHandle
  4235. Access - 'Check a app group on a role granting access'
  4236. AzContextAccessCheck 'MyScope' (1)
  4237. Access - 'Ask again to check out app group caching'
  4238. AzContextAccessCheck 'MyScope' (1)
  4239. Access - 'Create a role not granting op3 access to GroupNotAMember'
  4240. AzRoleCreate 'RoleGroupCantOp3'
  4241. AzAddProperty 'GroupNotAMember' (500)
  4242. AzAddProperty 'Op3' (502)
  4243. AzCloseHandle
  4244. AzCloseHandle
  4245. Access - 'Check a app group on a role not granting access'
  4246. AzContextAccessCheck 'MyScope' (1)
  4247. Access - 'Check a scope with no roles'
  4248. AzContextAccessCheck 'MyScopeNoRoles' (1)
  4249. Access - 'Check zero operations'
  4250. AzContextAccessCheck 'MyScope' (ERROR_INVALID_PARAMETER)
  4251. Access - 'Check an invalid scope name'
  4252. AzContextAccessCheck 'MyScopeNameInvalid' (1) (ERROR_SCOPE_NOT_FOUND)
  4253. Access - 'Check an invalid operation number'
  4254. AzContextAccessCheck 'MyScope' (1) (ERROR_INVALID_OPERATION)
  4255. Access - 'Create two roles that both grant access'
  4256. AzScopeOpen 'MyScope2'
  4257. AzRoleCreate 'Role2GroupWorldCanOp2'
  4258. AzAddProperty 'GroupWorld' (500)
  4259. AzAddProperty 'Op2' (502)
  4260. AzCloseHandle
  4261. AzRoleCreate 'Role2aGroupWorldCanOp2'
  4262. AzAddProperty 'GroupWorld' (500)
  4263. AzAddProperty 'Op2' (502)
  4264. AzCloseHandle
  4265. Access - 'Check a app group with two roles granting access'
  4266. AzContextAccessCheck 'MyScope2' (1)
  4267. Access - 'Create two roles with one granting and one not granting'
  4268. AzRoleCreate 'Role2GroupCantOp3'
  4269. AzAddProperty 'GroupNotAMember' (500)
  4270. AzAddProperty 'Op3' (502)
  4271. AzCloseHandle
  4272. AzRoleCreate 'Role2GroupWorldCanOp3'
  4273. AzAddProperty 'GroupWorld' (500)
  4274. AzAddProperty 'Op3' (502)
  4275. AzCloseHandle
  4276. Access - 'Check a app group with one role granting and the other not'
  4277. AzContextAccessCheck 'MyScope2' (1)
  4278. Access - '... in the other order'
  4279. AzRoleCreate 'Role2GroupWorldCanOp4'
  4280. AzAddProperty 'GroupWorld' (500)
  4281. AzAddProperty 'Op4' (502)
  4282. AzCloseHandle
  4283. AzRoleCreate 'Role2GroupCantOp4'
  4284. AzAddProperty 'GroupNotAMember' (500)
  4285. AzAddProperty 'Op4' (502)
  4286. AzCloseHandle
  4287. AzCloseHandle
  4288. Access - '...In the other order'
  4289. AzContextAccessCheck 'MyScope2' (1)
  4290. Access - 'Try multiple operations'
  4291. AzContextAccessCheck 'MyScope2' (4)
  4292. Access - 'Create a role granting op1 access to AppGroup'
  4293. AzScopeOpen 'MyScope3'
  4294. AzRoleCreate 'RoleAppGroupCanOp1'
  4295. AzAddProperty 'GroupAppMember' (500)
  4296. AzAddProperty 'Op1' (502)
  4297. AzCloseHandle
  4298. AzCloseHandle
  4299. AzContextAccessCheck 'MyScope3' (1)
  4300. Access - 'Create a role granting op1 access to AppGroup with non member group'
  4301. AzScopeOpen 'MyScope4'
  4302. AzRoleCreate 'Role2AppGroupCanOp1'
  4303. AzAddProperty 'GroupAppNonMember' (500)
  4304. AzAddProperty 'Op1' (502)
  4305. AzCloseHandle
  4306. AzCloseHandle
  4307. AzContextAccessCheck 'MyScope4' (1)
  4308. Access - 'Create a role granting op1 access to AppGroup with non member group - really not member'
  4309. AzScopeOpen 'MyScope5'
  4310. AzRoleCreate 'Role3AppGroupCanOp1'
  4311. AzAddProperty 'GroupAppReallyNonMember' (500)
  4312. AzAddProperty 'Op1' (502)
  4313. AzCloseHandle
  4314. AzCloseHandle
  4315. AzContextAccessCheck 'MyScope5' (1)
  4316. Access - 'Create a role granting op1 access to everyone SID via a task'
  4317. AzScopeOpen 'MyScope6'
  4318. AzRoleCreate 'RoleEveryoneCanOp1ViaTask1'
  4319. AzAddProperty 'S-1-1-0'(501)
  4320. AzAddProperty 'TaskOp1' (504)
  4321. AzCloseHandle
  4322. AzCloseHandle
  4323. Access - 'Check granted access via a task'
  4324. AzContextAccessCheck 'MyScope6' (1)
  4325. Access - 'Create a role granting op1 and op2 access to everyone SID via a task'
  4326. AzScopeOpen 'MyScope7'
  4327. AzRoleCreate 'RoleEveryoneCanOp1Op2ViaTask1'
  4328. AzAddProperty 'S-1-1-0'(501)
  4329. AzAddProperty 'TaskOp1Op2' (504)
  4330. AzCloseHandle
  4331. AzCloseHandle
  4332. Access - 'Check granted access to two ops via a task'
  4333. AzContextAccessCheck 'MyScope7' (4)
  4334. Access - 'Create a role granting op1 access to an LDAP query group'
  4335. AzScopeOpen 'MyScopeQ1'
  4336. AzRoleCreate 'RoleLdapCanOp1'
  4337. AzAddProperty 'GroupLdapYes' (500)
  4338. AzAddProperty 'Op1' (502)
  4339. AzCloseHandle
  4340. AzCloseHandle
  4341. Access - 'Check granted access via LDAP query group'
  4342. AzContextAccessCheck 'MyScopeQ1' (1)
  4343. Access - 'Try again to check the cache'
  4344. AzContextAccessCheck 'MyScopeQ1' (1)
  4345. Access - 'Create a role granting op1 access to an LDAP query group'
  4346. AzScopeOpen 'MyScopeQ2'
  4347. AzRoleCreate 'RoleLdapCannotOp1'
  4348. AzAddProperty 'GroupLdapNo' (500)
  4349. AzAddProperty 'Op1' (502)
  4350. AzCloseHandle
  4351. AzCloseHandle
  4352. Access - 'Check failed access via LDAP query group'
  4353. AzContextAccessCheck 'MyScopeQ2' (1)
  4354. Access - 'Test if all the query property opcodes work'
  4355. AzGetProperty (700)
  4356. 'CN=Cliff Van Dyke,OU=Users,OU=ITG,DC=ntdev,DC=microsoft,DC=com'
  4357. AzGetProperty (701)
  4358. 'NTDEV\cliffv'
  4359. AzGetProperty (702)
  4360. 'Cliff Van Dyke'
  4361. AzGetProperty (703)
  4362. '{ebff0213-bec7-4c11-bd47-06c80df7f356}'
  4363. AzGetProperty (704)
  4364. 'ntdev.microsoft.com/ITG/Users/Cliff Van Dyke'
  4365. AzGetProperty (705)
  4366. '[email protected]'
  4367. AzGetProperty (707)
  4368. 'NTDEV.MICROSOFT.COM\cliffv'
  4369. Access - '... except the generic ones'
  4370. AzGetProperty (1) (ERROR_INVALID_PARAMETER)
  4371. AzGetProperty (2) (ERROR_INVALID_PARAMETER)
  4372. Access - 'Create a role denying op1 access to everyone SID via a task with a bizrule'
  4373. AzScopeOpen 'MyScope8'
  4374. AzRoleCreate 'RoleEveryoneCannotOp1ViaTask1WithBizrule'
  4375. AzAddProperty 'S-1-1-0'(501)
  4376. AzAddProperty 'TaskOp1WithEmptyBizRule' (504)
  4377. AzCloseHandle
  4378. AzCloseHandle
  4379. Access - 'Check denied access via a task with bizrule'
  4380. AzContextAccessCheck 'MyScope8' (1)
  4381. Access - 'Create a role granting op1 access to everyone SID via a task with a bizrule'
  4382. AzScopeOpen 'MyScope9'
  4383. AzRoleCreate 'RoleEveryoneCanOp1ViaTask1WithBizrule'
  4384. AzAddProperty 'S-1-1-0'(501)
  4385. AzAddProperty 'TaskOp1WithTrivialBizRule' (504)
  4386. AzCloseHandle
  4387. AzCloseHandle
  4388. Access - 'Check granted access via a task with bizrule'
  4389. AzContextAccessCheck 'MyScope9' (1)
  4390. AzContextAccessCheck 'MyScope9' (1)
  4391. Access - 'Create a role granting op1 access to everyone SID via a task with a bizrule (using parameters)'
  4392. AzTaskCreate 'TaskOp1WithParameterBizrule'
  4393. AzAddProperty 'Op1' (300)
  4394. AzSetProperty 'VBScript' (302)
  4395. AzSetProperty 'Dim Amount
  4396. Amount = AccessCheck.GetParameter( "Amount" )
  4397. if Amount < 500 then AccessCheckBusinessRuleResult = TRUE' (301)
  4398. AzCloseHandle
  4399. AzScopeOpen 'MyScopeP1'
  4400. AzRoleCreate 'RoleEveryoneCanOp1WithParameterBizrule'
  4401. AzAddProperty 'S-1-1-0'(501)
  4402. AzAddProperty 'TaskOp1WithParameterBizrule' (504)
  4403. AzCloseHandle
  4404. AzCloseHandle
  4405. Access - 'Check granted access via a task with bizrule (using parameters)'
  4406. AzContextAccessCheck 'MyScopeP1' (1) (ERROR_INVALID_PARAMETER)
  4407. Access - 'Create a role using a task with an infinite loop'
  4408. AzTaskCreate 'TaskInfiniteLoop'
  4409. AzAddProperty 'Op1' (300)
  4410. AzSetProperty 'VBScript' (302)
  4411. AzSetProperty 'While True
  4412. Wend' (301)
  4413. AzCloseHandle
  4414. AzScopeCreate 'MyScopeI1'
  4415. AzRoleCreate 'RoleInfinite'
  4416. AzAddProperty 'S-1-1-0'(501)
  4417. AzAddProperty 'TaskInfiniteLoop' (504)
  4418. AzCloseHandle
  4419. AzCloseHandle
  4420. Access - 'Set the timeout to 5 seconds'
  4421. AzGetProperty (101)
  4422. '45000'
  4423. AzSetProperty '5000' (101)
  4424. AzGetProperty (101)
  4425. '5000'
  4426. Access - 'Check granted access via a task with infinite loop'
  4427. AzContextAccessCheck 'MyScopeI1' (1) (ERROR_TIMEOUT)
  4428. Access - 'Create a role under application granting op1 access to everyone SID'
  4429. AzRoleCreate 'AppRoleEveryoneCanOp1'
  4430. AzAddProperty 'S-1-1-0'(501)
  4431. AzAddProperty 'Op1' (502)
  4432. AzCloseHandle
  4433. Access - 'Check a SID on a role granting access with default scope'
  4434. AzContextAccessCheck (1)
  4435. Access - 'Check access granted with default scope anda role granting op1 access to everyone SID'
  4436. AzRoleCreate 'NoScopeRoleEveryoneCanOp1'
  4437. AzAddProperty 'S-1-1-0'(501)
  4438. AzAddProperty 'Op1' (502)
  4439. AzCloseHandle
  4440. Access - 'Check a SID on a role granting access'
  4441. AzContextAccessCheck (1)
  4442. AzCloseHandle
  4443. AzCloseHandle
  4444. AzAdminManagerDelete
  4445. AzCloseHandle
  4446. Tests completed successfully!