jwalmerrlog.pas 67 KB

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