dssynchmsg.h 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604
  1. //
  2. // Values are 32 bit values layed out as follows:
  3. //
  4. // 3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
  5. // 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
  6. // +---+-+-+-----------------------+-------------------------------+
  7. // |Sev|C|R| Facility | Code |
  8. // +---+-+-+-----------------------+-------------------------------+
  9. //
  10. // where
  11. //
  12. // Sev - is the severity code
  13. //
  14. // 00 - Success
  15. // 01 - Informational
  16. // 10 - Warning
  17. // 11 - Error
  18. //
  19. // C - is the Customer code flag
  20. //
  21. // R - is a reserved bit
  22. //
  23. // Facility - is the facility code
  24. //
  25. // Code - is the facility's status code
  26. //
  27. //
  28. // Define the facility codes
  29. //
  30. //
  31. // Define the severity codes
  32. //
  33. //
  34. // MessageId: EVMSG_INSTALLED
  35. //
  36. // MessageText:
  37. //
  38. // The %1 service was installed.
  39. //
  40. #define EVMSG_INSTALLED 0x00000064L
  41. //
  42. // MessageId: EVMSG_REMOVED
  43. //
  44. // MessageText:
  45. //
  46. // The %1 service was removed.
  47. //
  48. #define EVMSG_REMOVED 0x00000065L
  49. //
  50. // MessageId: EVMSG_NOTREMOVED
  51. //
  52. // MessageText:
  53. //
  54. // The %1 service could not be removed.
  55. //
  56. #define EVMSG_NOTREMOVED 0x00000066L
  57. //
  58. // MessageId: EVMSG_CTRLHANDLERNOTINSTALLED
  59. //
  60. // MessageText:
  61. //
  62. // The control handler could not be installed.
  63. //
  64. #define EVMSG_CTRLHANDLERNOTINSTALLED 0x00000067L
  65. //
  66. // MessageId: EVMSG_FAILEDINIT
  67. //
  68. // MessageText:
  69. //
  70. // The initialization process failed.
  71. //
  72. #define EVMSG_FAILEDINIT 0x00000068L
  73. //
  74. // MessageId: EVMSG_STARTED
  75. //
  76. // MessageText:
  77. //
  78. // The service was started.
  79. //
  80. #define EVMSG_STARTED 0x00000069L
  81. //
  82. // MessageId: EVMSG_RESTART
  83. //
  84. // MessageText:
  85. //
  86. // The service was restarted.
  87. //
  88. #define EVMSG_RESTART 0x0000006AL
  89. //
  90. // MessageId: EVMSG_BADREQUEST
  91. //
  92. // MessageText:
  93. //
  94. // The service received an unsupported request.
  95. //
  96. #define EVMSG_BADREQUEST 0x0000006BL
  97. //
  98. // MessageId: EVMSG_SECURITYREGISTER
  99. //
  100. // MessageText:
  101. //
  102. // The service has registered for security events.
  103. //
  104. #define EVMSG_SECURITYREGISTER 0x0000006CL
  105. //
  106. // MessageId: EVMSG_FAILEDNOTIFY
  107. //
  108. // MessageText:
  109. //
  110. // The service failed on waiting for security event.
  111. //
  112. #define EVMSG_FAILEDNOTIFY 0x0000006DL
  113. //
  114. // MessageId: EVMSG_SECURITYNOTIFY
  115. //
  116. // MessageText:
  117. //
  118. // There was a security event.
  119. //
  120. #define EVMSG_SECURITYNOTIFY 0x0000006EL
  121. //
  122. // MessageId: EVMSG_FAILEDSECURITYNOTIFY
  123. //
  124. // MessageText:
  125. //
  126. // Failure waiting for security event involving Users.
  127. //
  128. #define EVMSG_FAILEDSECURITYNOTIFY 0x0000006FL
  129. //
  130. // MessageId: EVMSG_SECURITYAUDITINGENABLED
  131. //
  132. // MessageText:
  133. //
  134. // Auditing of User and Group Management events has been enabled.
  135. //
  136. #define EVMSG_SECURITYAUDITINGENABLED 0x00000070L
  137. //
  138. // MessageId: EVMSG_SECURITYAUDITINGDISABLED
  139. //
  140. // MessageText:
  141. //
  142. // Auditing of User and Group Management events has been turned off.
  143. // Notification-based monitoring of user changes has terminated.
  144. //
  145. #define EVMSG_SECURITYAUDITINGDISABLED 0x00000071L
  146. //
  147. // MessageId: EVMSG_FAILEDBINDDS
  148. //
  149. // MessageText:
  150. //
  151. // Failed to bind to Directory Service on %1 at %2.
  152. //
  153. #define EVMSG_FAILEDBINDDS 0x00000072L
  154. //
  155. // MessageId: EVMSG_BINDDS
  156. //
  157. // MessageText:
  158. //
  159. // Connected to Directory Service on %1 at %2.
  160. //
  161. #define EVMSG_BINDDS 0x00000073L
  162. //
  163. // MessageId: EVMSG_FAILEDGETNTUSERS
  164. //
  165. // MessageText:
  166. //
  167. // Failed to get user information from NT SAM.
  168. //
  169. #define EVMSG_FAILEDGETNTUSERS 0x00000074L
  170. //
  171. // MessageId: EVMSG_FAILEDGETDSUSERS
  172. //
  173. // MessageText:
  174. //
  175. // Failed to get user information from Directory Server.
  176. //
  177. #define EVMSG_FAILEDGETDSUSERS 0x00000075L
  178. //
  179. // MessageId: EVMSG_FAILEDSETDSTIMESTAMPS
  180. //
  181. // MessageText:
  182. //
  183. // Failed to set initial time stamps of NT users on Directory Server.
  184. //
  185. #define EVMSG_FAILEDSETDSTIMESTAMPS 0x00000076L
  186. //
  187. // MessageId: EVMSG_FAILEDGETNTUSERINFO
  188. //
  189. // MessageText:
  190. //
  191. // Failed to get user information for <%1> from NT.
  192. //
  193. #define EVMSG_FAILEDGETNTUSERINFO 0x00000077L
  194. //
  195. // MessageId: EVMSG_FAILEDADDDSUSER
  196. //
  197. // MessageText:
  198. //
  199. // Failed to add user <%1> to Directory Server.
  200. //
  201. #define EVMSG_FAILEDADDDSUSER 0x00000078L
  202. //
  203. // MessageId: EVMSG_FAILEDMODIFYDSUSER
  204. //
  205. // MessageText:
  206. //
  207. // Failed to modify user <%1> on Directory Server.
  208. //
  209. #define EVMSG_FAILEDMODIFYDSUSER 0x00000079L
  210. //
  211. // MessageId: EVMSG_FAILEDDELETEDSUSER
  212. //
  213. // MessageText:
  214. //
  215. // Failed to delete user <%1> on Directory Server.
  216. //
  217. #define EVMSG_FAILEDDELETEDSUSER 0x0000007AL
  218. //
  219. // MessageId: EVMSG_FAILEDADDNTUSER
  220. //
  221. // MessageText:
  222. //
  223. // Failed to add user <%1> to NT.
  224. //
  225. #define EVMSG_FAILEDADDNTUSER 0x0000007BL
  226. //
  227. // MessageId: EVMSG_FAILEDMODIFYNTUSER
  228. //
  229. // MessageText:
  230. //
  231. // Failed to modify user <%1> in NT.
  232. //
  233. #define EVMSG_FAILEDMODIFYNTUSER 0x0000007CL
  234. //
  235. // MessageId: EVMSG_FAILEDDELETENTUSER
  236. //
  237. // MessageText:
  238. //
  239. // Failed to delete user <%1> in NT.
  240. //
  241. #define EVMSG_FAILEDDELETENTUSER 0x0000007DL
  242. //
  243. // MessageId: EVMSG_FAILEDREADEVENTLOG
  244. //
  245. // MessageText:
  246. //
  247. // Failed reading Security Event Log.
  248. //
  249. #define EVMSG_FAILEDREADEVENTLOG 0x0000007EL
  250. //
  251. // MessageId: EVMSG_FAILEDCOMMANDOPEN
  252. //
  253. // MessageText:
  254. //
  255. // Failed opening command socket at port %1.
  256. //
  257. #define EVMSG_FAILEDCOMMANDOPEN 0x0000007FL
  258. //
  259. // MessageId: EVMSG_FAILEDCOMMANDREAD
  260. //
  261. // MessageText:
  262. //
  263. // Failed reading from command socket.
  264. //
  265. #define EVMSG_FAILEDCOMMANDREAD 0x00000080L
  266. //
  267. // MessageId: EVMSG_FAILEDCOMMANDWRITE
  268. //
  269. // MessageText:
  270. //
  271. // Failed writing to command socket.
  272. //
  273. #define EVMSG_FAILEDCOMMANDWRITE 0x00000081L
  274. //
  275. // MessageId: EVMSG_FAILEDGETKEY
  276. //
  277. // MessageText:
  278. //
  279. // Failed to get registry key <%1>.
  280. //
  281. #define EVMSG_FAILEDGETKEY 0x00000082L
  282. //
  283. // MessageId: EVMSG_FAILEDREADREGVALUE
  284. //
  285. // MessageText:
  286. //
  287. // Failed to read registry value <%1>.
  288. //
  289. #define EVMSG_FAILEDREADREGVALUE 0x00000083L
  290. //
  291. // MessageId: EVMSG_FAILEDWRITEREGVALUE
  292. //
  293. // MessageText:
  294. //
  295. // Failed to write registry value <%1>.
  296. //
  297. #define EVMSG_FAILEDWRITEREGVALUE 0x00000084L
  298. //
  299. // MessageId: EVMSG_FAILEDSAVESTATUS
  300. //
  301. // MessageText:
  302. //
  303. // Failed to save status to registry.
  304. //
  305. #define EVMSG_FAILEDSAVESTATUS 0x00000085L
  306. //
  307. // MessageId: EVMSG_UserNotFound
  308. //
  309. // MessageText:
  310. //
  311. // The user name could not be found.
  312. //
  313. #define EVMSG_UserNotFound 0x00000086L
  314. //
  315. // MessageId: EVMSG_UserExists
  316. //
  317. // MessageText:
  318. //
  319. // The user account already exists.
  320. //
  321. #define EVMSG_UserExists 0x00000087L
  322. //
  323. // MessageId: EVMSG_PasswordTooShort
  324. //
  325. // MessageText:
  326. //
  327. // The password is shorter than required.
  328. //
  329. #define EVMSG_PasswordTooShort 0x00000088L
  330. //
  331. // MessageId: EVMSG_NameTooLong
  332. //
  333. // MessageText:
  334. //
  335. // The user name %1 is too long.
  336. //
  337. #define EVMSG_NameTooLong 0x00000089L
  338. //
  339. // MessageId: EVMSG_PasswordHistConflict
  340. //
  341. // MessageText:
  342. //
  343. // This password cannot be used now.
  344. //
  345. #define EVMSG_PasswordHistConflict 0x0000008AL
  346. //
  347. // MessageId: EVMSG_InvalidDatabase
  348. //
  349. // MessageText:
  350. //
  351. // The security database is corrupted.
  352. //
  353. #define EVMSG_InvalidDatabase 0x0000008BL
  354. //
  355. // MessageId: EVMSG_NetworkError
  356. //
  357. // MessageText:
  358. //
  359. // A general network error occurred.
  360. //
  361. #define EVMSG_NetworkError 0x0000008CL
  362. //
  363. // MessageId: EVMSG_BadUsername
  364. //
  365. // MessageText:
  366. //
  367. // The user name or group name parameter is invalid.
  368. //
  369. #define EVMSG_BadUsername 0x0000008DL
  370. //
  371. // MessageId: EVMSG_UserUnkownError
  372. //
  373. // MessageText:
  374. //
  375. // Unexpected error - number %1.
  376. //
  377. #define EVMSG_UserUnkownError 0x0000008EL
  378. //
  379. // MessageId: EVMSG_DEBUG
  380. //
  381. // MessageText:
  382. //
  383. // Debug: %1
  384. //
  385. #define EVMSG_DEBUG 0x0000008FL
  386. //
  387. // MessageId: EVMSG_STOPPED
  388. //
  389. // MessageText:
  390. //
  391. // The service was stopped.
  392. //
  393. #define EVMSG_STOPPED 0x00000090L
  394. //
  395. // MessageId: EVMSG_UIDNOTDUPLICATED
  396. //
  397. // MessageText:
  398. //
  399. // The UID "%1" already exists in the subtree and has not been duplicated.
  400. //
  401. #define EVMSG_UIDNOTDUPLICATED 0x00000091L
  402. //
  403. // MessageId: EVMSG_UIDDUPLICATED
  404. //
  405. // MessageText:
  406. //
  407. // The UID "%1" already exists in the subtree but HAS been duplicated because the user RDN component requires it. Further action may need to be taken if there are systems using the Directory Server which require unique UIDs.
  408. //
  409. #define EVMSG_UIDDUPLICATED 0x00000092L
  410. //
  411. // MessageId: EVMSG_FAILEDCONTROLOPEN
  412. //
  413. // MessageText:
  414. //
  415. // Failed opening control message socket at port %1.
  416. //
  417. #define EVMSG_FAILEDCONTROLOPEN 0x00000093L
  418. //
  419. // MessageId: EVMSG_FAILEDPREOPOPEN
  420. //
  421. // MessageText:
  422. //
  423. // Failed opening preoperation processing socket at port %1.
  424. //
  425. #define EVMSG_FAILEDPREOPOPEN 0x00000094L
  426. //
  427. // MessageId: EVMSG_FAILEDPOSTOPEN
  428. //
  429. // MessageText:
  430. //
  431. // Failed opening postoperation processing socket at port %1.
  432. //
  433. #define EVMSG_FAILEDPOSTOPEN 0x00000095L
  434. //
  435. // MessageId: EVMSG_FAILEDCONTROLWRITE
  436. //
  437. // MessageText:
  438. //
  439. // Failed writing to control message socket at port %1.
  440. //
  441. #define EVMSG_FAILEDCONTROLWRITE 0x00000096L
  442. //
  443. // MessageId: EVMSG_FAILEDPREOPWRITE
  444. //
  445. // MessageText:
  446. //
  447. // Failed writing to preoperation processing socket at port %1.
  448. //
  449. #define EVMSG_FAILEDPREOPWRITE 0x00000097L
  450. //
  451. // MessageId: EVMSG_FAILEDPOSTOPWRITE
  452. //
  453. // MessageText:
  454. //
  455. // Failed writing to postoperation processing socket at port %1.
  456. //
  457. #define EVMSG_FAILEDPOSTOPWRITE 0x00000098L
  458. //
  459. // MessageId: EVMSG_FAILEDCONTROLREAD
  460. //
  461. // MessageText:
  462. //
  463. // Failed reading from control message socket at port %1.
  464. //
  465. #define EVMSG_FAILEDCONTROLREAD 0x00000099L
  466. //
  467. // MessageId: EVMSG_FAILEDPREOPREAD
  468. //
  469. // MessageText:
  470. //
  471. // Failed reading from preoperation processing socket at port %1.
  472. //
  473. #define EVMSG_FAILEDPREOPREAD 0x0000009AL
  474. //
  475. // MessageId: EVMSG_FAILEDPOSTOPREAD
  476. //
  477. // MessageText:
  478. //
  479. // Failed reading from postoperation processing socket at port %1.
  480. //
  481. #define EVMSG_FAILEDPOSTOPREAD 0x0000009BL
  482. //
  483. // MessageId: EVMSG_FAILEDCONTROLBADBASE
  484. //
  485. // MessageText:
  486. //
  487. // The subtree "%1" is invalid.
  488. //
  489. #define EVMSG_FAILEDCONTROLBADBASE 0x0000009CL
  490. //
  491. // MessageId: EVMSG_FAILEDGETNTGROUPINFO
  492. //
  493. // MessageText:
  494. //
  495. // Failed to get group information for <%1> from NT.
  496. //
  497. #define EVMSG_FAILEDGETNTGROUPINFO 0x0000009DL
  498. //
  499. // MessageId: EVMSG_FAILEDADDDSGROUP
  500. //
  501. // MessageText:
  502. //
  503. // Failed to add group <%1> to Directory Server.
  504. //
  505. #define EVMSG_FAILEDADDDSGROUP 0x0000009EL
  506. //
  507. // MessageId: EVMSG_FAILEDMODIFYDSGROUP
  508. //
  509. // MessageText:
  510. //
  511. // Failed to modify group <%1> on Directory Server.
  512. //
  513. #define EVMSG_FAILEDMODIFYDSGROUP 0x0000009FL
  514. //
  515. // MessageId: EVMSG_FAILEDDELETEDSGROUP
  516. //
  517. // MessageText:
  518. //
  519. // Failed to delete group <%1> on Directory Server.
  520. //
  521. #define EVMSG_FAILEDDELETEDSGROUP 0x000000A0L
  522. //
  523. // MessageId: EVMSG_FAILEDCONTROLDUPTREE
  524. //
  525. // MessageText:
  526. //
  527. // Synch Service control connection rejected by Directory Server, duplicate users base <%1> or groups base <%2>.
  528. //
  529. #define EVMSG_FAILEDCONTROLDUPTREE 0x000000A1L
  530. //
  531. // MessageId: EVMSG_FAILEDCONTROLSETUP
  532. //
  533. // MessageText:
  534. //
  535. // Synch Service control connection rejected by Directory Server, users base <%1>, groups base <%2>.
  536. //
  537. #define EVMSG_FAILEDCONTROLSETUP 0x000000A2L