jwalmerrlog.pas 67 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187
  1. {******************************************************************************}
  2. { }
  3. { Lan Manager Error Log API interface Unit for Object Pascal }
  4. { }
  5. { Portions created by Microsoft are Copyright (C) 1995-2001 Microsoft }
  6. { Corporation. All Rights Reserved. }
  7. { }
  8. { The original file is: lmerrlog.h, released November 2001. The original Pascal}
  9. { code is: LmErrLog.pas, released Februari 2002. The initial developer of the }
  10. { Pascal code is Marcel van Brakel (brakelm att chello dott nl). }
  11. { }
  12. { Portions created by Marcel van Brakel are Copyright (C) 1999-2001 }
  13. { Marcel van Brakel. All Rights Reserved. }
  14. { }
  15. { Obtained through: Joint Endeavour of Delphi Innovators (Project JEDI) }
  16. { }
  17. { You may retrieve the latest version of this file at the Project JEDI }
  18. { APILIB home page, located at http://jedi-apilib.sourceforge.net }
  19. { }
  20. { The contents of this file are used with permission, subject to the Mozilla }
  21. { Public License Version 1.1 (the "License"); you may not use this file except }
  22. { in compliance with the License. You may obtain a copy of the License at }
  23. { http://www.mozilla.org/MPL/MPL-1.1.html }
  24. { }
  25. { Software distributed under the License is distributed on an "AS IS" basis, }
  26. { WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for }
  27. { the specific language governing rights and limitations under the License. }
  28. { }
  29. { Alternatively, the contents of this file may be used under the terms of the }
  30. { GNU Lesser General Public License (the "LGPL License"), in which case the }
  31. { provisions of the LGPL License are applicable instead of those above. }
  32. { If you wish to allow use of your version of this file only under the terms }
  33. { of the LGPL License and not to allow others to use your version of this file }
  34. { under the MPL, indicate your decision by deleting the provisions above and }
  35. { replace them with the notice and other provisions required by the LGPL }
  36. { License. If you do not delete the provisions above, a recipient may use }
  37. { your version of this file under either the MPL or the LGPL License. }
  38. { }
  39. { For more information about the LGPL: http://www.gnu.org/copyleft/lesser.html }
  40. { }
  41. {******************************************************************************}
  42. unit JwaLmErrLog;
  43. {$WEAKPACKAGEUNIT}
  44. {$HPPEMIT ''}
  45. {$HPPEMIT '#include "lmerrlog.h"'}
  46. {$HPPEMIT ''}
  47. {$I jediapilib.inc}
  48. interface
  49. uses
  50. JwaLmCons, JwaWinType;
  51. //
  52. // Data Structures - Config
  53. //
  54. type
  55. _ERROR_LOG = record
  56. el_len: DWORD;
  57. el_reserved: DWORD;
  58. el_time: DWORD;
  59. el_error: DWORD;
  60. el_name: LPWSTR; // pointer to service name
  61. el_text: LPWSTR; // pointer to string array
  62. el_data: LPBYTE; // pointer to BYTE array
  63. el_data_size: DWORD; // byte count of el_data area
  64. el_nstrings: DWORD; // number of strings in el_text.
  65. end;
  66. {$EXTERNALSYM _ERROR_LOG}
  67. ERROR_LOG = _ERROR_LOG;
  68. {$EXTERNALSYM ERROR_LOG}
  69. PERROR_LOG = ^ERROR_LOG;
  70. {$EXTERNALSYM PERROR_LOG}
  71. LPERROR_LOG = ^ERROR_LOG;
  72. {$EXTERNALSYM LPERROR_LOG}
  73. TErrorLog = ERROR_LOG;
  74. PErrorLog = PERROR_LOG;
  75. {$DEFINE REVISED_ERROR_LOG_STRUCT}
  76. _HLOG = record
  77. time: DWORD;
  78. last_flags: DWORD;
  79. offset: DWORD;
  80. rec_offset: DWORD;
  81. end;
  82. {$EXTERNALSYM _HLOG}
  83. HLOG = _HLOG;
  84. {$EXTERNALSYM HLOG}
  85. PHLOG = ^HLOG;
  86. {$EXTERNALSYM PHLOG}
  87. LPHLOG = ^HLOG;
  88. {$EXTERNALSYM LPHLOG}
  89. const
  90. LOGFLAGS_FORWARD = 0;
  91. {$EXTERNALSYM LOGFLAGS_FORWARD}
  92. LOGFLAGS_BACKWARD = $1;
  93. {$EXTERNALSYM LOGFLAGS_BACKWARD}
  94. LOGFLAGS_SEEK = $2;
  95. {$EXTERNALSYM LOGFLAGS_SEEK}
  96. //
  97. // Function Prototypes - ErrorLog
  98. //
  99. function NetErrorLogClear(server, backupfile: LPCWSTR; reserved: LPBYTE): NET_API_STATUS; stdcall;
  100. {$EXTERNALSYM NetErrorLogClear}
  101. function NetErrorLogRead(server: LPCWSTR; reserved1: LPWSTR; errloghandle: LPHLOG; offset: DWORD; reserved2: LPDWORD;
  102. reserved3, offsetflag: DWORD; var bufptr: LPBYTE; prefmaxlen: DWORD; bytesread, totalbytes: LPDWORD): NET_API_STATUS; stdcall;
  103. {$EXTERNALSYM NetErrorLogRead}
  104. function NetErrorLogWrite(reserved1: LPBYTE; code: DWORD; component: LPCWSTR; buffer: LPBYTE; numbytes: DWORD;
  105. msgbuf: LPBYTE; strcount: DWORD; reserved2: LPBYTE): NET_API_STATUS; stdcall;
  106. {$EXTERNALSYM NetErrorLogWrite}
  107. //
  108. // Special Values and Constants
  109. //
  110. //
  111. // Generic (could be used by more than one service)
  112. // error log messages from 0 to 25
  113. //
  114. // Do not change the comments following the manifest constants without
  115. // understanding how mapmsg works.
  116. //
  117. const
  118. ERRLOG_BASE = 3100; { NELOG errors start here }
  119. {$EXTERNALSYM ERRLOG_BASE}
  120. NELOG_Internal_Error = ERRLOG_BASE + 0;
  121. {$EXTERNALSYM NELOG_Internal_Error}
  122. {
  123. * The operation failed because a network software error occurred.
  124. }
  125. NELOG_Resource_Shortage = ERRLOG_BASE + 1;
  126. {$EXTERNALSYM NELOG_Resource_Shortage}
  127. {
  128. * The system ran out of a resource controlled by the %1 option.
  129. }
  130. NELOG_Unable_To_Lock_Segment = ERRLOG_BASE + 2;
  131. {$EXTERNALSYM NELOG_Unable_To_Lock_Segment}
  132. {
  133. * The service failed to obtain a long-term lock on the
  134. * segment for network control blocks (NCBs). The error code is the data.
  135. }
  136. NELOG_Unable_To_Unlock_Segment = ERRLOG_BASE + 3;
  137. {$EXTERNALSYM NELOG_Unable_To_Unlock_Segment}
  138. {
  139. * The service failed to release the long-term lock on the
  140. * segment for network control blocks (NCBs). The error code is the data.
  141. }
  142. NELOG_Uninstall_Service = ERRLOG_BASE + 4;
  143. {$EXTERNALSYM NELOG_Uninstall_Service}
  144. {
  145. * There was an error stopping service %1.
  146. * The error code from NetServiceControl is the data.
  147. }
  148. NELOG_Init_Exec_Fail = ERRLOG_BASE + 5;
  149. {$EXTERNALSYM NELOG_Init_Exec_Fail}
  150. {
  151. * Initialization failed because of a system execution failure on
  152. * path %1. The system error code is the data.
  153. }
  154. NELOG_Ncb_Error = ERRLOG_BASE + 6;
  155. {$EXTERNALSYM NELOG_Ncb_Error}
  156. {
  157. * An unexpected network control block (NCB) was received. The NCB is the data.
  158. }
  159. NELOG_Net_Not_Started = ERRLOG_BASE + 7;
  160. {$EXTERNALSYM NELOG_Net_Not_Started}
  161. {
  162. * The network is not started.
  163. }
  164. NELOG_Ioctl_Error = ERRLOG_BASE + 8;
  165. {$EXTERNALSYM NELOG_Ioctl_Error}
  166. {
  167. * A DosDevIoctl or DosFsCtl to NETWKSTA.SYS failed.
  168. * The data shown is in this format:
  169. * DWORD approx CS:IP of call to ioctl or fsctl
  170. * WORD error code
  171. * WORD ioctl or fsctl number
  172. }
  173. NELOG_System_Semaphore = ERRLOG_BASE + 9;
  174. {$EXTERNALSYM NELOG_System_Semaphore}
  175. {
  176. * Unable to create or open system semaphore %1.
  177. * The error code is the data.
  178. }
  179. NELOG_Init_OpenCreate_Err = ERRLOG_BASE + 10;
  180. {$EXTERNALSYM NELOG_Init_OpenCreate_Err}
  181. {
  182. * Initialization failed because of an open/create error on the
  183. * file %1. The system error code is the data.
  184. }
  185. NELOG_NetBios = ERRLOG_BASE + 11;
  186. {$EXTERNALSYM NELOG_NetBios}
  187. {
  188. * An unexpected NetBIOS error occurred.
  189. * The error code is the data.
  190. }
  191. NELOG_SMB_Illegal = ERRLOG_BASE + 12;
  192. {$EXTERNALSYM NELOG_SMB_Illegal}
  193. {
  194. * An illegal server message block (SMB) was received.
  195. * The SMB is the data.
  196. }
  197. NELOG_Service_Fail = ERRLOG_BASE + 13;
  198. {$EXTERNALSYM NELOG_Service_Fail}
  199. {
  200. * Initialization failed because the requested service %1
  201. * could not be started.
  202. }
  203. NELOG_Entries_Lost = ERRLOG_BASE + 14;
  204. {$EXTERNALSYM NELOG_Entries_Lost}
  205. {
  206. * Some entries in the error log were lost because of a buffer
  207. * overflow.
  208. }
  209. //
  210. // Server specific error log messages from 20 to 40
  211. //
  212. NELOG_Init_Seg_Overflow = ERRLOG_BASE + 20;
  213. {$EXTERNALSYM NELOG_Init_Seg_Overflow}
  214. {
  215. * Initialization parameters controlling resource usage other
  216. * than net buffers are sized so that too much memory is needed.
  217. }
  218. NELOG_Srv_No_Mem_Grow = ERRLOG_BASE + 21;
  219. {$EXTERNALSYM NELOG_Srv_No_Mem_Grow}
  220. {
  221. * The server cannot increase the size of a memory segment.
  222. }
  223. NELOG_Access_File_Bad = ERRLOG_BASE + 22;
  224. {$EXTERNALSYM NELOG_Access_File_Bad}
  225. {
  226. * Initialization failed because account file %1 is either incorrect
  227. * or not present.
  228. }
  229. NELOG_Srvnet_Not_Started = ERRLOG_BASE + 23;
  230. {$EXTERNALSYM NELOG_Srvnet_Not_Started}
  231. {
  232. * Initialization failed because network %1 was not started.
  233. }
  234. NELOG_Init_Chardev_Err = ERRLOG_BASE + 24;
  235. {$EXTERNALSYM NELOG_Init_Chardev_Err}
  236. {
  237. * The server failed to start. Either all three chdev
  238. * parameters must be zero or all three must be nonzero.
  239. }
  240. NELOG_Remote_API = ERRLOG_BASE + 25;
  241. {$EXTERNALSYM NELOG_Remote_API}
  242. { A remote API request was halted due to the following
  243. * invalid description string: %1.
  244. }
  245. NELOG_Ncb_TooManyErr = ERRLOG_BASE + 26;
  246. {$EXTERNALSYM NELOG_Ncb_TooManyErr}
  247. { The network %1 ran out of network control blocks (NCBs). You may need to increase NCBs
  248. * for this network. The following information includes the
  249. * number of NCBs submitted by the server when this error occurred:
  250. }
  251. NELOG_Mailslot_err = ERRLOG_BASE + 27;
  252. {$EXTERNALSYM NELOG_Mailslot_err}
  253. { The server cannot create the %1 mailslot needed to send
  254. * the ReleaseMemory alert message. The error received is:
  255. }
  256. NELOG_ReleaseMem_Alert = ERRLOG_BASE + 28;
  257. {$EXTERNALSYM NELOG_ReleaseMem_Alert}
  258. { The server failed to register for the ReleaseMemory alert,
  259. * with recipient %1. The error code from
  260. * NetAlertStart is the data.
  261. }
  262. NELOG_AT_cannot_write = ERRLOG_BASE + 29;
  263. {$EXTERNALSYM NELOG_AT_cannot_write}
  264. { The server cannot update the AT schedule file. The file
  265. * is corrupted.
  266. }
  267. NELOG_Cant_Make_Msg_File = ERRLOG_BASE + 30;
  268. {$EXTERNALSYM NELOG_Cant_Make_Msg_File}
  269. { The server encountered an error when calling
  270. * NetIMakeLMFileName. The error code is the data.
  271. }
  272. NELOG_Exec_Netservr_NoMem = ERRLOG_BASE + 31;
  273. {$EXTERNALSYM NELOG_Exec_Netservr_NoMem}
  274. { Initialization failed because of a system execution failure on
  275. * path %1. There is not enough memory to start the process.
  276. * The system error code is the data.
  277. }
  278. NELOG_Server_Lock_Failure = ERRLOG_BASE + 32;
  279. {$EXTERNALSYM NELOG_Server_Lock_Failure}
  280. { Longterm lock of the server buffers failed.
  281. * Check swap disk's free space and restart the system to start the server.
  282. }
  283. //
  284. // Message service and POPUP specific error log messages from 40 to 55
  285. //
  286. NELOG_Msg_Shutdown = ERRLOG_BASE + 40;
  287. {$EXTERNALSYM NELOG_Msg_Shutdown}
  288. {
  289. * The service has stopped due to repeated consecutive
  290. * occurrences of a network control block (NCB) error. The last bad NCB follows
  291. * in raw data.
  292. }
  293. NELOG_Msg_Sem_Shutdown = ERRLOG_BASE + 41;
  294. {$EXTERNALSYM NELOG_Msg_Sem_Shutdown}
  295. {
  296. * The Message server has stopped due to a lock on the
  297. * Message server shared data segment.
  298. }
  299. NELOG_Msg_Log_Err = ERRLOG_BASE + 50;
  300. {$EXTERNALSYM NELOG_Msg_Log_Err}
  301. {
  302. * A file system error occurred while opening or writing to the
  303. * system message log file %1. Message logging has been
  304. * switched off due to the error. The error code is the data.
  305. }
  306. NELOG_VIO_POPUP_ERR = ERRLOG_BASE + 51;
  307. {$EXTERNALSYM NELOG_VIO_POPUP_ERR}
  308. {
  309. * Unable to display message POPUP due to system VIO call error.
  310. * The error code is the data.
  311. }
  312. NELOG_Msg_Unexpected_SMB_Type = ERRLOG_BASE + 52;
  313. {$EXTERNALSYM NELOG_Msg_Unexpected_SMB_Type}
  314. {
  315. * An illegal server message block (SMB) was received. The SMB is the data.
  316. }
  317. //
  318. // Workstation specific error log messages from 60 to 75
  319. //
  320. NELOG_Wksta_Infoseg = ERRLOG_BASE + 60;
  321. {$EXTERNALSYM NELOG_Wksta_Infoseg}
  322. {
  323. * The workstation information segment is bigger than 64K.
  324. * The size follows, in DWORD format:
  325. }
  326. NELOG_Wksta_Compname = ERRLOG_BASE + 61;
  327. {$EXTERNALSYM NELOG_Wksta_Compname}
  328. {
  329. * The workstation was unable to get the name-number of the computer.
  330. }
  331. NELOG_Wksta_BiosThreadFailure = ERRLOG_BASE + 62;
  332. {$EXTERNALSYM NELOG_Wksta_BiosThreadFailure}
  333. {
  334. * The workstation could not initialize the Async NetBIOS Thread.
  335. * The error code is the data.
  336. }
  337. NELOG_Wksta_IniSeg = ERRLOG_BASE + 63;
  338. {$EXTERNALSYM NELOG_Wksta_IniSeg}
  339. {
  340. * The workstation could not open the initial shared segment.
  341. * The error code is the data.
  342. }
  343. NELOG_Wksta_HostTab_Full = ERRLOG_BASE + 64;
  344. {$EXTERNALSYM NELOG_Wksta_HostTab_Full}
  345. {
  346. * The workstation host table is full.
  347. }
  348. NELOG_Wksta_Bad_Mailslot_SMB = ERRLOG_BASE + 65;
  349. {$EXTERNALSYM NELOG_Wksta_Bad_Mailslot_SMB}
  350. {
  351. * A bad mailslot server message block (SMB) was received. The SMB is the data.
  352. }
  353. NELOG_Wksta_UASInit = ERRLOG_BASE + 66;
  354. {$EXTERNALSYM NELOG_Wksta_UASInit}
  355. {
  356. * The workstation encountered an error while trying to start the user accounts database.
  357. * The error code is the data.
  358. }
  359. NELOG_Wksta_SSIRelogon = ERRLOG_BASE + 67;
  360. {$EXTERNALSYM NELOG_Wksta_SSIRelogon}
  361. {
  362. * The workstation encountered an error while responding to an SSI revalidation request.
  363. * The function code and the error codes are the data.
  364. }
  365. //
  366. // Alerter service specific error log messages from 70 to 79
  367. //
  368. NELOG_Build_Name = ERRLOG_BASE + 70;
  369. {$EXTERNALSYM NELOG_Build_Name}
  370. {
  371. * The Alerter service had a problem creating the list of
  372. * alert recipients. The error code is %1.
  373. }
  374. NELOG_Name_Expansion = ERRLOG_BASE + 71;
  375. {$EXTERNALSYM NELOG_Name_Expansion}
  376. {
  377. * There was an error expanding %1 as a group name. Try
  378. * splitting the group into two or more smaller groups.
  379. }
  380. NELOG_Message_Send = ERRLOG_BASE + 72;
  381. {$EXTERNALSYM NELOG_Message_Send}
  382. {
  383. * There was an error sending %2 the alert message -
  384. * (
  385. * %3 )
  386. * The error code is %1.
  387. }
  388. NELOG_Mail_Slt_Err = ERRLOG_BASE + 73;
  389. {$EXTERNALSYM NELOG_Mail_Slt_Err}
  390. {
  391. * There was an error in creating or reading the alerter mailslot.
  392. * The error code is %1.
  393. }
  394. NELOG_AT_cannot_read = ERRLOG_BASE + 74;
  395. {$EXTERNALSYM NELOG_AT_cannot_read}
  396. {
  397. * The server could not read the AT schedule file.
  398. }
  399. NELOG_AT_sched_err = ERRLOG_BASE + 75;
  400. {$EXTERNALSYM NELOG_AT_sched_err}
  401. {
  402. * The server found an invalid AT schedule record.
  403. }
  404. NELOG_AT_schedule_file_created = ERRLOG_BASE + 76;
  405. {$EXTERNALSYM NELOG_AT_schedule_file_created}
  406. {
  407. * The server could not find an AT schedule file so it created one.
  408. }
  409. NELOG_Srvnet_NB_Open = ERRLOG_BASE + 77;
  410. {$EXTERNALSYM NELOG_Srvnet_NB_Open}
  411. {
  412. * The server could not access the %1 network with NetBiosOpen.
  413. }
  414. NELOG_AT_Exec_Err = ERRLOG_BASE + 78;
  415. {$EXTERNALSYM NELOG_AT_Exec_Err}
  416. {
  417. * The AT command processor could not run %1.
  418. }
  419. //
  420. // Cache Lazy Write and HPFS386 specific error log messages from 80 to 89
  421. //
  422. NELOG_Lazy_Write_Err = ERRLOG_BASE + 80;
  423. {$EXTERNALSYM NELOG_Lazy_Write_Err}
  424. {
  425. * WARNING: Because of a lazy-write error, drive %1 now
  426. * contains some corrupted data. The cache is stopped.
  427. }
  428. NELOG_HotFix = ERRLOG_BASE + 81;
  429. {$EXTERNALSYM NELOG_HotFix}
  430. {
  431. * A defective sector on drive %1 has been replaced (hotfixed).
  432. * No data was lost. You should run CHKDSK soon to restore full
  433. * performance and replenish the volume's spare sector pool.
  434. *
  435. * The hotfix occurred while processing a remote request.
  436. }
  437. NELOG_HardErr_From_Server = ERRLOG_BASE + 82;
  438. {$EXTERNALSYM NELOG_HardErr_From_Server}
  439. {
  440. * A disk error occurred on the HPFS volume in drive %1.
  441. * The error occurred while processing a remote request.
  442. }
  443. NELOG_LocalSecFail1 = ERRLOG_BASE + 83;
  444. {$EXTERNALSYM NELOG_LocalSecFail1}
  445. {
  446. * The user accounts database (NET.ACC) is corrupted. The local security
  447. * system is replacing the corrupted NET.ACC with the backup
  448. * made at %1.
  449. * Any updates made to the database after this time are lost.
  450. *
  451. }
  452. NELOG_LocalSecFail2 = ERRLOG_BASE + 84;
  453. {$EXTERNALSYM NELOG_LocalSecFail2}
  454. {
  455. * The user accounts database (NET.ACC) is missing. The local
  456. * security system is restoring the backup database
  457. * made at %1.
  458. * Any updates made to the database made after this time are lost.
  459. *
  460. }
  461. NELOG_LocalSecFail3 = ERRLOG_BASE + 85;
  462. {$EXTERNALSYM NELOG_LocalSecFail3}
  463. {
  464. * Local security could not be started because the user accounts database
  465. * (NET.ACC) was missing or corrupted, and no usable backup
  466. * database was present.
  467. *
  468. * THE SYSTEM IS NOT SECURE.
  469. }
  470. NELOG_LocalSecGeneralFail = ERRLOG_BASE + 86;
  471. {$EXTERNALSYM NELOG_LocalSecGeneralFail}
  472. {
  473. * Local security could not be started because an error
  474. * occurred during initialization. The error code returned is %1.
  475. *
  476. * THE SYSTEM IS NOT SECURE.
  477. *
  478. }
  479. //
  480. // NETWKSTA.SYS specific error log messages from 90 to 99
  481. //
  482. NELOG_NetWkSta_Internal_Error = ERRLOG_BASE + 90;
  483. {$EXTERNALSYM NELOG_NetWkSta_Internal_Error}
  484. {
  485. * A NetWksta internal error has occurred:
  486. * %1
  487. }
  488. NELOG_NetWkSta_No_Resource = ERRLOG_BASE + 91;
  489. {$EXTERNALSYM NELOG_NetWkSta_No_Resource}
  490. {
  491. * The redirector is out of a resource: %1.
  492. }
  493. NELOG_NetWkSta_SMB_Err = ERRLOG_BASE + 92;
  494. {$EXTERNALSYM NELOG_NetWkSta_SMB_Err}
  495. {
  496. * A server message block (SMB) error occurred on the connection to %1.
  497. * The SMB header is the data.
  498. }
  499. NELOG_NetWkSta_VC_Err = ERRLOG_BASE + 93;
  500. {$EXTERNALSYM NELOG_NetWkSta_VC_Err}
  501. {
  502. * A virtual circuit error occurred on the session to %1.
  503. * The network control block (NCB) command and return code is the data.
  504. }
  505. NELOG_NetWkSta_Stuck_VC_Err = ERRLOG_BASE + 94;
  506. {$EXTERNALSYM NELOG_NetWkSta_Stuck_VC_Err}
  507. {
  508. * Hanging up a stuck session to %1.
  509. }
  510. NELOG_NetWkSta_NCB_Err = ERRLOG_BASE + 95;
  511. {$EXTERNALSYM NELOG_NetWkSta_NCB_Err}
  512. {
  513. * A network control block (NCB) error occurred (%1).
  514. * The NCB is the data.
  515. }
  516. NELOG_NetWkSta_Write_Behind_Err = ERRLOG_BASE + 96;
  517. {$EXTERNALSYM NELOG_NetWkSta_Write_Behind_Err}
  518. {
  519. * A write operation to %1 failed.
  520. * Data may have been lost.
  521. }
  522. NELOG_NetWkSta_Reset_Err = ERRLOG_BASE + 97;
  523. {$EXTERNALSYM NELOG_NetWkSta_Reset_Err}
  524. {
  525. * Reset of driver %1 failed to complete the network control block (NCB).
  526. * The NCB is the data.
  527. }
  528. NELOG_NetWkSta_Too_Many = ERRLOG_BASE + 98;
  529. {$EXTERNALSYM NELOG_NetWkSta_Too_Many}
  530. {
  531. * The amount of resource %1 requested was more
  532. * than the maximum. The maximum amount was allocated.
  533. }
  534. //
  535. // Spooler specific error log messages from 100 to 103
  536. //
  537. NELOG_Srv_Thread_Failure = ERRLOG_BASE + 104;
  538. {$EXTERNALSYM NELOG_Srv_Thread_Failure}
  539. {
  540. * The server could not create a thread.
  541. * The THREADS parameter in the CONFIG.SYS file should be increased.
  542. }
  543. NELOG_Srv_Close_Failure = ERRLOG_BASE + 105;
  544. {$EXTERNALSYM NELOG_Srv_Close_Failure}
  545. {
  546. * The server could not close %1.
  547. * The file is probably corrupted.
  548. }
  549. NELOG_ReplUserCurDir = ERRLOG_BASE + 106;
  550. {$EXTERNALSYM NELOG_ReplUserCurDir}
  551. {
  552. *The replicator cannot update directory %1. It has tree integrity
  553. * and is the current directory for some process.
  554. }
  555. NELOG_ReplCannotMasterDir = ERRLOG_BASE + 107;
  556. {$EXTERNALSYM NELOG_ReplCannotMasterDir}
  557. {
  558. *The server cannot export directory %1 to client %2.
  559. * It is exported from another server.
  560. }
  561. NELOG_ReplUpdateError = ERRLOG_BASE + 108;
  562. {$EXTERNALSYM NELOG_ReplUpdateError}
  563. {
  564. *The replication server could not update directory %2 from the source
  565. * on %3 due to error %1.
  566. }
  567. NELOG_ReplLostMaster = ERRLOG_BASE + 109;
  568. {$EXTERNALSYM NELOG_ReplLostMaster}
  569. {
  570. *Master %1 did not send an update notice for directory %2 at the expected
  571. * time.
  572. }
  573. NELOG_NetlogonAuthDCFail = ERRLOG_BASE + 110;
  574. {$EXTERNALSYM NELOG_NetlogonAuthDCFail}
  575. {
  576. *This computer could not authenticate with %2, a Windows domain controller
  577. * for domain %1, and therefore this computer might deny logon requests.
  578. * This inability to authenticate might be caused by another computer on the
  579. * same network using the same name or the password for this computer account
  580. * is not recognized. If this message appears again, contact your system
  581. * administrator.
  582. }
  583. NELOG_ReplLogonFailed = ERRLOG_BASE + 111;
  584. {$EXTERNALSYM NELOG_ReplLogonFailed}
  585. {
  586. *The replicator attempted to log on at %2 as %1 and failed.
  587. }
  588. NELOG_ReplNetErr = ERRLOG_BASE + 112;
  589. {$EXTERNALSYM NELOG_ReplNetErr}
  590. {
  591. * Network error %1 occurred.
  592. }
  593. NELOG_ReplMaxFiles = ERRLOG_BASE + 113;
  594. {$EXTERNALSYM NELOG_ReplMaxFiles}
  595. {
  596. * Replicator limit for files in a directory has been exceeded.
  597. }
  598. NELOG_ReplMaxTreeDepth = ERRLOG_BASE + 114;
  599. {$EXTERNALSYM NELOG_ReplMaxTreeDepth}
  600. {
  601. * Replicator limit for tree depth has been exceeded.
  602. }
  603. NELOG_ReplBadMsg = ERRLOG_BASE + 115;
  604. {$EXTERNALSYM NELOG_ReplBadMsg}
  605. {
  606. * Unrecognized message received in mailslot.
  607. }
  608. NELOG_ReplSysErr = ERRLOG_BASE + 116;
  609. {$EXTERNALSYM NELOG_ReplSysErr}
  610. {
  611. * System error %1 occurred.
  612. }
  613. NELOG_ReplUserLoged = ERRLOG_BASE + 117;
  614. {$EXTERNALSYM NELOG_ReplUserLoged}
  615. {
  616. * Cannot log on. User is currently logged on and argument TRYUSER
  617. * is set to NO.
  618. }
  619. NELOG_ReplBadImport = ERRLOG_BASE + 118;
  620. {$EXTERNALSYM NELOG_ReplBadImport}
  621. {
  622. * IMPORT path %1 cannot be found.
  623. }
  624. NELOG_ReplBadExport = ERRLOG_BASE + 119;
  625. {$EXTERNALSYM NELOG_ReplBadExport}
  626. {
  627. * EXPORT path %1 cannot be found.
  628. }
  629. NELOG_ReplSignalFileErr = ERRLOG_BASE + 120;
  630. {$EXTERNALSYM NELOG_ReplSignalFileErr}
  631. {
  632. * Replicator failed to update signal file in directory %2 due to
  633. * %1 system error.
  634. }
  635. NELOG_DiskFT = (ERRLOG_BASE+121);
  636. {$EXTERNALSYM NELOG_DiskFT}
  637. {
  638. * Disk Fault Tolerance Error
  639. *
  640. * %1
  641. }
  642. NELOG_ReplAccessDenied = ERRLOG_BASE + 122;
  643. {$EXTERNALSYM NELOG_ReplAccessDenied}
  644. {
  645. * Replicator could not access %2
  646. * on %3 due to system error %1.
  647. }
  648. NELOG_NetlogonFailedPrimary = ERRLOG_BASE + 123;
  649. {$EXTERNALSYM NELOG_NetlogonFailedPrimary}
  650. {
  651. *The primary domain controller for domain %1 has apparently failed.
  652. }
  653. NELOG_NetlogonPasswdSetFailed = ERRLOG_BASE + 124;
  654. {$EXTERNALSYM NELOG_NetlogonPasswdSetFailed}
  655. {
  656. * Changing machine account password for account %1 failed with
  657. * the following error: %n%2
  658. }
  659. NELOG_NetlogonTrackingError = ERRLOG_BASE + 125;
  660. {$EXTERNALSYM NELOG_NetlogonTrackingError}
  661. {
  662. *An error occurred while updating the logon or logoff information for %1.
  663. }
  664. NELOG_NetlogonSyncError = ERRLOG_BASE + 126;
  665. {$EXTERNALSYM NELOG_NetlogonSyncError}
  666. {
  667. *An error occurred while synchronizing with primary domain controller %1
  668. }
  669. NELOG_NetlogonRequireSignOrSealError = ERRLOG_BASE + 127;
  670. {$EXTERNALSYM NELOG_NetlogonRequireSignOrSealError}
  671. {
  672. * The session setup to the Windows NT or Windows 2000 Domain Controller %1 for the domain %2
  673. * failed because %1 does not support signing or sealing the Netlogon
  674. * session.
  675. *
  676. * Either upgrade the Domain controller or set the RequireSignOrSeal
  677. * registry entry on this machine to 0.
  678. }
  679. //
  680. // UPS service specific error log messages from 130 to 135
  681. //
  682. NELOG_UPS_PowerOut = ERRLOG_BASE + 130;
  683. {$EXTERNALSYM NELOG_UPS_PowerOut}
  684. {
  685. * A power failure was detected at the server.
  686. }
  687. NELOG_UPS_Shutdown = ERRLOG_BASE + 131;
  688. {$EXTERNALSYM NELOG_UPS_Shutdown}
  689. {
  690. * The UPS service performed server shut down.
  691. }
  692. NELOG_UPS_CmdFileError = ERRLOG_BASE + 132;
  693. {$EXTERNALSYM NELOG_UPS_CmdFileError}
  694. {
  695. * The UPS service did not complete execution of the
  696. * user specified shut down command file.
  697. }
  698. NELOG_UPS_CannotOpenDriver = (ERRLOG_BASE+133);
  699. {$EXTERNALSYM NELOG_UPS_CannotOpenDriver}
  700. {
  701. * The UPS driver could not be opened. The error code is
  702. * the data.
  703. }
  704. NELOG_UPS_PowerBack = ERRLOG_BASE + 134;
  705. {$EXTERNALSYM NELOG_UPS_PowerBack}
  706. {
  707. * Power has been restored.
  708. }
  709. NELOG_UPS_CmdFileConfig = ERRLOG_BASE + 135;
  710. {$EXTERNALSYM NELOG_UPS_CmdFileConfig}
  711. {
  712. * There is a problem with a configuration of user specified
  713. * shut down command file.
  714. }
  715. NELOG_UPS_CmdFileExec = ERRLOG_BASE + 136;
  716. {$EXTERNALSYM NELOG_UPS_CmdFileExec}
  717. {
  718. * The UPS service failed to execute a user specified shutdown
  719. * command file %1. The error code is the data.
  720. }
  721. //
  722. // Remoteboot server specific error log messages are from 150 to 157
  723. //
  724. NELOG_Missing_Parameter = ERRLOG_BASE + 150;
  725. {$EXTERNALSYM NELOG_Missing_Parameter}
  726. {
  727. * Initialization failed because of an invalid or missing
  728. * parameter in the configuration file %1.
  729. }
  730. NELOG_Invalid_Config_Line = ERRLOG_BASE + 151;
  731. {$EXTERNALSYM NELOG_Invalid_Config_Line}
  732. {
  733. * Initialization failed because of an invalid line in the
  734. * configuration file %1. The invalid line is the data.
  735. }
  736. NELOG_Invalid_Config_File = ERRLOG_BASE + 152;
  737. {$EXTERNALSYM NELOG_Invalid_Config_File}
  738. {
  739. * Initialization failed because of an error in the configuration
  740. * file %1.
  741. }
  742. NELOG_File_Changed = ERRLOG_BASE + 153;
  743. {$EXTERNALSYM NELOG_File_Changed}
  744. {
  745. * The file %1 has been changed after initialization.
  746. * The boot-block loading was temporarily terminated.
  747. }
  748. NELOG_Files_Dont_Fit = ERRLOG_BASE + 154;
  749. {$EXTERNALSYM NELOG_Files_Dont_Fit}
  750. {
  751. * The files do not fit to the boot-block configuration
  752. * file %1. Change the BASE and ORG definitions or the order
  753. * of the files.
  754. }
  755. NELOG_Wrong_DLL_Version = ERRLOG_BASE + 155;
  756. {$EXTERNALSYM NELOG_Wrong_DLL_Version}
  757. {
  758. * Initialization failed because the dynamic-link
  759. * library %1 returned an incorrect version number.
  760. }
  761. NELOG_Error_in_DLL = ERRLOG_BASE + 156;
  762. {$EXTERNALSYM NELOG_Error_in_DLL}
  763. {
  764. * There was an unrecoverable error in the dynamic-
  765. * link library of the service.
  766. }
  767. NELOG_System_Error = ERRLOG_BASE + 157;
  768. {$EXTERNALSYM NELOG_System_Error}
  769. {
  770. * The system returned an unexpected error code.
  771. * The error code is the data.
  772. }
  773. NELOG_FT_ErrLog_Too_Large = ERRLOG_BASE + 158;
  774. {$EXTERNALSYM NELOG_FT_ErrLog_Too_Large}
  775. {
  776. * The fault-tolerance error log file, LANROOT\LOGS\FT.LOG,
  777. * is more than 64K.
  778. }
  779. NELOG_FT_Update_In_Progress = ERRLOG_BASE + 159;
  780. {$EXTERNALSYM NELOG_FT_Update_In_Progress}
  781. {
  782. * The fault-tolerance error-log file, LANROOT\LOGS\FT.LOG, had the
  783. * update in progress bit set upon opening, which means that the
  784. * system crashed while working on the error log.
  785. }
  786. NELOG_Joined_Domain = ERRLOG_BASE + 160;
  787. {$EXTERNALSYM NELOG_Joined_Domain}
  788. {
  789. * This computer has been successfully joined to %1 '%2'.
  790. }
  791. NELOG_Joined_Workgroup = ERRLOG_BASE + 161;
  792. {$EXTERNALSYM NELOG_Joined_Workgroup}
  793. (*
  794. * This computer has been successfully joined to workgroup '%1'.
  795. *)
  796. //
  797. // Microsoft has created a generic error log entry for OEMs to use to
  798. // log errors from OEM value added services. The code, which is the
  799. // 2nd arg to NetErrorLogWrite, is 3299. This value is manifest in
  800. // NET/H/ERRLOG.H as NELOG_OEM_Code. The text for error log entry
  801. // NELOG_OEM_Code is: "%1 %2 %3 %4 %5 %6 %7 %8 %9.".
  802. //
  803. // Microsoft suggests that OEMs use the insertion strings as follows:
  804. // %1: OEM System Name (e.g. 3+Open)
  805. // %2: OEM Service Name (e.g. 3+Mail)
  806. // %3: Severity level (e.g. error, warning, etc.)
  807. // %4: OEM error log entry sub-identifier (e.g. error code #)
  808. // %5 - % 9: Text.
  809. //
  810. // The call to NetErrorWrite must set nstrings = 9, and provide 9
  811. // ASCIIZ strings. If the caller does not have 9 insertion strings,
  812. // provide null strings for the empty insertion strings.
  813. //
  814. NELOG_OEM_Code = ERRLOG_BASE + 199;
  815. {$EXTERNALSYM NELOG_OEM_Code}
  816. {
  817. * %1 %2 %3 %4 %5 %6 %7 %8 %9.
  818. }
  819. //
  820. // another error log range defined for NT Lanman.
  821. //
  822. ERRLOG2_BASE = 5700 { New NT NELOG errors start here };
  823. {$EXTERNALSYM ERRLOG2_BASE}
  824. NELOG_NetlogonSSIInitError = ERRLOG2_BASE + 0;
  825. {$EXTERNALSYM NELOG_NetlogonSSIInitError}
  826. {
  827. * The Netlogon service could not initialize the replication data
  828. * structures successfully. The service was terminated. The following
  829. * error occurred: %n%1
  830. }
  831. NELOG_NetlogonFailedToUpdateTrustList = ERRLOG2_BASE + 1;
  832. {$EXTERNALSYM NELOG_NetlogonFailedToUpdateTrustList}
  833. {
  834. * The Netlogon service failed to update the domain trust list. The
  835. * following error occurred: %n%1
  836. }
  837. NELOG_NetlogonFailedToAddRpcInterface = ERRLOG2_BASE + 2;
  838. {$EXTERNALSYM NELOG_NetlogonFailedToAddRpcInterface}
  839. {
  840. * The Netlogon service could not add the RPC interface. The
  841. * service was terminated. The following error occurred: %n%1
  842. }
  843. NELOG_NetlogonFailedToReadMailslot = ERRLOG2_BASE + 3;
  844. {$EXTERNALSYM NELOG_NetlogonFailedToReadMailslot}
  845. {
  846. * The Netlogon service could not read a mailslot message from %1 due
  847. * to the following error: %n%2
  848. }
  849. NELOG_NetlogonFailedToRegisterSC = ERRLOG2_BASE + 4;
  850. {$EXTERNALSYM NELOG_NetlogonFailedToRegisterSC}
  851. (*
  852. * The Netlogon service failed to register the service with the
  853. * service controller. The service was terminated. The following
  854. * error occurred: %n%1
  855. *)
  856. NELOG_NetlogonChangeLogCorrupt = ERRLOG2_BASE + 5;
  857. {$EXTERNALSYM NELOG_NetlogonChangeLogCorrupt}
  858. {
  859. * The change log cache maintained by the Netlogon service for %1
  860. * database changes is inconsistent. The Netlogon service is resetting
  861. * the change log.
  862. }
  863. NELOG_NetlogonFailedToCreateShare = ERRLOG2_BASE + 6;
  864. {$EXTERNALSYM NELOG_NetlogonFailedToCreateShare}
  865. {
  866. * The Netlogon service could not create server share %1. The following
  867. * error occurred: %n%2
  868. }
  869. NELOG_NetlogonDownLevelLogonFailed = ERRLOG2_BASE + 7;
  870. {$EXTERNALSYM NELOG_NetlogonDownLevelLogonFailed}
  871. {
  872. * The down-level logon request for the user %1 from %2 failed.
  873. }
  874. NELOG_NetlogonDownLevelLogoffFailed = ERRLOG2_BASE + 8;
  875. {$EXTERNALSYM NELOG_NetlogonDownLevelLogoffFailed}
  876. {
  877. * The down-level logoff request for the user %1 from %2 failed.
  878. }
  879. NELOG_NetlogonNTLogonFailed = ERRLOG2_BASE + 9;
  880. {$EXTERNALSYM NELOG_NetlogonNTLogonFailed}
  881. {
  882. * The Windows NT or Windows 2000 %1 logon request for the user %2\%3 from %4 (via %5)
  883. * failed.
  884. }
  885. NELOG_NetlogonNTLogoffFailed = ERRLOG2_BASE + 10;
  886. {$EXTERNALSYM NELOG_NetlogonNTLogoffFailed}
  887. {
  888. * The Windows NT or Windows 2000 %1 logoff request for the user %2\%3 from %4
  889. * failed.
  890. }
  891. NELOG_NetlogonPartialSyncCallSuccess = ERRLOG2_BASE + 11;
  892. {$EXTERNALSYM NELOG_NetlogonPartialSyncCallSuccess}
  893. {
  894. * The partial synchronization request from the server %1 completed
  895. * successfully. %2 changes(s) has(have) been returned to the
  896. * caller.
  897. }
  898. NELOG_NetlogonPartialSyncCallFailed = ERRLOG2_BASE + 12;
  899. {$EXTERNALSYM NELOG_NetlogonPartialSyncCallFailed}
  900. {
  901. * The partial synchronization request from the server %1 failed with
  902. * the following error: %n%2
  903. }
  904. NELOG_NetlogonFullSyncCallSuccess = ERRLOG2_BASE + 13;
  905. {$EXTERNALSYM NELOG_NetlogonFullSyncCallSuccess}
  906. {
  907. * The full synchronization request from the server %1 completed
  908. * successfully. %2 object(s) has(have) been returned to
  909. * the caller.
  910. }
  911. NELOG_NetlogonFullSyncCallFailed = ERRLOG2_BASE + 14;
  912. {$EXTERNALSYM NELOG_NetlogonFullSyncCallFailed}
  913. {
  914. * The full synchronization request from the server %1 failed with
  915. * the following error: %n%2
  916. }
  917. NELOG_NetlogonPartialSyncSuccess = ERRLOG2_BASE + 15;
  918. {$EXTERNALSYM NELOG_NetlogonPartialSyncSuccess}
  919. {
  920. * The partial synchronization replication of the %1 database from the
  921. * primary domain controller %2 completed successfully. %3 change(s) is(are)
  922. * applied to the database.
  923. }
  924. NELOG_NetlogonPartialSyncFailed = ERRLOG2_BASE + 16;
  925. {$EXTERNALSYM NELOG_NetlogonPartialSyncFailed}
  926. {
  927. * The partial synchronization replication of the %1 database from the
  928. * primary domain controller %2 failed with the following error: %n%3
  929. }
  930. NELOG_NetlogonFullSyncSuccess = ERRLOG2_BASE + 17;
  931. {$EXTERNALSYM NELOG_NetlogonFullSyncSuccess}
  932. {
  933. * The full synchronization replication of the %1 database from the
  934. * primary domain controller %2 completed successfully.
  935. }
  936. NELOG_NetlogonFullSyncFailed = ERRLOG2_BASE + 18;
  937. {$EXTERNALSYM NELOG_NetlogonFullSyncFailed}
  938. {
  939. * The full synchronization replication of the %1 database from the
  940. * primary domain controller %2 failed with the following error: %n%3
  941. }
  942. NELOG_NetlogonAuthNoDomainController = ERRLOG2_BASE + 19;
  943. {$EXTERNALSYM NELOG_NetlogonAuthNoDomainController}
  944. {
  945. * This computer was not able to set up a secure session with a domain
  946. * controller in domain %1 due to the following: %n%2
  947. * %nThis may lead to authentication problems. Make sure that this
  948. * computer is connected to the network. If the problem persists,
  949. * please contact your domain administrator.
  950. *
  951. * %n%nADDITIONAL INFO
  952. * %nIf this computer is a domain controller for the specified domain, it
  953. * sets up the secure session to the primary domain controller emulator in the specified
  954. * domain. Otherwise, this computer sets up the secure session to any domain controller
  955. * in the specified domain.
  956. }
  957. NELOG_NetlogonAuthNoTrustLsaSecret = ERRLOG2_BASE + 20;
  958. {$EXTERNALSYM NELOG_NetlogonAuthNoTrustLsaSecret}
  959. {
  960. * The session setup to the Windows NT or Windows 2000 Domain Controller %1 for the domain %2
  961. * failed because the computer %3 does not have a local security database account.
  962. }
  963. NELOG_NetlogonAuthNoTrustSamAccount = ERRLOG2_BASE + 21;
  964. {$EXTERNALSYM NELOG_NetlogonAuthNoTrustSamAccount}
  965. {
  966. * The session setup to the Windows NT or Windows 2000 Domain Controller %1 for the domain %2
  967. * failed because the Domain Controller did not have an account %4
  968. * needed to set up the session by this computer %3.
  969. *
  970. * %n%nADDITIONAL DATA
  971. * %nIf this computer is a member of or a Domain Controller in the specified domain, the
  972. * aforementioned account is a computer account for this computer in the specified domain.
  973. * Otherwise, the account is an interdomain trust account with the specified domain.
  974. }
  975. NELOG_NetlogonServerAuthFailed = ERRLOG2_BASE + 22;
  976. {$EXTERNALSYM NELOG_NetlogonServerAuthFailed}
  977. {
  978. * The session setup from the computer %1 failed to authenticate.
  979. * The name(s) of the account(s) referenced in the security database is
  980. * %2. The following error occurred: %n%3
  981. }
  982. NELOG_NetlogonServerAuthNoTrustSamAccount = ERRLOG2_BASE + 23;
  983. {$EXTERNALSYM NELOG_NetlogonServerAuthNoTrustSamAccount}
  984. {
  985. * The session setup from computer '%1' failed because the security database
  986. * does not contain a trust account '%2' referenced by the specified computer.
  987. *
  988. * %n%nUSER ACTION
  989. *
  990. * %nIf this is the first occurrence of this event for the specified computer
  991. * and account, this may be a transient issue that doesn't require any action
  992. * at this time. Otherwise, the following steps may be taken to resolve this problem:
  993. *
  994. * %n%nIf '%2' is a legitimate machine account for the computer '%1', then '%1'
  995. * should be rejoined to the domain.
  996. *
  997. * %n%nIf '%2' is a legitimate interdomain trust account, then the trust should
  998. * be recreated.
  999. *
  1000. * %n%nOtherwise, assuming that '%2' is not a legitimate account, the following
  1001. * action should be taken on '%1':
  1002. *
  1003. * %n%nIf '%1' is a Domain Controller, then the trust associated with '%2' should be deleted.
  1004. *
  1005. * %n%nIf '%1' is not a Domain Controller, it should be disjoined from the domain.
  1006. }
  1007. //
  1008. // General log messages for NT services.
  1009. //
  1010. NELOG_FailedToRegisterSC = ERRLOG2_BASE + 24;
  1011. {$EXTERNALSYM NELOG_FailedToRegisterSC}
  1012. {
  1013. * Could not register control handler with service controller %1.
  1014. }
  1015. NELOG_FailedToSetServiceStatus = ERRLOG2_BASE + 25;
  1016. {$EXTERNALSYM NELOG_FailedToSetServiceStatus}
  1017. {
  1018. * Could not set service status with service controller %1.
  1019. }
  1020. NELOG_FailedToGetComputerName = ERRLOG2_BASE + 26;
  1021. {$EXTERNALSYM NELOG_FailedToGetComputerName}
  1022. {
  1023. * Could not find the computer name %1.
  1024. }
  1025. NELOG_DriverNotLoaded = ERRLOG2_BASE + 27;
  1026. {$EXTERNALSYM NELOG_DriverNotLoaded}
  1027. {
  1028. * Could not load %1 device driver.
  1029. }
  1030. NELOG_NoTranportLoaded = ERRLOG2_BASE + 28;
  1031. {$EXTERNALSYM NELOG_NoTranportLoaded}
  1032. {
  1033. * Could not load any transport.
  1034. }
  1035. //
  1036. // More Netlogon service events
  1037. //
  1038. NELOG_NetlogonFailedDomainDelta = ERRLOG2_BASE + 29;
  1039. {$EXTERNALSYM NELOG_NetlogonFailedDomainDelta}
  1040. {
  1041. * Replication of the %1 Domain Object "%2" from primary domain controller
  1042. * %3 failed with the following error: %n%4
  1043. }
  1044. NELOG_NetlogonFailedGlobalGroupDelta = ERRLOG2_BASE + 30;
  1045. {$EXTERNALSYM NELOG_NetlogonFailedGlobalGroupDelta}
  1046. {
  1047. * Replication of the %1 Global Group "%2" from primary domain controller
  1048. * %3 failed with the following error: %n%4
  1049. }
  1050. NELOG_NetlogonFailedLocalGroupDelta = ERRLOG2_BASE + 31;
  1051. {$EXTERNALSYM NELOG_NetlogonFailedLocalGroupDelta}
  1052. {
  1053. * Replication of the %1 Local Group "%2" from primary domain controller
  1054. * %3 failed with the following error: %n%4
  1055. }
  1056. NELOG_NetlogonFailedUserDelta = ERRLOG2_BASE + 32;
  1057. {$EXTERNALSYM NELOG_NetlogonFailedUserDelta}
  1058. {
  1059. * Replication of the %1 User "%2" from primary domain controller
  1060. * %3 failed with the following error: %n%4
  1061. }
  1062. NELOG_NetlogonFailedPolicyDelta = ERRLOG2_BASE + 33;
  1063. {$EXTERNALSYM NELOG_NetlogonFailedPolicyDelta}
  1064. {
  1065. * Replication of the %1 Policy Object "%2" from primary domain controller
  1066. * %3 failed with the following error: %n%4
  1067. }
  1068. NELOG_NetlogonFailedTrustedDomainDelta = ERRLOG2_BASE + 34;
  1069. {$EXTERNALSYM NELOG_NetlogonFailedTrustedDomainDelta}
  1070. {
  1071. * Replication of the %1 Trusted Domain Object "%2" from primary domain controller
  1072. * %3 failed with the following error: %n%4
  1073. }
  1074. NELOG_NetlogonFailedAccountDelta = ERRLOG2_BASE + 35;
  1075. {$EXTERNALSYM NELOG_NetlogonFailedAccountDelta}
  1076. {
  1077. * Replication of the %1 Account Object "%2" from primary domain controller
  1078. * %3 failed with the following error: %n%4
  1079. }
  1080. NELOG_NetlogonFailedSecretDelta = ERRLOG2_BASE + 36;
  1081. {$EXTERNALSYM NELOG_NetlogonFailedSecretDelta}
  1082. {
  1083. * Replication of the %1 Secret "%2" from primary domain controller
  1084. * %3 failed with the following error: %n%4
  1085. }
  1086. NELOG_NetlogonSystemError = ERRLOG2_BASE + 37;
  1087. {$EXTERNALSYM NELOG_NetlogonSystemError}
  1088. {
  1089. * The system returned the following unexpected error code: %n%1
  1090. }
  1091. NELOG_NetlogonDuplicateMachineAccounts = ERRLOG2_BASE + 38;
  1092. {$EXTERNALSYM NELOG_NetlogonDuplicateMachineAccounts}
  1093. {
  1094. * Netlogon has detected two machine accounts for server "%1".
  1095. * The server can be either a Windows 2000 Server that is a member of the
  1096. * domain or the server can be a LAN Manager server with an account in the
  1097. * SERVERS global group. It cannot be both.
  1098. }
  1099. NELOG_NetlogonTooManyGlobalGroups = ERRLOG2_BASE + 39;
  1100. {$EXTERNALSYM NELOG_NetlogonTooManyGlobalGroups}
  1101. {
  1102. * This domain has more global groups than can be replicated to a LanMan
  1103. * BDC. Either delete some of your global groups or remove the LanMan
  1104. * BDCs from the domain.
  1105. }
  1106. NELOG_NetlogonBrowserDriver = ERRLOG2_BASE + 40;
  1107. {$EXTERNALSYM NELOG_NetlogonBrowserDriver}
  1108. {
  1109. * The Browser driver returned the following error to Netlogon: %n%1
  1110. }
  1111. NELOG_NetlogonAddNameFailure = ERRLOG2_BASE + 41;
  1112. {$EXTERNALSYM NELOG_NetlogonAddNameFailure}
  1113. {
  1114. * Netlogon could not register the %1<1B> name for the following reason: %n%2
  1115. }
  1116. //
  1117. // More Remoteboot service events.
  1118. //
  1119. NELOG_RplMessages = ERRLOG2_BASE + 42;
  1120. {$EXTERNALSYM NELOG_RplMessages}
  1121. {
  1122. * Service failed to retrieve messages needed to boot remote boot clients.
  1123. }
  1124. NELOG_RplXnsBoot = ERRLOG2_BASE + 43;
  1125. {$EXTERNALSYM NELOG_RplXnsBoot}
  1126. {
  1127. * Service experienced a severe error and can no longer provide remote boot
  1128. * for 3Com 3Start remote boot clients.
  1129. }
  1130. NELOG_RplSystem = ERRLOG2_BASE + 44;
  1131. {$EXTERNALSYM NELOG_RplSystem}
  1132. {
  1133. * Service experienced a severe system error and will shut itself down.
  1134. }
  1135. NELOG_RplWkstaTimeout = ERRLOG2_BASE + 45;
  1136. {$EXTERNALSYM NELOG_RplWkstaTimeout}
  1137. {
  1138. * Client with computer name %1 failed to acknowledge receipt of the
  1139. * boot data. Remote boot of this client was not completed.
  1140. }
  1141. NELOG_RplWkstaFileOpen = ERRLOG2_BASE + 46;
  1142. {$EXTERNALSYM NELOG_RplWkstaFileOpen}
  1143. {
  1144. * Client with computer name %1 was not booted due to an error in opening
  1145. * file %2.
  1146. }
  1147. NELOG_RplWkstaFileRead = ERRLOG2_BASE + 47;
  1148. {$EXTERNALSYM NELOG_RplWkstaFileRead}
  1149. {
  1150. * Client with computer name %1 was not booted due to an error in reading
  1151. * file %2.
  1152. }
  1153. NELOG_RplWkstaMemory = ERRLOG2_BASE + 48;
  1154. {$EXTERNALSYM NELOG_RplWkstaMemory}
  1155. {
  1156. * Client with computer name %1 was not booted due to insufficient memory
  1157. * at the remote boot server.
  1158. }
  1159. NELOG_RplWkstaFileChecksum = ERRLOG2_BASE + 49;
  1160. {$EXTERNALSYM NELOG_RplWkstaFileChecksum}
  1161. {
  1162. * Client with computer name %1 will be booted without using checksums
  1163. * because checksum for file %2 could not be calculated.
  1164. }
  1165. NELOG_RplWkstaFileLineCount = ERRLOG2_BASE + 50;
  1166. {$EXTERNALSYM NELOG_RplWkstaFileLineCount}
  1167. {
  1168. * Client with computer name %1 was not booted due to too many lines in
  1169. * file %2.
  1170. }
  1171. NELOG_RplWkstaBbcFile = ERRLOG2_BASE + 51;
  1172. {$EXTERNALSYM NELOG_RplWkstaBbcFile}
  1173. {
  1174. * Client with computer name %1 was not booted because the boot block
  1175. * configuration file %2 for this client does not contain boot block
  1176. * line and/or loader line.
  1177. }
  1178. NELOG_RplWkstaFileSize = ERRLOG2_BASE + 52;
  1179. {$EXTERNALSYM NELOG_RplWkstaFileSize}
  1180. {
  1181. * Client with computer name %1 was not booted due to a bad size of
  1182. * file %2.
  1183. }
  1184. NELOG_RplWkstaInternal = ERRLOG2_BASE + 53;
  1185. {$EXTERNALSYM NELOG_RplWkstaInternal}
  1186. {
  1187. * Client with computer name %1 was not booted due to remote boot
  1188. * service internal error.
  1189. }
  1190. NELOG_RplWkstaWrongVersion = ERRLOG2_BASE + 54;
  1191. {$EXTERNALSYM NELOG_RplWkstaWrongVersion}
  1192. {
  1193. * Client with computer name %1 was not booted because file %2 has an
  1194. * invalid boot header.
  1195. }
  1196. NELOG_RplWkstaNetwork = ERRLOG2_BASE + 55;
  1197. {$EXTERNALSYM NELOG_RplWkstaNetwork}
  1198. {
  1199. * Client with computer name %1 was not booted due to network error.
  1200. }
  1201. NELOG_RplAdapterResource = ERRLOG2_BASE + 56;
  1202. {$EXTERNALSYM NELOG_RplAdapterResource}
  1203. {
  1204. * Client with adapter id %1 was not booted due to lack of resources.
  1205. }
  1206. NELOG_RplFileCopy = ERRLOG2_BASE + 57;
  1207. {$EXTERNALSYM NELOG_RplFileCopy}
  1208. {
  1209. * Service experienced error copying file or directory %1.
  1210. }
  1211. NELOG_RplFileDelete = ERRLOG2_BASE + 58;
  1212. {$EXTERNALSYM NELOG_RplFileDelete}
  1213. {
  1214. * Service experienced error deleting file or directory %1.
  1215. }
  1216. NELOG_RplFilePerms = ERRLOG2_BASE + 59;
  1217. {$EXTERNALSYM NELOG_RplFilePerms}
  1218. {
  1219. * Service experienced error setting permissions on file or directory %1.
  1220. }
  1221. NELOG_RplCheckConfigs = ERRLOG2_BASE + 60;
  1222. {$EXTERNALSYM NELOG_RplCheckConfigs}
  1223. {
  1224. * Service experienced error evaluating RPL configurations.
  1225. }
  1226. NELOG_RplCreateProfiles = ERRLOG2_BASE + 61;
  1227. {$EXTERNALSYM NELOG_RplCreateProfiles}
  1228. {
  1229. * Service experienced error creating RPL profiles for all configurations.
  1230. }
  1231. NELOG_RplRegistry = ERRLOG2_BASE + 62;
  1232. {$EXTERNALSYM NELOG_RplRegistry}
  1233. {
  1234. * Service experienced error accessing registry.
  1235. }
  1236. NELOG_RplReplaceRPLDISK = ERRLOG2_BASE + 63;
  1237. {$EXTERNALSYM NELOG_RplReplaceRPLDISK}
  1238. {
  1239. * Service experienced error replacing possibly outdated RPLDISK.SYS.
  1240. }
  1241. NELOG_RplCheckSecurity = ERRLOG2_BASE + 64;
  1242. {$EXTERNALSYM NELOG_RplCheckSecurity}
  1243. {
  1244. * Service experienced error adding security accounts or setting
  1245. * file permissions. These accounts are the RPLUSER local group
  1246. * and the user accounts for the individual RPL workstations.
  1247. }
  1248. NELOG_RplBackupDatabase = ERRLOG2_BASE + 65;
  1249. {$EXTERNALSYM NELOG_RplBackupDatabase}
  1250. {
  1251. * Service failed to back up its database.
  1252. }
  1253. NELOG_RplInitDatabase = ERRLOG2_BASE + 66;
  1254. {$EXTERNALSYM NELOG_RplInitDatabase}
  1255. {
  1256. * Service failed to initialize from its database. The database may be
  1257. * missing or corrupted. Service will attempt restoring the database
  1258. * from the backup.
  1259. }
  1260. NELOG_RplRestoreDatabaseFailure = ERRLOG2_BASE + 67;
  1261. {$EXTERNALSYM NELOG_RplRestoreDatabaseFailure}
  1262. {
  1263. * Service failed to restore its database from the backup. Service
  1264. * will not start.
  1265. }
  1266. NELOG_RplRestoreDatabaseSuccess = ERRLOG2_BASE + 68;
  1267. {$EXTERNALSYM NELOG_RplRestoreDatabaseSuccess}
  1268. {
  1269. * Service successfully restored its database from the backup.
  1270. }
  1271. NELOG_RplInitRestoredDatabase = ERRLOG2_BASE + 69;
  1272. {$EXTERNALSYM NELOG_RplInitRestoredDatabase}
  1273. {
  1274. * Service failed to initialize from its restored database. Service
  1275. * will not start.
  1276. }
  1277. //
  1278. // More Netlogon and RPL service events
  1279. //
  1280. NELOG_NetlogonSessionTypeWrong = ERRLOG2_BASE + 70;
  1281. {$EXTERNALSYM NELOG_NetlogonSessionTypeWrong}
  1282. {
  1283. * The session setup to the Windows NT or Windows 2000 Domain Controller %1 from computer
  1284. * %2 using account %4 failed. %2 is declared to be a BDC in domain %3.
  1285. * However, %2 tried to connect as either a DC in a trusted domain,
  1286. * a member workstation in domain %3, or as a server in domain %3.
  1287. * Use the Active Directory Users and Computers tool or Server Manager to remove the BDC account for %2.
  1288. }
  1289. NELOG_RplUpgradeDBTo40 = ERRLOG2_BASE + 71;
  1290. {$EXTERNALSYM NELOG_RplUpgradeDBTo40}
  1291. {
  1292. * The Remoteboot database was in NT 3.5 / NT 3.51 format and NT is
  1293. * attempting to convert it to NT 4.0 format. The JETCONV converter
  1294. * will write to the Application event log when it is finished.
  1295. }
  1296. NELOG_NetlogonLanmanBdcsNotAllowed = ERRLOG2_BASE + 72;
  1297. {$EXTERNALSYM NELOG_NetlogonLanmanBdcsNotAllowed}
  1298. {
  1299. * Global group SERVERS exists in domain %1 and has members.
  1300. * This group defines Lan Manager BDCs in the domain.
  1301. * Lan Manager BDCs are not permitted in NT domains.
  1302. }
  1303. NELOG_NetlogonNoDynamicDns = ERRLOG2_BASE + 73;
  1304. {$EXTERNALSYM NELOG_NetlogonNoDynamicDns}
  1305. {
  1306. * The following DNS server that is authoritative for the DNS domain controller
  1307. * locator records of this domain controller does not support dynamic DNS updates:
  1308. *
  1309. * %n%nDNS server IP address: %1
  1310. * %nReturned Response Code (RCODE): %2
  1311. * %nReturned Status Code: %3
  1312. *
  1313. * %n%nUSER ACTION
  1314. *
  1315. * %nConfigure the DNS server to allow dynamic DNS updates or manually add the DNS
  1316. * records from the file '%SystemRoot%\System32\Config\Netlogon.dns' to the DNS database.
  1317. }
  1318. NELOG_NetlogonDynamicDnsRegisterFailure = ERRLOG2_BASE + 74;
  1319. {$EXTERNALSYM NELOG_NetlogonDynamicDnsRegisterFailure}
  1320. {
  1321. *
  1322. * The dynamic registration of the DNS record '%1' failed on the following DNS server:
  1323. *
  1324. * %n%nDNS server IP address: %3
  1325. * %nReturned Response Code (RCODE): %4
  1326. * %nReturned Status Code: %5
  1327. *
  1328. * %n%nFor computers and users to locate this domain controller, this record must be
  1329. * registered in DNS.
  1330. *
  1331. * %n%nUSER ACTION
  1332. *
  1333. * %nDetermine what might have caused this failure, resolve the problem, and initiate
  1334. * registration of the DNS records by the domain controller. To determine what might
  1335. * have caused this failure, run DCDiag.exe. You can find this program on the Windows
  1336. * Server 2003 installation CD in Support\Tools\support.cab. To learn more about
  1337. * DCDiag.exe, see Help and Support Center. To initiate registration of the DNS records by
  1338. * this domain controller, run 'nltest.exe /dsregdns' from the command prompt on the domain
  1339. * controller or restart Net Logon service. Nltest.exe is available in the Microsoft Windows
  1340. * Server Resource Kit CD. %n Or, you can manually add this record to DNS, but it is not
  1341. * recommended.
  1342. *
  1343. * %n%nADDITIONAL DATA
  1344. * %nError Value: %2
  1345. *
  1346. }
  1347. NELOG_NetlogonDynamicDnsDeregisterFailure = ERRLOG2_BASE + 75;
  1348. {$EXTERNALSYM NELOG_NetlogonDynamicDnsDeregisterFailure}
  1349. {
  1350. * The dynamic deletion of the DNS record '%1' failed on the following DNS server:
  1351. *
  1352. * %n%nDNS server IP address: %3
  1353. * %nReturned Response Code (RCODE): %4
  1354. * %nReturned Status Code: %5
  1355. *
  1356. * %n%nUSER ACTION
  1357. *
  1358. * %nTo prevent remote computers from connecting unnecessarily to the domain controller,
  1359. * delete the record manually or troubleshoot the failure to dynamically delete the
  1360. * record. To learn more about debugging DNS, see Help and Support Center.
  1361. *
  1362. * %n%nADDITIONAL DATA
  1363. * %nError Value: %2
  1364. }
  1365. NELOG_NetlogonFailedFileCreate = ERRLOG2_BASE + 76;
  1366. {$EXTERNALSYM NELOG_NetlogonFailedFileCreate}
  1367. {
  1368. * Failed to create/open file %1 with the following error: %n%2
  1369. }
  1370. NELOG_NetlogonGetSubnetToSite = ERRLOG2_BASE + 77;
  1371. {$EXTERNALSYM NELOG_NetlogonGetSubnetToSite}
  1372. {
  1373. * Netlogon got the following error while trying to get the subnet to site
  1374. * mapping information from the DS: %n%1
  1375. }
  1376. NELOG_NetlogonNoSiteForClient = ERRLOG2_BASE + 78;
  1377. {$EXTERNALSYM NELOG_NetlogonNoSiteForClient}
  1378. {
  1379. * '%1' tried to determine its site by looking up its IP address ('%2')
  1380. * in the Configuration\Sites\Subnets container in the DS. No subnet matched
  1381. * the IP address. Consider adding a subnet object for this IP address.
  1382. }
  1383. NELOG_NetlogonBadSiteName = ERRLOG2_BASE + 79;
  1384. {$EXTERNALSYM NELOG_NetlogonBadSiteName}
  1385. {
  1386. * The site name for this computer is '%1'. That site name is not a valid
  1387. * site name. A site name must be a valid DNS label.
  1388. * Rename the site to be a valid name.
  1389. }
  1390. NELOG_NetlogonBadSubnetName = ERRLOG2_BASE + 80;
  1391. {$EXTERNALSYM NELOG_NetlogonBadSubnetName}
  1392. {
  1393. * The subnet object '%1' appears in the Configuration\Sites\Subnets
  1394. * container in the DS. The name is not syntactically valid. The valid
  1395. * syntax is xx.xx.xx.xx/yy where xx.xx.xx.xx is a valid IP subnet number
  1396. * and yy is the number of bits in the subnet mask.
  1397. *
  1398. * Correct the name of the subnet object.
  1399. }
  1400. NELOG_NetlogonDynamicDnsServerFailure = ERRLOG2_BASE + 81;
  1401. {$EXTERNALSYM NELOG_NetlogonDynamicDnsServerFailure}
  1402. {
  1403. * Dynamic registration or deletion of one or more DNS records associated with DNS
  1404. * domain '%1' failed. These records are used by other computers to locate this
  1405. * server as a domain controller (if the specified domain is an Active Directory
  1406. * domain) or as an LDAP server (if the specified domain is an application partition).
  1407. *
  1408. * %n%nPossible causes of failure include:
  1409. *
  1410. * %n- TCP/IP properties of the network connections of this computer contain wrong IP address(es) of the preferred and alternate DNS servers
  1411. * %n- Specified preferred and alternate DNS servers are not running
  1412. * %n- DNS server(s) primary for the records to be registered is not running
  1413. * %n- Preferred or alternate DNS servers are configured with wrong root hints
  1414. * %n- Parent DNS zone contains incorrect delegation to the child zone authoritative for the DNS records that failed registration
  1415. *
  1416. * %n%nUSER ACTION
  1417. *
  1418. * %nFix possible misconfiguration(s) specified above and initiate registration or deletion of
  1419. * the DNS records by running 'nltest.exe /dsregdns' from the command prompt or by restarting
  1420. * Net Logon service. Nltest.exe is available in the Microsoft Windows Server Resource Kit CD.
  1421. }
  1422. NELOG_NetlogonDynamicDnsFailure = ERRLOG2_BASE + 82;
  1423. {$EXTERNALSYM NELOG_NetlogonDynamicDnsFailure}
  1424. {
  1425. * Dynamic registration or deregistration of one or more DNS records failed with the following error: %n%1
  1426. }
  1427. NELOG_NetlogonRpcCallCancelled = ERRLOG2_BASE + 83;
  1428. {$EXTERNALSYM NELOG_NetlogonRpcCallCancelled}
  1429. {
  1430. * The session setup to the Windows NT or Windows 2000 Domain Controller %1 for the domain %2
  1431. * is not responsive. The current RPC call from Netlogon on \\%3 to %1 has been cancelled.
  1432. }
  1433. NELOG_NetlogonDcSiteCovered = ERRLOG2_BASE + 84;
  1434. {$EXTERNALSYM NELOG_NetlogonDcSiteCovered}
  1435. {
  1436. * Site '%2' does not have any Domain Controllers for domain '%3'.
  1437. * Domain Controllers in site '%1' have been automatically
  1438. * selected to cover site '%2' for domain '%3' based on configured
  1439. * Directory Server replication costs.
  1440. }
  1441. NELOG_NetlogonDcSiteNotCovered = ERRLOG2_BASE + 85;
  1442. {$EXTERNALSYM NELOG_NetlogonDcSiteNotCovered}
  1443. {
  1444. * This Domain Controller no longer automatically covers site '%1' for domain '%2'.
  1445. }
  1446. NELOG_NetlogonGcSiteCovered = ERRLOG2_BASE + 86;
  1447. {$EXTERNALSYM NELOG_NetlogonGcSiteCovered}
  1448. {
  1449. * Site '%2' does not have any Global Catalog servers for forest '%3'.
  1450. * Global Catalog servers in site '%1' have been automatically
  1451. * selected to cover site '%2' for forest '%3' based on configured
  1452. * Directory Server replication costs.
  1453. }
  1454. NELOG_NetlogonGcSiteNotCovered = ERRLOG2_BASE + 87;
  1455. {$EXTERNALSYM NELOG_NetlogonGcSiteNotCovered}
  1456. {
  1457. * This Global Catalog server no longer automatically covers site '%1' for forest '%2'.
  1458. }
  1459. NELOG_NetlogonFailedSpnUpdate = ERRLOG2_BASE + 88;
  1460. {$EXTERNALSYM NELOG_NetlogonFailedSpnUpdate}
  1461. {
  1462. * Attempt to update HOST Service Principal Names (SPNs) of the computer
  1463. * object in Active Directory failed. The updated values were '%1' and '%2'.
  1464. * The following error occurred: %n%3
  1465. }
  1466. NELOG_NetlogonFailedDnsHostNameUpdate = ERRLOG2_BASE + 89;
  1467. {$EXTERNALSYM NELOG_NetlogonFailedDnsHostNameUpdate}
  1468. {
  1469. * Attempt to update DNS Host Name of the computer object
  1470. * in Active Directory failed. The updated value was '%1'.
  1471. * The following error occurred: %n%2
  1472. }
  1473. NELOG_NetlogonAuthNoUplevelDomainController = ERRLOG2_BASE + 90;
  1474. {$EXTERNALSYM NELOG_NetlogonAuthNoUplevelDomainController}
  1475. {
  1476. * No suitable Domain Controller is available for domain %1.
  1477. * An NT4 or older domain controller is available but it cannot
  1478. * be used for authentication purposes in the Windows 2000 or newer
  1479. * domain that this computer is a member of.
  1480. * The following error occurred:%n%2
  1481. }
  1482. NELOG_NetlogonAuthDomainDowngraded = ERRLOG2_BASE + 91;
  1483. {$EXTERNALSYM NELOG_NetlogonAuthDomainDowngraded}
  1484. {
  1485. * The domain of this computer, %1 has been downgraded from Windows 2000
  1486. * or newer to Windows NT4 or older. The computer cannot function properly
  1487. * in this case for authentication purposes. This computer needs to rejoin
  1488. * the domain.
  1489. * The following error occurred:%n%2
  1490. }
  1491. NELOG_NetlogonNdncSiteCovered = ERRLOG2_BASE + 92;
  1492. {$EXTERNALSYM NELOG_NetlogonNdncSiteCovered}
  1493. {
  1494. * Site '%2' does not have any LDAP servers for non-domain NC '%3'.
  1495. * LDAP servers in site '%1' have been automatically selected to
  1496. * cover site '%2' for non-domain NC '%3' based on configured
  1497. * Directory Server replication costs.
  1498. }
  1499. NELOG_NetlogonNdncSiteNotCovered = ERRLOG2_BASE + 93;
  1500. {$EXTERNALSYM NELOG_NetlogonNdncSiteNotCovered}
  1501. {
  1502. * This LDAP server no longer automatically covers site '%1' for non-domain NC '%2'.
  1503. }
  1504. NELOG_NetlogonDcOldSiteCovered = ERRLOG2_BASE + 94;
  1505. {$EXTERNALSYM NELOG_NetlogonDcOldSiteCovered}
  1506. {
  1507. * Site '%2' is no longer manually configured in the registry as
  1508. * covered by this Domain Controller for domain '%3'. As a result,
  1509. * site '%2' does not have any Domain Controllers for domain '%3'.
  1510. * Domain Controllers in site '%1' have been automatically
  1511. * selected to cover site '%2' for domain '%3' based on configured
  1512. * Directory Server replication costs.
  1513. }
  1514. NELOG_NetlogonDcSiteNotCoveredAuto = ERRLOG2_BASE + 95;
  1515. {$EXTERNALSYM NELOG_NetlogonDcSiteNotCoveredAuto}
  1516. {
  1517. * This Domain Controller no longer automatically covers site '%1' for domain '%2'.
  1518. * However, site '%1' is still (manually) covered by this Domain Controller for
  1519. * domain '%2' since this site has been manually configured in the registry.
  1520. }
  1521. NELOG_NetlogonGcOldSiteCovered = ERRLOG2_BASE + 96;
  1522. {$EXTERNALSYM NELOG_NetlogonGcOldSiteCovered}
  1523. {
  1524. * Site '%2' is no longer manually configured in the registry as
  1525. * covered by this Global Catalog server for forest '%3'. As a result,
  1526. * site '%2' does not have any Global Catalog servers for forest '%3'.
  1527. * Global Catalog servers in site '%1' have been automatically
  1528. * selected to cover site '%2' for forest '%3' based on configured
  1529. * Directory Server replication costs.
  1530. }
  1531. NELOG_NetlogonGcSiteNotCoveredAuto = ERRLOG2_BASE + 97;
  1532. {$EXTERNALSYM NELOG_NetlogonGcSiteNotCoveredAuto}
  1533. {
  1534. * This Global Catalog server no longer automatically covers site '%1' for forest '%2'.
  1535. * However, site '%1' is still (manually) covered by this Global catalog for
  1536. * forest '%2' since this site has been manually configured in the registry.
  1537. }
  1538. NELOG_NetlogonNdncOldSiteCovered = ERRLOG2_BASE + 98;
  1539. {$EXTERNALSYM NELOG_NetlogonNdncOldSiteCovered}
  1540. {
  1541. * Site '%2' is no longer manually configured in the registry as
  1542. * covered by this LDAP server for non-domain NC '%3'. As a result,
  1543. * site '%2' does not have any LDAP servers for non-domain NC '%3'.
  1544. * LDAP servers in site '%1' have been automatically
  1545. * selected to cover site '%2' for non-domain NC '%3' based on
  1546. * configured Directory Server replication costs.
  1547. }
  1548. NELOG_NetlogonNdncSiteNotCoveredAuto = ERRLOG2_BASE + 99;
  1549. {$EXTERNALSYM NELOG_NetlogonNdncSiteNotCoveredAuto}
  1550. {
  1551. * This LDAP server no longer automatically covers site '%1' for non-domain NC '%2'.
  1552. * However, site '%1' is still (manually) covered by this LDAP server for
  1553. * non-domain NC '%2' since this site has been manually configured in the registry.
  1554. }
  1555. NELOG_NetlogonSpnMultipleSamAccountNames = ERRLOG2_BASE + 100;
  1556. {$EXTERNALSYM NELOG_NetlogonSpnMultipleSamAccountNames}
  1557. {
  1558. * Attempt to update DnsHostName and HOST Service Principal Name (SPN) attributes
  1559. * of the computer object in Active Directory failed because the Domain Controller
  1560. * '%1' had more than one account with the name '%2' corresponding to this computer.
  1561. * Not having SPNs registered may result in authentication failures for this computer.
  1562. * Contact your domain administrator who may need to manually resolve the account name
  1563. * collision.
  1564. }
  1565. NELOG_NetlogonSpnCrackNamesFailure = ERRLOG2_BASE + 101;
  1566. {$EXTERNALSYM NELOG_NetlogonSpnCrackNamesFailure}
  1567. {
  1568. * Attempt to update DnsHostName and HOST Service Principal Name (SPN) attributes
  1569. * of the computer object in Active Directory failed because this computer account
  1570. * name, '%2' could not be mapped to the computer object on Domain Controller '%1'.
  1571. * Not having SPNs registered may result in authentication failures for this computer.
  1572. * Contact your domain administrator. The following technical information may be
  1573. * useful for the resolution of this failure:%n
  1574. * DsCrackNames status = 0x%3, crack error = 0x%4.
  1575. }
  1576. NELOG_NetlogonNoAddressToSiteMapping = ERRLOG2_BASE + 102;
  1577. {$EXTERNALSYM NELOG_NetlogonNoAddressToSiteMapping}
  1578. {
  1579. * None of the IP addresses (%2) of this Domain Controller map to the configured site '%1'.
  1580. * While this may be a temporary situation due to IP address changes, it is generally
  1581. * recommended that the IP address of the Domain Controller (accessible to machines in
  1582. * its domain) maps to the Site which it services. If the above list of IP addresses is
  1583. * stable, consider moving this server to a site (or create one if it does not already
  1584. * exist) such that the above IP address maps to the selected site. This may require the
  1585. * creation of a new subnet object (whose range includes the above IP address) which maps
  1586. * to the selected site object.
  1587. }
  1588. NELOG_NetlogonInvalidGenericParameterValue = ERRLOG2_BASE + 103;
  1589. {$EXTERNALSYM NELOG_NetlogonInvalidGenericParameterValue}
  1590. {
  1591. * The following error occurred while reading a parameter '%2' in the
  1592. * Netlogon %1 registry section:%n%3
  1593. }
  1594. NELOG_NetlogonInvalidDwordParameterValue = ERRLOG2_BASE + 104;
  1595. {$EXTERNALSYM NELOG_NetlogonInvalidDwordParameterValue}
  1596. {
  1597. * The Netlogon %1 registry key contains an invalid value 0x%2 for parameter '%3'.
  1598. * The minimum and maximum values allowed for this parameter are 0x%4 and 0x%5, respectively.
  1599. * The value of 0x%6 has been assigned to this parameter.
  1600. }
  1601. NELOG_NetlogonServerAuthFailedNoAccount = ERRLOG2_BASE + 105;
  1602. {$EXTERNALSYM NELOG_NetlogonServerAuthFailedNoAccount}
  1603. {
  1604. * The session setup from the computer %1 failed to authenticate.
  1605. * The following error occurred: %n%2
  1606. }
  1607. NELOG_NetlogonNoDynamicDnsManual = ERRLOG2_BASE + 106;
  1608. {$EXTERNALSYM NELOG_NetlogonNoDynamicDnsManual}
  1609. (*
  1610. * Dynamic DNS updates have been manually disabled on this domain controller.
  1611. *
  1612. * %n%nUSER ACTION
  1613. *
  1614. * %nReconfigure this domain controller to use dynamic DNS updates or manually add the DNS
  1615. * records from the file '%SystemRoot%\System32\Config\Netlogon.dns' to the DNS database.
  1616. *)
  1617. NELOG_NetlogonNoSiteForClients = ERRLOG2_BASE + 107;
  1618. {$EXTERNALSYM NELOG_NetlogonNoSiteForClients}
  1619. {
  1620. * During the past %1 hours there have been %2 connections to this Domain
  1621. * Controller from client machines whose IP addresses don't map to any of
  1622. * the existing sites in the enterprise. Those clients, therefore, have
  1623. * undefined sites and may connect to any Domain Controller including
  1624. * those that are in far distant locations from the clients. A client's site
  1625. * is determined by the mapping of its subnet to one of the existing sites.
  1626. * To move the above clients to one of the sites, please consider creating
  1627. * subnet object(s) covering the above IP addresses with mapping to one of the
  1628. * existing sites. The names and IP addresses of the clients in question have
  1629. * been logged on this computer in the following log file
  1630. * '%SystemRoot%\debug\netlogon.log' and, potentially, in the log file
  1631. * '%SystemRoot%\debug\netlogon.bak' created if the former log becomes full.
  1632. * The log(s) may contain additional unrelated debugging information. To filter
  1633. * out the needed information, please search for lines which contain text
  1634. * 'NO_CLIENT_SITE:'. The first word after this string is the client name and
  1635. * the second word is the client IP address. The maximum size of the log(s) is
  1636. * controlled by the following registry DWORD value
  1637. * 'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters\LogFileMaxSize';
  1638. * the default is %3 bytes. The current maximum size is %4 bytes. To set a
  1639. * different maximum size, create the above registry value and set the desired
  1640. * maximum size in bytes.
  1641. }
  1642. NELOG_NetlogonDnsDeregAborted = ERRLOG2_BASE + 108;
  1643. {$EXTERNALSYM NELOG_NetlogonDnsDeregAborted}
  1644. (*
  1645. * The deregistration of some DNS domain controller locator records was aborted
  1646. * at the time of this domain controller demotion because the DNS deregistrations
  1647. * took too long.
  1648. *
  1649. * %n%nUSER ACTION
  1650. *
  1651. * %nManually delete the DNS records listed in the file
  1652. * '%SystemRoot%\System32\Config\Netlogon.dns' from the DNS database.
  1653. *)
  1654. NELOG_NetlogonRpcPortRequestFailure = ERRLOG2_BASE + 109;
  1655. {$EXTERNALSYM NELOG_NetlogonRpcPortRequestFailure}
  1656. (*
  1657. * The NetLogon service on this domain controller has been configured to use port %1
  1658. * for incoming RPC connections over TCP/IP from remote machines. However, the
  1659. * following error occurred when Netlogon attempted to register this port with the RPC
  1660. * endpoint mapper service: %n%2 %nThis will prevent the NetLogon service on remote
  1661. * machines from connecting to this domain controller over TCP/IP that may result in
  1662. * authentication problems.
  1663. *
  1664. * %n%nUSER ACTION
  1665. *
  1666. * %nThe specified port is configured via the Group Policy or via a registry value 'DcTcpipPort'
  1667. * under the 'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters'
  1668. * registry key; the value configured through the Group Policy takes precedence. If the
  1669. * port specified is in error, reset it to a correct value. You can also remove this
  1670. * configuration for the port in which case the port will be assigned dynamically by
  1671. * the endpoint mapper at the time the NetLogon service on remote machines makes RPC connections
  1672. * to this domain controller. After the misconfiguration is corrected, restart the NetLogon
  1673. * service on this machine and verify that this event log no longer appears.
  1674. *)
  1675. implementation
  1676. {$IFDEF DYNAMIC_LINK}
  1677. var
  1678. _NetErrorLogClear: Pointer;
  1679. function NetErrorLogClear;
  1680. begin
  1681. GetProcedureAddress(_NetErrorLogClear, netapi32, 'NetErrorLogClear');
  1682. asm
  1683. MOV ESP, EBP
  1684. POP EBP
  1685. JMP [_NetErrorLogClear]
  1686. end;
  1687. end;
  1688. var
  1689. _NetErrorLogRead: Pointer;
  1690. function NetErrorLogRead;
  1691. begin
  1692. GetProcedureAddress(_NetErrorLogRead, netapi32, 'NetErrorLogRead');
  1693. asm
  1694. MOV ESP, EBP
  1695. POP EBP
  1696. JMP [_NetErrorLogRead]
  1697. end;
  1698. end;
  1699. var
  1700. _NetErrorLogWrite: Pointer;
  1701. function NetErrorLogWrite;
  1702. begin
  1703. GetProcedureAddress(_NetErrorLogWrite, netapi32, 'NetErrorLogWrite');
  1704. asm
  1705. MOV ESP, EBP
  1706. POP EBP
  1707. JMP [_NetErrorLogWrite]
  1708. end;
  1709. end;
  1710. {$ELSE}
  1711. function NetErrorLogClear; external netapi32 name 'NetErrorLogClear';
  1712. function NetErrorLogRead; external netapi32 name 'NetErrorLogRead';
  1713. function NetErrorLogWrite; external netapi32 name 'NetErrorLogWrite';
  1714. {$ENDIF DYNAMIC_LINK}
  1715. end.