dssynchmsg.h 13 KB

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