1
{******************************************************************************}
3
{ Lan Manager Error Log API interface Unit for Object Pascal }
5
{ Portions created by Microsoft are Copyright (C) 1995-2001 Microsoft }
6
{ Corporation. All Rights Reserved. }
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). }
12
{ Portions created by Marcel van Brakel are Copyright (C) 1999-2001 }
13
{ Marcel van Brakel. All Rights Reserved. }
15
{ Obtained through: Joint Endeavour of Delphi Innovators (Project JEDI) }
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 }
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 }
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. }
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. }
39
{ For more information about the LGPL: http://www.gnu.org/copyleft/lesser.html }
41
{******************************************************************************}
43
// $Id: jwalmerrlog.pas,v 1.1 2005/04/04 07:56:10 marco Exp $
50
{$HPPEMIT '#include "lmerrlog.h"'}
58
JwaLmCons, JwaWinType;
61
// Data Structures - Config
70
el_name: LPWSTR; // pointer to service name
71
el_text: LPWSTR; // pointer to string array
72
el_data: LPBYTE; // pointer to BYTE array
73
el_data_size: DWORD; // byte count of el_data area
74
el_nstrings: DWORD; // number of strings in el_text.
76
{$EXTERNALSYM _ERROR_LOG}
77
ERROR_LOG = _ERROR_LOG;
78
{$EXTERNALSYM ERROR_LOG}
79
PERROR_LOG = ^ERROR_LOG;
80
{$EXTERNALSYM PERROR_LOG}
81
LPERROR_LOG = ^ERROR_LOG;
82
{$EXTERNALSYM LPERROR_LOG}
83
TErrorLog = ERROR_LOG;
84
PErrorLog = PERROR_LOG;
86
{$DEFINE REVISED_ERROR_LOG_STRUCT}
100
{$EXTERNALSYM LPHLOG}
103
LOGFLAGS_FORWARD = 0;
104
{$EXTERNALSYM LOGFLAGS_FORWARD}
105
LOGFLAGS_BACKWARD = $1;
106
{$EXTERNALSYM LOGFLAGS_BACKWARD}
108
{$EXTERNALSYM LOGFLAGS_SEEK}
111
// Function Prototypes - ErrorLog
114
function NetErrorLogClear(server, backupfile: LPCWSTR; reserved: LPBYTE): NET_API_STATUS; stdcall;
115
{$EXTERNALSYM NetErrorLogClear}
117
function NetErrorLogRead(server: LPCWSTR; reserved1: LPWSTR; errloghandle: LPHLOG; offset: DWORD; reserved2: LPDWORD;
118
reserved3, offsetflag: DWORD; var bufptr: LPBYTE; prefmaxlen: DWORD; bytesread, totalbytes: LPDWORD): NET_API_STATUS; stdcall;
119
{$EXTERNALSYM NetErrorLogRead}
121
function NetErrorLogWrite(reserved1: LPBYTE; code: DWORD; component: LPCWSTR; buffer: LPBYTE; numbytes: DWORD;
122
msgbuf: LPBYTE; strcount: DWORD; reserved2: LPBYTE): NET_API_STATUS; stdcall;
123
{$EXTERNALSYM NetErrorLogWrite}
126
// Special Values and Constants
130
// Generic (could be used by more than one service)
131
// error log messages from 0 to 25
133
// Do not change the comments following the manifest constants without
134
// understanding how mapmsg works.
138
ERRLOG_BASE = 3100; { NELOG errors start here }
139
{$EXTERNALSYM ERRLOG_BASE}
141
NELOG_Internal_Error = ERRLOG_BASE + 0;
142
{$EXTERNALSYM NELOG_Internal_Error}
145
* The operation failed because a network software error occurred.
148
NELOG_Resource_Shortage = ERRLOG_BASE + 1;
149
{$EXTERNALSYM NELOG_Resource_Shortage}
152
* The system ran out of a resource controlled by the %1 option.
155
NELOG_Unable_To_Lock_Segment = ERRLOG_BASE + 2;
156
{$EXTERNALSYM NELOG_Unable_To_Lock_Segment}
159
* The service failed to obtain a long-term lock on the
160
* segment for network control blocks (NCBs). The error code is the data.
163
NELOG_Unable_To_Unlock_Segment = ERRLOG_BASE + 3;
164
{$EXTERNALSYM NELOG_Unable_To_Unlock_Segment}
167
* The service failed to release the long-term lock on the
168
* segment for network control blocks (NCBs). The error code is the data.
171
NELOG_Uninstall_Service = ERRLOG_BASE + 4;
172
{$EXTERNALSYM NELOG_Uninstall_Service}
175
* There was an error stopping service %1.
176
* The error code from NetServiceControl is the data.
179
NELOG_Init_Exec_Fail = ERRLOG_BASE + 5;
180
{$EXTERNALSYM NELOG_Init_Exec_Fail}
183
* Initialization failed because of a system execution failure on
184
* path %1. The system error code is the data.
187
NELOG_Ncb_Error = ERRLOG_BASE + 6;
188
{$EXTERNALSYM NELOG_Ncb_Error}
191
* An unexpected network control block (NCB) was received. The NCB is the data.
194
NELOG_Net_Not_Started = ERRLOG_BASE + 7;
195
{$EXTERNALSYM NELOG_Net_Not_Started}
198
* The network is not started.
201
NELOG_Ioctl_Error = ERRLOG_BASE + 8;
202
{$EXTERNALSYM NELOG_Ioctl_Error}
205
* A DosDevIoctl or DosFsCtl to NETWKSTA.SYS failed.
206
* The data shown is in this format:
207
* DWORD approx CS:IP of call to ioctl or fsctl
209
* WORD ioctl or fsctl number
212
NELOG_System_Semaphore = ERRLOG_BASE + 9;
213
{$EXTERNALSYM NELOG_System_Semaphore}
216
* Unable to create or open system semaphore %1.
217
* The error code is the data.
220
NELOG_Init_OpenCreate_Err = ERRLOG_BASE + 10;
221
{$EXTERNALSYM NELOG_Init_OpenCreate_Err}
224
* Initialization failed because of an open/create error on the
225
* file %1. The system error code is the data.
228
NELOG_NetBios = ERRLOG_BASE + 11;
229
{$EXTERNALSYM NELOG_NetBios}
232
* An unexpected NetBIOS error occurred.
233
* The error code is the data.
236
NELOG_SMB_Illegal = ERRLOG_BASE + 12;
237
{$EXTERNALSYM NELOG_SMB_Illegal}
240
* An illegal server message block (SMB) was received.
241
* The SMB is the data.
244
NELOG_Service_Fail = ERRLOG_BASE + 13;
245
{$EXTERNALSYM NELOG_Service_Fail}
248
* Initialization failed because the requested service %1
249
* could not be started.
252
NELOG_Entries_Lost = ERRLOG_BASE + 14;
253
{$EXTERNALSYM NELOG_Entries_Lost}
256
* Some entries in the error log were lost because of a buffer
261
// Server specific error log messages from 20 to 40
264
NELOG_Init_Seg_Overflow = ERRLOG_BASE + 20;
265
{$EXTERNALSYM NELOG_Init_Seg_Overflow}
268
* Initialization parameters controlling resource usage other
269
* than net buffers are sized so that too much memory is needed.
272
NELOG_Srv_No_Mem_Grow = ERRLOG_BASE + 21;
273
{$EXTERNALSYM NELOG_Srv_No_Mem_Grow}
276
* The server cannot increase the size of a memory segment.
279
NELOG_Access_File_Bad = ERRLOG_BASE + 22;
280
{$EXTERNALSYM NELOG_Access_File_Bad}
283
* Initialization failed because account file %1 is either incorrect
287
NELOG_Srvnet_Not_Started = ERRLOG_BASE + 23;
288
{$EXTERNALSYM NELOG_Srvnet_Not_Started}
291
* Initialization failed because network %1 was not started.
294
NELOG_Init_Chardev_Err = ERRLOG_BASE + 24;
295
{$EXTERNALSYM NELOG_Init_Chardev_Err}
298
* The server failed to start. Either all three chdev
299
* parameters must be zero or all three must be nonzero.
302
NELOG_Remote_API = ERRLOG_BASE + 25;
303
{$EXTERNALSYM NELOG_Remote_API}
305
{ A remote API request was halted due to the following
306
* invalid description string: %1.
309
NELOG_Ncb_TooManyErr = ERRLOG_BASE + 26;
310
{$EXTERNALSYM NELOG_Ncb_TooManyErr}
312
{ The network %1 ran out of network control blocks (NCBs). You may need to increase NCBs
313
* for this network. The following information includes the
314
* number of NCBs submitted by the server when this error occurred:
317
NELOG_Mailslot_err = ERRLOG_BASE + 27;
318
{$EXTERNALSYM NELOG_Mailslot_err}
320
{ The server cannot create the %1 mailslot needed to send
321
* the ReleaseMemory alert message. The error received is:
324
NELOG_ReleaseMem_Alert = ERRLOG_BASE + 28;
325
{$EXTERNALSYM NELOG_ReleaseMem_Alert}
327
{ The server failed to register for the ReleaseMemory alert,
328
* with recipient %1. The error code from
329
* NetAlertStart is the data.
332
NELOG_AT_cannot_write = ERRLOG_BASE + 29;
333
{$EXTERNALSYM NELOG_AT_cannot_write}
335
{ The server cannot update the AT schedule file. The file
339
NELOG_Cant_Make_Msg_File = ERRLOG_BASE + 30;
340
{$EXTERNALSYM NELOG_Cant_Make_Msg_File}
342
{ The server encountered an error when calling
343
* NetIMakeLMFileName. The error code is the data.
346
NELOG_Exec_Netservr_NoMem = ERRLOG_BASE + 31;
347
{$EXTERNALSYM NELOG_Exec_Netservr_NoMem}
349
{ Initialization failed because of a system execution failure on
350
* path %1. There is not enough memory to start the process.
351
* The system error code is the data.
354
NELOG_Server_Lock_Failure = ERRLOG_BASE + 32;
355
{$EXTERNALSYM NELOG_Server_Lock_Failure}
357
{ Longterm lock of the server buffers failed.
358
* Check swap disk's free space and restart the system to start the server.
362
// Message service and POPUP specific error log messages from 40 to 55
365
NELOG_Msg_Shutdown = ERRLOG_BASE + 40;
366
{$EXTERNALSYM NELOG_Msg_Shutdown}
369
* The service has stopped due to repeated consecutive
370
* occurrences of a network control block (NCB) error. The last bad NCB follows
374
NELOG_Msg_Sem_Shutdown = ERRLOG_BASE + 41;
375
{$EXTERNALSYM NELOG_Msg_Sem_Shutdown}
378
* The Message server has stopped due to a lock on the
379
* Message server shared data segment.
382
NELOG_Msg_Log_Err = ERRLOG_BASE + 50;
383
{$EXTERNALSYM NELOG_Msg_Log_Err}
386
* A file system error occurred while opening or writing to the
387
* system message log file %1. Message logging has been
388
* switched off due to the error. The error code is the data.
391
NELOG_VIO_POPUP_ERR = ERRLOG_BASE + 51;
392
{$EXTERNALSYM NELOG_VIO_POPUP_ERR}
395
* Unable to display message POPUP due to system VIO call error.
396
* The error code is the data.
399
NELOG_Msg_Unexpected_SMB_Type = ERRLOG_BASE + 52;
400
{$EXTERNALSYM NELOG_Msg_Unexpected_SMB_Type}
403
* An illegal server message block (SMB) was received. The SMB is the data.
407
// Workstation specific error log messages from 60 to 75
410
NELOG_Wksta_Infoseg = ERRLOG_BASE + 60;
411
{$EXTERNALSYM NELOG_Wksta_Infoseg}
414
* The workstation information segment is bigger than 64K.
415
* The size follows, in DWORD format:
418
NELOG_Wksta_Compname = ERRLOG_BASE + 61;
419
{$EXTERNALSYM NELOG_Wksta_Compname}
422
* The workstation was unable to get the name-number of the computer.
425
NELOG_Wksta_BiosThreadFailure = ERRLOG_BASE + 62;
426
{$EXTERNALSYM NELOG_Wksta_BiosThreadFailure}
429
* The workstation could not initialize the Async NetBIOS Thread.
430
* The error code is the data.
433
NELOG_Wksta_IniSeg = ERRLOG_BASE + 63;
434
{$EXTERNALSYM NELOG_Wksta_IniSeg}
437
* The workstation could not open the initial shared segment.
438
* The error code is the data.
441
NELOG_Wksta_HostTab_Full = ERRLOG_BASE + 64;
442
{$EXTERNALSYM NELOG_Wksta_HostTab_Full}
445
* The workstation host table is full.
448
NELOG_Wksta_Bad_Mailslot_SMB = ERRLOG_BASE + 65;
449
{$EXTERNALSYM NELOG_Wksta_Bad_Mailslot_SMB}
452
* A bad mailslot server message block (SMB) was received. The SMB is the data.
455
NELOG_Wksta_UASInit = ERRLOG_BASE + 66;
456
{$EXTERNALSYM NELOG_Wksta_UASInit}
459
* The workstation encountered an error while trying to start the user accounts database.
460
* The error code is the data.
463
NELOG_Wksta_SSIRelogon = ERRLOG_BASE + 67;
464
{$EXTERNALSYM NELOG_Wksta_SSIRelogon}
467
* The workstation encountered an error while responding to an SSI revalidation request.
468
* The function code and the error codes are the data.
472
// Alerter service specific error log messages from 70 to 79
475
NELOG_Build_Name = ERRLOG_BASE + 70;
476
{$EXTERNALSYM NELOG_Build_Name}
479
* The Alerter service had a problem creating the list of
480
* alert recipients. The error code is %1.
483
NELOG_Name_Expansion = ERRLOG_BASE + 71;
484
{$EXTERNALSYM NELOG_Name_Expansion}
487
* There was an error expanding %1 as a group name. Try
488
* splitting the group into two or more smaller groups.
491
NELOG_Message_Send = ERRLOG_BASE + 72;
492
{$EXTERNALSYM NELOG_Message_Send}
495
* There was an error sending %2 the alert message -
498
* The error code is %1.
501
NELOG_Mail_Slt_Err = ERRLOG_BASE + 73;
502
{$EXTERNALSYM NELOG_Mail_Slt_Err}
505
* There was an error in creating or reading the alerter mailslot.
506
* The error code is %1.
509
NELOG_AT_cannot_read = ERRLOG_BASE + 74;
510
{$EXTERNALSYM NELOG_AT_cannot_read}
513
* The server could not read the AT schedule file.
516
NELOG_AT_sched_err = ERRLOG_BASE + 75;
517
{$EXTERNALSYM NELOG_AT_sched_err}
520
* The server found an invalid AT schedule record.
523
NELOG_AT_schedule_file_created = ERRLOG_BASE + 76;
524
{$EXTERNALSYM NELOG_AT_schedule_file_created}
527
* The server could not find an AT schedule file so it created one.
530
NELOG_Srvnet_NB_Open = ERRLOG_BASE + 77;
531
{$EXTERNALSYM NELOG_Srvnet_NB_Open}
534
* The server could not access the %1 network with NetBiosOpen.
537
NELOG_AT_Exec_Err = ERRLOG_BASE + 78;
538
{$EXTERNALSYM NELOG_AT_Exec_Err}
541
* The AT command processor could not run %1.
545
// Cache Lazy Write and HPFS386 specific error log messages from 80 to 89
548
NELOG_Lazy_Write_Err = ERRLOG_BASE + 80;
549
{$EXTERNALSYM NELOG_Lazy_Write_Err}
552
* WARNING: Because of a lazy-write error, drive %1 now
553
* contains some corrupted data. The cache is stopped.
556
NELOG_HotFix = ERRLOG_BASE + 81;
557
{$EXTERNALSYM NELOG_HotFix}
560
* A defective sector on drive %1 has been replaced (hotfixed).
561
* No data was lost. You should run CHKDSK soon to restore full
562
* performance and replenish the volume's spare sector pool.
564
* The hotfix occurred while processing a remote request.
567
NELOG_HardErr_From_Server = ERRLOG_BASE + 82;
568
{$EXTERNALSYM NELOG_HardErr_From_Server}
571
* A disk error occurred on the HPFS volume in drive %1.
572
* The error occurred while processing a remote request.
575
NELOG_LocalSecFail1 = ERRLOG_BASE + 83;
576
{$EXTERNALSYM NELOG_LocalSecFail1}
579
* The user accounts database (NET.ACC) is corrupted. The local security
580
* system is replacing the corrupted NET.ACC with the backup
582
* Any updates made to the database after this time are lost.
586
NELOG_LocalSecFail2 = ERRLOG_BASE + 84;
587
{$EXTERNALSYM NELOG_LocalSecFail2}
590
* The user accounts database (NET.ACC) is missing. The local
591
* security system is restoring the backup database
593
* Any updates made to the database made after this time are lost.
597
NELOG_LocalSecFail3 = ERRLOG_BASE + 85;
598
{$EXTERNALSYM NELOG_LocalSecFail3}
601
* Local security could not be started because the user accounts database
602
* (NET.ACC) was missing or corrupted, and no usable backup
603
* database was present.
605
* THE SYSTEM IS NOT SECURE.
608
NELOG_LocalSecGeneralFail = ERRLOG_BASE + 86;
609
{$EXTERNALSYM NELOG_LocalSecGeneralFail}
612
* Local security could not be started because an error
613
* occurred during initialization. The error code returned is %1.
615
* THE SYSTEM IS NOT SECURE.
620
// NETWKSTA.SYS specific error log messages from 90 to 99
623
NELOG_NetWkSta_Internal_Error = ERRLOG_BASE + 90;
624
{$EXTERNALSYM NELOG_NetWkSta_Internal_Error}
627
* A NetWksta internal error has occurred:
631
NELOG_NetWkSta_No_Resource = ERRLOG_BASE + 91;
632
{$EXTERNALSYM NELOG_NetWkSta_No_Resource}
635
* The redirector is out of a resource: %1.
638
NELOG_NetWkSta_SMB_Err = ERRLOG_BASE + 92;
639
{$EXTERNALSYM NELOG_NetWkSta_SMB_Err}
642
* A server message block (SMB) error occurred on the connection to %1.
643
* The SMB header is the data.
646
NELOG_NetWkSta_VC_Err = ERRLOG_BASE + 93;
647
{$EXTERNALSYM NELOG_NetWkSta_VC_Err}
650
* A virtual circuit error occurred on the session to %1.
651
* The network control block (NCB) command and return code is the data.
654
NELOG_NetWkSta_Stuck_VC_Err = ERRLOG_BASE + 94;
655
{$EXTERNALSYM NELOG_NetWkSta_Stuck_VC_Err}
658
* Hanging up a stuck session to %1.
661
NELOG_NetWkSta_NCB_Err = ERRLOG_BASE + 95;
662
{$EXTERNALSYM NELOG_NetWkSta_NCB_Err}
665
* A network control block (NCB) error occurred (%1).
666
* The NCB is the data.
669
NELOG_NetWkSta_Write_Behind_Err = ERRLOG_BASE + 96;
670
{$EXTERNALSYM NELOG_NetWkSta_Write_Behind_Err}
673
* A write operation to %1 failed.
674
* Data may have been lost.
677
NELOG_NetWkSta_Reset_Err = ERRLOG_BASE + 97;
678
{$EXTERNALSYM NELOG_NetWkSta_Reset_Err}
681
* Reset of driver %1 failed to complete the network control block (NCB).
682
* The NCB is the data.
685
NELOG_NetWkSta_Too_Many = ERRLOG_BASE + 98;
686
{$EXTERNALSYM NELOG_NetWkSta_Too_Many}
689
* The amount of resource %1 requested was more
690
* than the maximum. The maximum amount was allocated.
694
// Spooler specific error log messages from 100 to 103
697
NELOG_Srv_Thread_Failure = ERRLOG_BASE + 104;
698
{$EXTERNALSYM NELOG_Srv_Thread_Failure}
701
* The server could not create a thread.
702
* The THREADS parameter in the CONFIG.SYS file should be increased.
705
NELOG_Srv_Close_Failure = ERRLOG_BASE + 105;
706
{$EXTERNALSYM NELOG_Srv_Close_Failure}
709
* The server could not close %1.
710
* The file is probably corrupted.
713
NELOG_ReplUserCurDir = ERRLOG_BASE + 106;
714
{$EXTERNALSYM NELOG_ReplUserCurDir}
717
*The replicator cannot update directory %1. It has tree integrity
718
* and is the current directory for some process.
721
NELOG_ReplCannotMasterDir = ERRLOG_BASE + 107;
722
{$EXTERNALSYM NELOG_ReplCannotMasterDir}
725
*The server cannot export directory %1 to client %2.
726
* It is exported from another server.
729
NELOG_ReplUpdateError = ERRLOG_BASE + 108;
730
{$EXTERNALSYM NELOG_ReplUpdateError}
733
*The replication server could not update directory %2 from the source
734
* on %3 due to error %1.
737
NELOG_ReplLostMaster = ERRLOG_BASE + 109;
738
{$EXTERNALSYM NELOG_ReplLostMaster}
741
*Master %1 did not send an update notice for directory %2 at the expected
745
NELOG_NetlogonAuthDCFail = ERRLOG_BASE + 110;
746
{$EXTERNALSYM NELOG_NetlogonAuthDCFail}
749
*This computer could not authenticate with %2, a Windows domain controller
750
* for domain %1, and therefore this computer might deny logon requests.
751
* This inability to authenticate might be caused by another computer on the
752
* same network using the same name or the password for this computer account
753
* is not recognized. If this message appears again, contact your system
757
NELOG_ReplLogonFailed = ERRLOG_BASE + 111;
758
{$EXTERNALSYM NELOG_ReplLogonFailed}
761
*The replicator attempted to log on at %2 as %1 and failed.
764
NELOG_ReplNetErr = ERRLOG_BASE + 112;
765
{$EXTERNALSYM NELOG_ReplNetErr}
768
* Network error %1 occurred.
771
NELOG_ReplMaxFiles = ERRLOG_BASE + 113;
772
{$EXTERNALSYM NELOG_ReplMaxFiles}
775
* Replicator limit for files in a directory has been exceeded.
778
NELOG_ReplMaxTreeDepth = ERRLOG_BASE + 114;
779
{$EXTERNALSYM NELOG_ReplMaxTreeDepth}
782
* Replicator limit for tree depth has been exceeded.
785
NELOG_ReplBadMsg = ERRLOG_BASE + 115;
786
{$EXTERNALSYM NELOG_ReplBadMsg}
789
* Unrecognized message received in mailslot.
792
NELOG_ReplSysErr = ERRLOG_BASE + 116;
793
{$EXTERNALSYM NELOG_ReplSysErr}
796
* System error %1 occurred.
799
NELOG_ReplUserLoged = ERRLOG_BASE + 117;
800
{$EXTERNALSYM NELOG_ReplUserLoged}
803
* Cannot log on. User is currently logged on and argument TRYUSER
807
NELOG_ReplBadImport = ERRLOG_BASE + 118;
808
{$EXTERNALSYM NELOG_ReplBadImport}
811
* IMPORT path %1 cannot be found.
814
NELOG_ReplBadExport = ERRLOG_BASE + 119;
815
{$EXTERNALSYM NELOG_ReplBadExport}
818
* EXPORT path %1 cannot be found.
821
NELOG_ReplSignalFileErr = ERRLOG_BASE + 120;
822
{$EXTERNALSYM NELOG_ReplSignalFileErr}
825
* Replicator failed to update signal file in directory %2 due to
829
NELOG_DiskFT = (ERRLOG_BASE+121);
830
{$EXTERNALSYM NELOG_DiskFT}
833
* Disk Fault Tolerance Error
838
NELOG_ReplAccessDenied = ERRLOG_BASE + 122;
839
{$EXTERNALSYM NELOG_ReplAccessDenied}
842
* Replicator could not access %2
843
* on %3 due to system error %1.
846
NELOG_NetlogonFailedPrimary = ERRLOG_BASE + 123;
847
{$EXTERNALSYM NELOG_NetlogonFailedPrimary}
850
*The primary domain controller for domain %1 has apparently failed.
853
NELOG_NetlogonPasswdSetFailed = ERRLOG_BASE + 124;
854
{$EXTERNALSYM NELOG_NetlogonPasswdSetFailed}
857
* Changing machine account password for account %1 failed with
858
* the following error: %n%2
861
NELOG_NetlogonTrackingError = ERRLOG_BASE + 125;
862
{$EXTERNALSYM NELOG_NetlogonTrackingError}
865
*An error occurred while updating the logon or logoff information for %1.
868
NELOG_NetlogonSyncError = ERRLOG_BASE + 126;
869
{$EXTERNALSYM NELOG_NetlogonSyncError}
872
*An error occurred while synchronizing with primary domain controller %1
875
NELOG_NetlogonRequireSignOrSealError = ERRLOG_BASE + 127;
876
{$EXTERNALSYM NELOG_NetlogonRequireSignOrSealError}
879
* The session setup to the Windows NT or Windows 2000 Domain Controller %1 for the domain %2
880
* failed because %1 does not support signing or sealing the Netlogon
883
* Either upgrade the Domain controller or set the RequireSignOrSeal
884
* registry entry on this machine to 0.
888
// UPS service specific error log messages from 130 to 135
891
NELOG_UPS_PowerOut = ERRLOG_BASE + 130;
892
{$EXTERNALSYM NELOG_UPS_PowerOut}
895
* A power failure was detected at the server.
898
NELOG_UPS_Shutdown = ERRLOG_BASE + 131;
899
{$EXTERNALSYM NELOG_UPS_Shutdown}
902
* The UPS service performed server shut down.
905
NELOG_UPS_CmdFileError = ERRLOG_BASE + 132;
906
{$EXTERNALSYM NELOG_UPS_CmdFileError}
909
* The UPS service did not complete execution of the
910
* user specified shut down command file.
913
NELOG_UPS_CannotOpenDriver = (ERRLOG_BASE+133);
914
{$EXTERNALSYM NELOG_UPS_CannotOpenDriver}
917
* The UPS driver could not be opened. The error code is
921
NELOG_UPS_PowerBack = ERRLOG_BASE + 134;
922
{$EXTERNALSYM NELOG_UPS_PowerBack}
925
* Power has been restored.
928
NELOG_UPS_CmdFileConfig = ERRLOG_BASE + 135;
929
{$EXTERNALSYM NELOG_UPS_CmdFileConfig}
932
* There is a problem with a configuration of user specified
933
* shut down command file.
936
NELOG_UPS_CmdFileExec = ERRLOG_BASE + 136;
937
{$EXTERNALSYM NELOG_UPS_CmdFileExec}
940
* The UPS service failed to execute a user specified shutdown
941
* command file %1. The error code is the data.
945
// Remoteboot server specific error log messages are from 150 to 157
948
NELOG_Missing_Parameter = ERRLOG_BASE + 150;
949
{$EXTERNALSYM NELOG_Missing_Parameter}
952
* Initialization failed because of an invalid or missing
953
* parameter in the configuration file %1.
956
NELOG_Invalid_Config_Line = ERRLOG_BASE + 151;
957
{$EXTERNALSYM NELOG_Invalid_Config_Line}
960
* Initialization failed because of an invalid line in the
961
* configuration file %1. The invalid line is the data.
964
NELOG_Invalid_Config_File = ERRLOG_BASE + 152;
965
{$EXTERNALSYM NELOG_Invalid_Config_File}
968
* Initialization failed because of an error in the configuration
972
NELOG_File_Changed = ERRLOG_BASE + 153;
973
{$EXTERNALSYM NELOG_File_Changed}
976
* The file %1 has been changed after initialization.
977
* The boot-block loading was temporarily terminated.
980
NELOG_Files_Dont_Fit = ERRLOG_BASE + 154;
981
{$EXTERNALSYM NELOG_Files_Dont_Fit}
984
* The files do not fit to the boot-block configuration
985
* file %1. Change the BASE and ORG definitions or the order
989
NELOG_Wrong_DLL_Version = ERRLOG_BASE + 155;
990
{$EXTERNALSYM NELOG_Wrong_DLL_Version}
993
* Initialization failed because the dynamic-link
994
* library %1 returned an incorrect version number.
997
NELOG_Error_in_DLL = ERRLOG_BASE + 156;
998
{$EXTERNALSYM NELOG_Error_in_DLL}
1001
* There was an unrecoverable error in the dynamic-
1002
* link library of the service.
1005
NELOG_System_Error = ERRLOG_BASE + 157;
1006
{$EXTERNALSYM NELOG_System_Error}
1009
* The system returned an unexpected error code.
1010
* The error code is the data.
1013
NELOG_FT_ErrLog_Too_Large = ERRLOG_BASE + 158;
1014
{$EXTERNALSYM NELOG_FT_ErrLog_Too_Large}
1017
* The fault-tolerance error log file, LANROOT\LOGS\FT.LOG,
1021
NELOG_FT_Update_In_Progress = ERRLOG_BASE + 159;
1022
{$EXTERNALSYM NELOG_FT_Update_In_Progress}
1025
* The fault-tolerance error-log file, LANROOT\LOGS\FT.LOG, had the
1026
* update in progress bit set upon opening, which means that the
1027
* system crashed while working on the error log.
1030
NELOG_Joined_Domain = ERRLOG_BASE + 160;
1031
{$EXTERNALSYM NELOG_Joined_Domain}
1034
* This computer has been successfully joined to %1 '%2'.
1037
NELOG_Joined_Workgroup = ERRLOG_BASE + 161;
1038
{$EXTERNALSYM NELOG_Joined_Workgroup}
1041
* This computer has been successfully joined to workgroup '%1'.
1045
// Microsoft has created a generic error log entry for OEMs to use to
1046
// log errors from OEM value added services. The code, which is the
1047
// 2nd arg to NetErrorLogWrite, is 3299. This value is manifest in
1048
// NET/H/ERRLOG.H as NELOG_OEM_Code. The text for error log entry
1049
// NELOG_OEM_Code is: "%1 %2 %3 %4 %5 %6 %7 %8 %9.".
1051
// Microsoft suggests that OEMs use the insertion strings as follows:
1052
// %1: OEM System Name (e.g. 3+Open)
1053
// %2: OEM Service Name (e.g. 3+Mail)
1054
// %3: Severity level (e.g. error, warning, etc.)
1055
// %4: OEM error log entry sub-identifier (e.g. error code #)
1058
// The call to NetErrorWrite must set nstrings = 9, and provide 9
1059
// ASCIIZ strings. If the caller does not have 9 insertion strings,
1060
// provide null strings for the empty insertion strings.
1063
NELOG_OEM_Code = ERRLOG_BASE + 199;
1064
{$EXTERNALSYM NELOG_OEM_Code}
1067
* %1 %2 %3 %4 %5 %6 %7 %8 %9.
1071
// another error log range defined for NT Lanman.
1074
ERRLOG2_BASE = 5700 { New NT NELOG errors start here };
1075
{$EXTERNALSYM ERRLOG2_BASE}
1077
NELOG_NetlogonSSIInitError = ERRLOG2_BASE + 0;
1078
{$EXTERNALSYM NELOG_NetlogonSSIInitError}
1081
* The Netlogon service could not initialize the replication data
1082
* structures successfully. The service was terminated. The following
1083
* error occurred: %n%1
1086
NELOG_NetlogonFailedToUpdateTrustList = ERRLOG2_BASE + 1;
1087
{$EXTERNALSYM NELOG_NetlogonFailedToUpdateTrustList}
1090
* The Netlogon service failed to update the domain trust list. The
1091
* following error occurred: %n%1
1094
NELOG_NetlogonFailedToAddRpcInterface = ERRLOG2_BASE + 2;
1095
{$EXTERNALSYM NELOG_NetlogonFailedToAddRpcInterface}
1098
* The Netlogon service could not add the RPC interface. The
1099
* service was terminated. The following error occurred: %n%1
1102
NELOG_NetlogonFailedToReadMailslot = ERRLOG2_BASE + 3;
1103
{$EXTERNALSYM NELOG_NetlogonFailedToReadMailslot}
1106
* The Netlogon service could not read a mailslot message from %1 due
1107
* to the following error: %n%2
1110
NELOG_NetlogonFailedToRegisterSC = ERRLOG2_BASE + 4;
1111
{$EXTERNALSYM NELOG_NetlogonFailedToRegisterSC}
1114
* The Netlogon service failed to register the service with the
1115
* service controller. The service was terminated. The following
1116
* error occurred: %n%1
1119
NELOG_NetlogonChangeLogCorrupt = ERRLOG2_BASE + 5;
1120
{$EXTERNALSYM NELOG_NetlogonChangeLogCorrupt}
1123
* The change log cache maintained by the Netlogon service for %1
1124
* database changes is inconsistent. The Netlogon service is resetting
1128
NELOG_NetlogonFailedToCreateShare = ERRLOG2_BASE + 6;
1129
{$EXTERNALSYM NELOG_NetlogonFailedToCreateShare}
1132
* The Netlogon service could not create server share %1. The following
1133
* error occurred: %n%2
1136
NELOG_NetlogonDownLevelLogonFailed = ERRLOG2_BASE + 7;
1137
{$EXTERNALSYM NELOG_NetlogonDownLevelLogonFailed}
1140
* The down-level logon request for the user %1 from %2 failed.
1143
NELOG_NetlogonDownLevelLogoffFailed = ERRLOG2_BASE + 8;
1144
{$EXTERNALSYM NELOG_NetlogonDownLevelLogoffFailed}
1147
* The down-level logoff request for the user %1 from %2 failed.
1150
NELOG_NetlogonNTLogonFailed = ERRLOG2_BASE + 9;
1151
{$EXTERNALSYM NELOG_NetlogonNTLogonFailed}
1154
* The Windows NT or Windows 2000 %1 logon request for the user %2\%3 from %4 (via %5)
1158
NELOG_NetlogonNTLogoffFailed = ERRLOG2_BASE + 10;
1159
{$EXTERNALSYM NELOG_NetlogonNTLogoffFailed}
1162
* The Windows NT or Windows 2000 %1 logoff request for the user %2\%3 from %4
1166
NELOG_NetlogonPartialSyncCallSuccess = ERRLOG2_BASE + 11;
1167
{$EXTERNALSYM NELOG_NetlogonPartialSyncCallSuccess}
1170
* The partial synchronization request from the server %1 completed
1171
* successfully. %2 changes(s) has(have) been returned to the
1175
NELOG_NetlogonPartialSyncCallFailed = ERRLOG2_BASE + 12;
1176
{$EXTERNALSYM NELOG_NetlogonPartialSyncCallFailed}
1179
* The partial synchronization request from the server %1 failed with
1180
* the following error: %n%2
1183
NELOG_NetlogonFullSyncCallSuccess = ERRLOG2_BASE + 13;
1184
{$EXTERNALSYM NELOG_NetlogonFullSyncCallSuccess}
1187
* The full synchronization request from the server %1 completed
1188
* successfully. %2 object(s) has(have) been returned to
1192
NELOG_NetlogonFullSyncCallFailed = ERRLOG2_BASE + 14;
1193
{$EXTERNALSYM NELOG_NetlogonFullSyncCallFailed}
1196
* The full synchronization request from the server %1 failed with
1197
* the following error: %n%2
1200
NELOG_NetlogonPartialSyncSuccess = ERRLOG2_BASE + 15;
1201
{$EXTERNALSYM NELOG_NetlogonPartialSyncSuccess}
1204
* The partial synchronization replication of the %1 database from the
1205
* primary domain controller %2 completed successfully. %3 change(s) is(are)
1206
* applied to the database.
1209
NELOG_NetlogonPartialSyncFailed = ERRLOG2_BASE + 16;
1210
{$EXTERNALSYM NELOG_NetlogonPartialSyncFailed}
1213
* The partial synchronization replication of the %1 database from the
1214
* primary domain controller %2 failed with the following error: %n%3
1217
NELOG_NetlogonFullSyncSuccess = ERRLOG2_BASE + 17;
1218
{$EXTERNALSYM NELOG_NetlogonFullSyncSuccess}
1221
* The full synchronization replication of the %1 database from the
1222
* primary domain controller %2 completed successfully.
1225
NELOG_NetlogonFullSyncFailed = ERRLOG2_BASE + 18;
1226
{$EXTERNALSYM NELOG_NetlogonFullSyncFailed}
1229
* The full synchronization replication of the %1 database from the
1230
* primary domain controller %2 failed with the following error: %n%3
1233
NELOG_NetlogonAuthNoDomainController = ERRLOG2_BASE + 19;
1234
{$EXTERNALSYM NELOG_NetlogonAuthNoDomainController}
1237
* This computer was not able to set up a secure session with a domain
1238
* controller in domain %1 due to the following: %n%2
1239
* %nThis may lead to authentication problems. Make sure that this
1240
* computer is connected to the network. If the problem persists,
1241
* please contact your domain administrator.
1243
* %n%nADDITIONAL INFO
1244
* %nIf this computer is a domain controller for the specified domain, it
1245
* sets up the secure session to the primary domain controller emulator in the specified
1246
* domain. Otherwise, this computer sets up the secure session to any domain controller
1247
* in the specified domain.
1250
NELOG_NetlogonAuthNoTrustLsaSecret = ERRLOG2_BASE + 20;
1251
{$EXTERNALSYM NELOG_NetlogonAuthNoTrustLsaSecret}
1254
* The session setup to the Windows NT or Windows 2000 Domain Controller %1 for the domain %2
1255
* failed because the computer %3 does not have a local security database account.
1258
NELOG_NetlogonAuthNoTrustSamAccount = ERRLOG2_BASE + 21;
1259
{$EXTERNALSYM NELOG_NetlogonAuthNoTrustSamAccount}
1262
* The session setup to the Windows NT or Windows 2000 Domain Controller %1 for the domain %2
1263
* failed because the Domain Controller did not have an account %4
1264
* needed to set up the session by this computer %3.
1266
* %n%nADDITIONAL DATA
1267
* %nIf this computer is a member of or a Domain Controller in the specified domain, the
1268
* aforementioned account is a computer account for this computer in the specified domain.
1269
* Otherwise, the account is an interdomain trust account with the specified domain.
1272
NELOG_NetlogonServerAuthFailed = ERRLOG2_BASE + 22;
1273
{$EXTERNALSYM NELOG_NetlogonServerAuthFailed}
1276
* The session setup from the computer %1 failed to authenticate.
1277
* The name(s) of the account(s) referenced in the security database is
1278
* %2. The following error occurred: %n%3
1281
NELOG_NetlogonServerAuthNoTrustSamAccount = ERRLOG2_BASE + 23;
1282
{$EXTERNALSYM NELOG_NetlogonServerAuthNoTrustSamAccount}
1285
* The session setup from computer '%1' failed because the security database
1286
* does not contain a trust account '%2' referenced by the specified computer.
1290
* %nIf this is the first occurrence of this event for the specified computer
1291
* and account, this may be a transient issue that doesn't require any action
1292
* at this time. Otherwise, the following steps may be taken to resolve this problem:
1294
* %n%nIf '%2' is a legitimate machine account for the computer '%1', then '%1'
1295
* should be rejoined to the domain.
1297
* %n%nIf '%2' is a legitimate interdomain trust account, then the trust should
1300
* %n%nOtherwise, assuming that '%2' is not a legitimate account, the following
1301
* action should be taken on '%1':
1303
* %n%nIf '%1' is a Domain Controller, then the trust associated with '%2' should be deleted.
1305
* %n%nIf '%1' is not a Domain Controller, it should be disjoined from the domain.
1309
// General log messages for NT services.
1312
NELOG_FailedToRegisterSC = ERRLOG2_BASE + 24;
1313
{$EXTERNALSYM NELOG_FailedToRegisterSC}
1316
* Could not register control handler with service controller %1.
1319
NELOG_FailedToSetServiceStatus = ERRLOG2_BASE + 25;
1320
{$EXTERNALSYM NELOG_FailedToSetServiceStatus}
1323
* Could not set service status with service controller %1.
1326
NELOG_FailedToGetComputerName = ERRLOG2_BASE + 26;
1327
{$EXTERNALSYM NELOG_FailedToGetComputerName}
1330
* Could not find the computer name %1.
1333
NELOG_DriverNotLoaded = ERRLOG2_BASE + 27;
1334
{$EXTERNALSYM NELOG_DriverNotLoaded}
1337
* Could not load %1 device driver.
1340
NELOG_NoTranportLoaded = ERRLOG2_BASE + 28;
1341
{$EXTERNALSYM NELOG_NoTranportLoaded}
1344
* Could not load any transport.
1348
// More Netlogon service events
1351
NELOG_NetlogonFailedDomainDelta = ERRLOG2_BASE + 29;
1352
{$EXTERNALSYM NELOG_NetlogonFailedDomainDelta}
1355
* Replication of the %1 Domain Object "%2" from primary domain controller
1356
* %3 failed with the following error: %n%4
1359
NELOG_NetlogonFailedGlobalGroupDelta = ERRLOG2_BASE + 30;
1360
{$EXTERNALSYM NELOG_NetlogonFailedGlobalGroupDelta}
1363
* Replication of the %1 Global Group "%2" from primary domain controller
1364
* %3 failed with the following error: %n%4
1367
NELOG_NetlogonFailedLocalGroupDelta = ERRLOG2_BASE + 31;
1368
{$EXTERNALSYM NELOG_NetlogonFailedLocalGroupDelta}
1371
* Replication of the %1 Local Group "%2" from primary domain controller
1372
* %3 failed with the following error: %n%4
1375
NELOG_NetlogonFailedUserDelta = ERRLOG2_BASE + 32;
1376
{$EXTERNALSYM NELOG_NetlogonFailedUserDelta}
1379
* Replication of the %1 User "%2" from primary domain controller
1380
* %3 failed with the following error: %n%4
1383
NELOG_NetlogonFailedPolicyDelta = ERRLOG2_BASE + 33;
1384
{$EXTERNALSYM NELOG_NetlogonFailedPolicyDelta}
1387
* Replication of the %1 Policy Object "%2" from primary domain controller
1388
* %3 failed with the following error: %n%4
1391
NELOG_NetlogonFailedTrustedDomainDelta = ERRLOG2_BASE + 34;
1392
{$EXTERNALSYM NELOG_NetlogonFailedTrustedDomainDelta}
1395
* Replication of the %1 Trusted Domain Object "%2" from primary domain controller
1396
* %3 failed with the following error: %n%4
1399
NELOG_NetlogonFailedAccountDelta = ERRLOG2_BASE + 35;
1400
{$EXTERNALSYM NELOG_NetlogonFailedAccountDelta}
1403
* Replication of the %1 Account Object "%2" from primary domain controller
1404
* %3 failed with the following error: %n%4
1407
NELOG_NetlogonFailedSecretDelta = ERRLOG2_BASE + 36;
1408
{$EXTERNALSYM NELOG_NetlogonFailedSecretDelta}
1411
* Replication of the %1 Secret "%2" from primary domain controller
1412
* %3 failed with the following error: %n%4
1415
NELOG_NetlogonSystemError = ERRLOG2_BASE + 37;
1416
{$EXTERNALSYM NELOG_NetlogonSystemError}
1419
* The system returned the following unexpected error code: %n%1
1422
NELOG_NetlogonDuplicateMachineAccounts = ERRLOG2_BASE + 38;
1423
{$EXTERNALSYM NELOG_NetlogonDuplicateMachineAccounts}
1426
* Netlogon has detected two machine accounts for server "%1".
1427
* The server can be either a Windows 2000 Server that is a member of the
1428
* domain or the server can be a LAN Manager server with an account in the
1429
* SERVERS global group. It cannot be both.
1432
NELOG_NetlogonTooManyGlobalGroups = ERRLOG2_BASE + 39;
1433
{$EXTERNALSYM NELOG_NetlogonTooManyGlobalGroups}
1436
* This domain has more global groups than can be replicated to a LanMan
1437
* BDC. Either delete some of your global groups or remove the LanMan
1438
* BDCs from the domain.
1441
NELOG_NetlogonBrowserDriver = ERRLOG2_BASE + 40;
1442
{$EXTERNALSYM NELOG_NetlogonBrowserDriver}
1445
* The Browser driver returned the following error to Netlogon: %n%1
1448
NELOG_NetlogonAddNameFailure = ERRLOG2_BASE + 41;
1449
{$EXTERNALSYM NELOG_NetlogonAddNameFailure}
1452
* Netlogon could not register the %1<1B> name for the following reason: %n%2
1456
// More Remoteboot service events.
1458
NELOG_RplMessages = ERRLOG2_BASE + 42;
1459
{$EXTERNALSYM NELOG_RplMessages}
1462
* Service failed to retrieve messages needed to boot remote boot clients.
1465
NELOG_RplXnsBoot = ERRLOG2_BASE + 43;
1466
{$EXTERNALSYM NELOG_RplXnsBoot}
1469
* Service experienced a severe error and can no longer provide remote boot
1470
* for 3Com 3Start remote boot clients.
1473
NELOG_RplSystem = ERRLOG2_BASE + 44;
1474
{$EXTERNALSYM NELOG_RplSystem}
1477
* Service experienced a severe system error and will shut itself down.
1480
NELOG_RplWkstaTimeout = ERRLOG2_BASE + 45;
1481
{$EXTERNALSYM NELOG_RplWkstaTimeout}
1484
* Client with computer name %1 failed to acknowledge receipt of the
1485
* boot data. Remote boot of this client was not completed.
1488
NELOG_RplWkstaFileOpen = ERRLOG2_BASE + 46;
1489
{$EXTERNALSYM NELOG_RplWkstaFileOpen}
1492
* Client with computer name %1 was not booted due to an error in opening
1496
NELOG_RplWkstaFileRead = ERRLOG2_BASE + 47;
1497
{$EXTERNALSYM NELOG_RplWkstaFileRead}
1500
* Client with computer name %1 was not booted due to an error in reading
1504
NELOG_RplWkstaMemory = ERRLOG2_BASE + 48;
1505
{$EXTERNALSYM NELOG_RplWkstaMemory}
1508
* Client with computer name %1 was not booted due to insufficient memory
1509
* at the remote boot server.
1512
NELOG_RplWkstaFileChecksum = ERRLOG2_BASE + 49;
1513
{$EXTERNALSYM NELOG_RplWkstaFileChecksum}
1516
* Client with computer name %1 will be booted without using checksums
1517
* because checksum for file %2 could not be calculated.
1520
NELOG_RplWkstaFileLineCount = ERRLOG2_BASE + 50;
1521
{$EXTERNALSYM NELOG_RplWkstaFileLineCount}
1524
* Client with computer name %1 was not booted due to too many lines in
1528
NELOG_RplWkstaBbcFile = ERRLOG2_BASE + 51;
1529
{$EXTERNALSYM NELOG_RplWkstaBbcFile}
1532
* Client with computer name %1 was not booted because the boot block
1533
* configuration file %2 for this client does not contain boot block
1534
* line and/or loader line.
1537
NELOG_RplWkstaFileSize = ERRLOG2_BASE + 52;
1538
{$EXTERNALSYM NELOG_RplWkstaFileSize}
1541
* Client with computer name %1 was not booted due to a bad size of
1545
NELOG_RplWkstaInternal = ERRLOG2_BASE + 53;
1546
{$EXTERNALSYM NELOG_RplWkstaInternal}
1549
* Client with computer name %1 was not booted due to remote boot
1550
* service internal error.
1553
NELOG_RplWkstaWrongVersion = ERRLOG2_BASE + 54;
1554
{$EXTERNALSYM NELOG_RplWkstaWrongVersion}
1557
* Client with computer name %1 was not booted because file %2 has an
1558
* invalid boot header.
1561
NELOG_RplWkstaNetwork = ERRLOG2_BASE + 55;
1562
{$EXTERNALSYM NELOG_RplWkstaNetwork}
1565
* Client with computer name %1 was not booted due to network error.
1568
NELOG_RplAdapterResource = ERRLOG2_BASE + 56;
1569
{$EXTERNALSYM NELOG_RplAdapterResource}
1572
* Client with adapter id %1 was not booted due to lack of resources.
1575
NELOG_RplFileCopy = ERRLOG2_BASE + 57;
1576
{$EXTERNALSYM NELOG_RplFileCopy}
1579
* Service experienced error copying file or directory %1.
1582
NELOG_RplFileDelete = ERRLOG2_BASE + 58;
1583
{$EXTERNALSYM NELOG_RplFileDelete}
1586
* Service experienced error deleting file or directory %1.
1589
NELOG_RplFilePerms = ERRLOG2_BASE + 59;
1590
{$EXTERNALSYM NELOG_RplFilePerms}
1593
* Service experienced error setting permissions on file or directory %1.
1595
NELOG_RplCheckConfigs = ERRLOG2_BASE + 60;
1596
{$EXTERNALSYM NELOG_RplCheckConfigs}
1599
* Service experienced error evaluating RPL configurations.
1601
NELOG_RplCreateProfiles = ERRLOG2_BASE + 61;
1602
{$EXTERNALSYM NELOG_RplCreateProfiles}
1605
* Service experienced error creating RPL profiles for all configurations.
1607
NELOG_RplRegistry = ERRLOG2_BASE + 62;
1608
{$EXTERNALSYM NELOG_RplRegistry}
1611
* Service experienced error accessing registry.
1613
NELOG_RplReplaceRPLDISK = ERRLOG2_BASE + 63;
1614
{$EXTERNALSYM NELOG_RplReplaceRPLDISK}
1617
* Service experienced error replacing possibly outdated RPLDISK.SYS.
1619
NELOG_RplCheckSecurity = ERRLOG2_BASE + 64;
1620
{$EXTERNALSYM NELOG_RplCheckSecurity}
1623
* Service experienced error adding security accounts or setting
1624
* file permissions. These accounts are the RPLUSER local group
1625
* and the user accounts for the individual RPL workstations.
1627
NELOG_RplBackupDatabase = ERRLOG2_BASE + 65;
1628
{$EXTERNALSYM NELOG_RplBackupDatabase}
1631
* Service failed to back up its database.
1633
NELOG_RplInitDatabase = ERRLOG2_BASE + 66;
1634
{$EXTERNALSYM NELOG_RplInitDatabase}
1637
* Service failed to initialize from its database. The database may be
1638
* missing or corrupted. Service will attempt restoring the database
1641
NELOG_RplRestoreDatabaseFailure = ERRLOG2_BASE + 67;
1642
{$EXTERNALSYM NELOG_RplRestoreDatabaseFailure}
1645
* Service failed to restore its database from the backup. Service
1648
NELOG_RplRestoreDatabaseSuccess = ERRLOG2_BASE + 68;
1649
{$EXTERNALSYM NELOG_RplRestoreDatabaseSuccess}
1652
* Service successfully restored its database from the backup.
1654
NELOG_RplInitRestoredDatabase = ERRLOG2_BASE + 69;
1655
{$EXTERNALSYM NELOG_RplInitRestoredDatabase}
1658
* Service failed to initialize from its restored database. Service
1663
// More Netlogon and RPL service events
1665
NELOG_NetlogonSessionTypeWrong = ERRLOG2_BASE + 70;
1666
{$EXTERNALSYM NELOG_NetlogonSessionTypeWrong}
1669
* The session setup to the Windows NT or Windows 2000 Domain Controller %1 from computer
1670
* %2 using account %4 failed. %2 is declared to be a BDC in domain %3.
1671
* However, %2 tried to connect as either a DC in a trusted domain,
1672
* a member workstation in domain %3, or as a server in domain %3.
1673
* Use the Active Directory Users and Computers tool or Server Manager to remove the BDC account for %2.
1675
NELOG_RplUpgradeDBTo40 = ERRLOG2_BASE + 71;
1676
{$EXTERNALSYM NELOG_RplUpgradeDBTo40}
1679
* The Remoteboot database was in NT 3.5 / NT 3.51 format and NT is
1680
* attempting to convert it to NT 4.0 format. The JETCONV converter
1681
* will write to the Application event log when it is finished.
1683
NELOG_NetlogonLanmanBdcsNotAllowed = ERRLOG2_BASE + 72;
1684
{$EXTERNALSYM NELOG_NetlogonLanmanBdcsNotAllowed}
1687
* Global group SERVERS exists in domain %1 and has members.
1688
* This group defines Lan Manager BDCs in the domain.
1689
* Lan Manager BDCs are not permitted in NT domains.
1691
NELOG_NetlogonNoDynamicDns = ERRLOG2_BASE + 73;
1692
{$EXTERNALSYM NELOG_NetlogonNoDynamicDns}
1695
* The following DNS server that is authoritative for the DNS domain controller
1696
* locator records of this domain controller does not support dynamic DNS updates:
1698
* %n%nDNS server IP address: %1
1699
* %nReturned Response Code (RCODE): %2
1700
* %nReturned Status Code: %3
1704
* %nConfigure the DNS server to allow dynamic DNS updates or manually add the DNS
1705
* records from the file '%SystemRoot%\System32\Config\Netlogon.dns' to the DNS database.
1708
NELOG_NetlogonDynamicDnsRegisterFailure = ERRLOG2_BASE + 74;
1709
{$EXTERNALSYM NELOG_NetlogonDynamicDnsRegisterFailure}
1713
* The dynamic registration of the DNS record '%1' failed on the following DNS server:
1715
* %n%nDNS server IP address: %3
1716
* %nReturned Response Code (RCODE): %4
1717
* %nReturned Status Code: %5
1719
* %n%nFor computers and users to locate this domain controller, this record must be
1720
* registered in DNS.
1724
* %nDetermine what might have caused this failure, resolve the problem, and initiate
1725
* registration of the DNS records by the domain controller. To determine what might
1726
* have caused this failure, run DCDiag.exe. You can find this program on the Windows
1727
* Server 2003 installation CD in Support\Tools\support.cab. To learn more about
1728
* DCDiag.exe, see Help and Support Center. To initiate registration of the DNS records by
1729
* this domain controller, run 'nltest.exe /dsregdns' from the command prompt on the domain
1730
* controller or restart Net Logon service. Nltest.exe is available in the Microsoft Windows
1731
* Server Resource Kit CD. %n Or, you can manually add this record to DNS, but it is not
1734
* %n%nADDITIONAL DATA
1739
NELOG_NetlogonDynamicDnsDeregisterFailure = ERRLOG2_BASE + 75;
1740
{$EXTERNALSYM NELOG_NetlogonDynamicDnsDeregisterFailure}
1743
* The dynamic deletion of the DNS record '%1' failed on the following DNS server:
1745
* %n%nDNS server IP address: %3
1746
* %nReturned Response Code (RCODE): %4
1747
* %nReturned Status Code: %5
1751
* %nTo prevent remote computers from connecting unnecessarily to the domain controller,
1752
* delete the record manually or troubleshoot the failure to dynamically delete the
1753
* record. To learn more about debugging DNS, see Help and Support Center.
1755
* %n%nADDITIONAL DATA
1759
NELOG_NetlogonFailedFileCreate = ERRLOG2_BASE + 76;
1760
{$EXTERNALSYM NELOG_NetlogonFailedFileCreate}
1763
* Failed to create/open file %1 with the following error: %n%2
1766
NELOG_NetlogonGetSubnetToSite = ERRLOG2_BASE + 77;
1767
{$EXTERNALSYM NELOG_NetlogonGetSubnetToSite}
1770
* Netlogon got the following error while trying to get the subnet to site
1771
* mapping information from the DS: %n%1
1774
NELOG_NetlogonNoSiteForClient = ERRLOG2_BASE + 78;
1775
{$EXTERNALSYM NELOG_NetlogonNoSiteForClient}
1778
* '%1' tried to determine its site by looking up its IP address ('%2')
1779
* in the Configuration\Sites\Subnets container in the DS. No subnet matched
1780
* the IP address. Consider adding a subnet object for this IP address.
1783
NELOG_NetlogonBadSiteName = ERRLOG2_BASE + 79;
1784
{$EXTERNALSYM NELOG_NetlogonBadSiteName}
1787
* The site name for this computer is '%1'. That site name is not a valid
1788
* site name. A site name must be a valid DNS label.
1789
* Rename the site to be a valid name.
1792
NELOG_NetlogonBadSubnetName = ERRLOG2_BASE + 80;
1793
{$EXTERNALSYM NELOG_NetlogonBadSubnetName}
1796
* The subnet object '%1' appears in the Configuration\Sites\Subnets
1797
* container in the DS. The name is not syntactically valid. The valid
1798
* syntax is xx.xx.xx.xx/yy where xx.xx.xx.xx is a valid IP subnet number
1799
* and yy is the number of bits in the subnet mask.
1801
* Correct the name of the subnet object.
1804
NELOG_NetlogonDynamicDnsServerFailure = ERRLOG2_BASE + 81;
1805
{$EXTERNALSYM NELOG_NetlogonDynamicDnsServerFailure}
1808
* Dynamic registration or deletion of one or more DNS records associated with DNS
1809
* domain '%1' failed. These records are used by other computers to locate this
1810
* server as a domain controller (if the specified domain is an Active Directory
1811
* domain) or as an LDAP server (if the specified domain is an application partition).
1813
* %n%nPossible causes of failure include:
1815
* %n- TCP/IP properties of the network connections of this computer contain wrong IP address(es) of the preferred and alternate DNS servers
1816
* %n- Specified preferred and alternate DNS servers are not running
1817
* %n- DNS server(s) primary for the records to be registered is not running
1818
* %n- Preferred or alternate DNS servers are configured with wrong root hints
1819
* %n- Parent DNS zone contains incorrect delegation to the child zone authoritative for the DNS records that failed registration
1823
* %nFix possible misconfiguration(s) specified above and initiate registration or deletion of
1824
* the DNS records by running 'nltest.exe /dsregdns' from the command prompt or by restarting
1825
* Net Logon service. Nltest.exe is available in the Microsoft Windows Server Resource Kit CD.
1828
NELOG_NetlogonDynamicDnsFailure = ERRLOG2_BASE + 82;
1829
{$EXTERNALSYM NELOG_NetlogonDynamicDnsFailure}
1832
* Dynamic registration or deregistration of one or more DNS records failed with the following error: %n%1
1835
NELOG_NetlogonRpcCallCancelled = ERRLOG2_BASE + 83;
1836
{$EXTERNALSYM NELOG_NetlogonRpcCallCancelled}
1839
* The session setup to the Windows NT or Windows 2000 Domain Controller %1 for the domain %2
1840
* is not responsive. The current RPC call from Netlogon on \\%3 to %1 has been cancelled.
1843
NELOG_NetlogonDcSiteCovered = ERRLOG2_BASE + 84;
1844
{$EXTERNALSYM NELOG_NetlogonDcSiteCovered}
1847
* Site '%2' does not have any Domain Controllers for domain '%3'.
1848
* Domain Controllers in site '%1' have been automatically
1849
* selected to cover site '%2' for domain '%3' based on configured
1850
* Directory Server replication costs.
1853
NELOG_NetlogonDcSiteNotCovered = ERRLOG2_BASE + 85;
1854
{$EXTERNALSYM NELOG_NetlogonDcSiteNotCovered}
1857
* This Domain Controller no longer automatically covers site '%1' for domain '%2'.
1860
NELOG_NetlogonGcSiteCovered = ERRLOG2_BASE + 86;
1861
{$EXTERNALSYM NELOG_NetlogonGcSiteCovered}
1864
* Site '%2' does not have any Global Catalog servers for forest '%3'.
1865
* Global Catalog servers in site '%1' have been automatically
1866
* selected to cover site '%2' for forest '%3' based on configured
1867
* Directory Server replication costs.
1870
NELOG_NetlogonGcSiteNotCovered = ERRLOG2_BASE + 87;
1871
{$EXTERNALSYM NELOG_NetlogonGcSiteNotCovered}
1874
* This Global Catalog server no longer automatically covers site '%1' for forest '%2'.
1877
NELOG_NetlogonFailedSpnUpdate = ERRLOG2_BASE + 88;
1878
{$EXTERNALSYM NELOG_NetlogonFailedSpnUpdate}
1881
* Attempt to update HOST Service Principal Names (SPNs) of the computer
1882
* object in Active Directory failed. The updated values were '%1' and '%2'.
1883
* The following error occurred: %n%3
1886
NELOG_NetlogonFailedDnsHostNameUpdate = ERRLOG2_BASE + 89;
1887
{$EXTERNALSYM NELOG_NetlogonFailedDnsHostNameUpdate}
1890
* Attempt to update DNS Host Name of the computer object
1891
* in Active Directory failed. The updated value was '%1'.
1892
* The following error occurred: %n%2
1895
NELOG_NetlogonAuthNoUplevelDomainController = ERRLOG2_BASE + 90;
1896
{$EXTERNALSYM NELOG_NetlogonAuthNoUplevelDomainController}
1899
* No suitable Domain Controller is available for domain %1.
1900
* An NT4 or older domain controller is available but it cannot
1901
* be used for authentication purposes in the Windows 2000 or newer
1902
* domain that this computer is a member of.
1903
* The following error occurred:%n%2
1906
NELOG_NetlogonAuthDomainDowngraded = ERRLOG2_BASE + 91;
1907
{$EXTERNALSYM NELOG_NetlogonAuthDomainDowngraded}
1910
* The domain of this computer, %1 has been downgraded from Windows 2000
1911
* or newer to Windows NT4 or older. The computer cannot function properly
1912
* in this case for authentication purposes. This computer needs to rejoin
1914
* The following error occurred:%n%2
1917
NELOG_NetlogonNdncSiteCovered = ERRLOG2_BASE + 92;
1918
{$EXTERNALSYM NELOG_NetlogonNdncSiteCovered}
1921
* Site '%2' does not have any LDAP servers for non-domain NC '%3'.
1922
* LDAP servers in site '%1' have been automatically selected to
1923
* cover site '%2' for non-domain NC '%3' based on configured
1924
* Directory Server replication costs.
1927
NELOG_NetlogonNdncSiteNotCovered = ERRLOG2_BASE + 93;
1928
{$EXTERNALSYM NELOG_NetlogonNdncSiteNotCovered}
1931
* This LDAP server no longer automatically covers site '%1' for non-domain NC '%2'.
1934
NELOG_NetlogonDcOldSiteCovered = ERRLOG2_BASE + 94;
1935
{$EXTERNALSYM NELOG_NetlogonDcOldSiteCovered}
1938
* Site '%2' is no longer manually configured in the registry as
1939
* covered by this Domain Controller for domain '%3'. As a result,
1940
* site '%2' does not have any Domain Controllers for domain '%3'.
1941
* Domain Controllers in site '%1' have been automatically
1942
* selected to cover site '%2' for domain '%3' based on configured
1943
* Directory Server replication costs.
1946
NELOG_NetlogonDcSiteNotCoveredAuto = ERRLOG2_BASE + 95;
1947
{$EXTERNALSYM NELOG_NetlogonDcSiteNotCoveredAuto}
1950
* This Domain Controller no longer automatically covers site '%1' for domain '%2'.
1951
* However, site '%1' is still (manually) covered by this Domain Controller for
1952
* domain '%2' since this site has been manually configured in the registry.
1955
NELOG_NetlogonGcOldSiteCovered = ERRLOG2_BASE + 96;
1956
{$EXTERNALSYM NELOG_NetlogonGcOldSiteCovered}
1959
* Site '%2' is no longer manually configured in the registry as
1960
* covered by this Global Catalog server for forest '%3'. As a result,
1961
* site '%2' does not have any Global Catalog servers for forest '%3'.
1962
* Global Catalog servers in site '%1' have been automatically
1963
* selected to cover site '%2' for forest '%3' based on configured
1964
* Directory Server replication costs.
1967
NELOG_NetlogonGcSiteNotCoveredAuto = ERRLOG2_BASE + 97;
1968
{$EXTERNALSYM NELOG_NetlogonGcSiteNotCoveredAuto}
1971
* This Global Catalog server no longer automatically covers site '%1' for forest '%2'.
1972
* However, site '%1' is still (manually) covered by this Global catalog for
1973
* forest '%2' since this site has been manually configured in the registry.
1976
NELOG_NetlogonNdncOldSiteCovered = ERRLOG2_BASE + 98;
1977
{$EXTERNALSYM NELOG_NetlogonNdncOldSiteCovered}
1980
* Site '%2' is no longer manually configured in the registry as
1981
* covered by this LDAP server for non-domain NC '%3'. As a result,
1982
* site '%2' does not have any LDAP servers for non-domain NC '%3'.
1983
* LDAP servers in site '%1' have been automatically
1984
* selected to cover site '%2' for non-domain NC '%3' based on
1985
* configured Directory Server replication costs.
1988
NELOG_NetlogonNdncSiteNotCoveredAuto = ERRLOG2_BASE + 99;
1989
{$EXTERNALSYM NELOG_NetlogonNdncSiteNotCoveredAuto}
1992
* This LDAP server no longer automatically covers site '%1' for non-domain NC '%2'.
1993
* However, site '%1' is still (manually) covered by this LDAP server for
1994
* non-domain NC '%2' since this site has been manually configured in the registry.
1997
NELOG_NetlogonSpnMultipleSamAccountNames = ERRLOG2_BASE + 100;
1998
{$EXTERNALSYM NELOG_NetlogonSpnMultipleSamAccountNames}
2001
* Attempt to update DnsHostName and HOST Service Principal Name (SPN) attributes
2002
* of the computer object in Active Directory failed because the Domain Controller
2003
* '%1' had more than one account with the name '%2' corresponding to this computer.
2004
* Not having SPNs registered may result in authentication failures for this computer.
2005
* Contact your domain administrator who may need to manually resolve the account name
2009
NELOG_NetlogonSpnCrackNamesFailure = ERRLOG2_BASE + 101;
2010
{$EXTERNALSYM NELOG_NetlogonSpnCrackNamesFailure}
2013
* Attempt to update DnsHostName and HOST Service Principal Name (SPN) attributes
2014
* of the computer object in Active Directory failed because this computer account
2015
* name, '%2' could not be mapped to the computer object on Domain Controller '%1'.
2016
* Not having SPNs registered may result in authentication failures for this computer.
2017
* Contact your domain administrator. The following technical information may be
2018
* useful for the resolution of this failure:%n
2019
* DsCrackNames status = 0x%3, crack error = 0x%4.
2022
NELOG_NetlogonNoAddressToSiteMapping = ERRLOG2_BASE + 102;
2023
{$EXTERNALSYM NELOG_NetlogonNoAddressToSiteMapping}
2026
* None of the IP addresses (%2) of this Domain Controller map to the configured site '%1'.
2027
* While this may be a temporary situation due to IP address changes, it is generally
2028
* recommended that the IP address of the Domain Controller (accessible to machines in
2029
* its domain) maps to the Site which it services. If the above list of IP addresses is
2030
* stable, consider moving this server to a site (or create one if it does not already
2031
* exist) such that the above IP address maps to the selected site. This may require the
2032
* creation of a new subnet object (whose range includes the above IP address) which maps
2033
* to the selected site object.
2036
NELOG_NetlogonInvalidGenericParameterValue = ERRLOG2_BASE + 103;
2037
{$EXTERNALSYM NELOG_NetlogonInvalidGenericParameterValue}
2040
* The following error occurred while reading a parameter '%2' in the
2041
* Netlogon %1 registry section:%n%3
2044
NELOG_NetlogonInvalidDwordParameterValue = ERRLOG2_BASE + 104;
2045
{$EXTERNALSYM NELOG_NetlogonInvalidDwordParameterValue}
2048
* The Netlogon %1 registry key contains an invalid value 0x%2 for parameter '%3'.
2049
* The minimum and maximum values allowed for this parameter are 0x%4 and 0x%5, respectively.
2050
* The value of 0x%6 has been assigned to this parameter.
2053
NELOG_NetlogonServerAuthFailedNoAccount = ERRLOG2_BASE + 105;
2054
{$EXTERNALSYM NELOG_NetlogonServerAuthFailedNoAccount}
2057
* The session setup from the computer %1 failed to authenticate.
2058
* The following error occurred: %n%2
2061
NELOG_NetlogonNoDynamicDnsManual = ERRLOG2_BASE + 106;
2062
{$EXTERNALSYM NELOG_NetlogonNoDynamicDnsManual}
2065
* Dynamic DNS updates have been manually disabled on this domain controller.
2069
* %nReconfigure this domain controller to use dynamic DNS updates or manually add the DNS
2070
* records from the file '%SystemRoot%\System32\Config\Netlogon.dns' to the DNS database.
2073
NELOG_NetlogonNoSiteForClients = ERRLOG2_BASE + 107;
2074
{$EXTERNALSYM NELOG_NetlogonNoSiteForClients}
2077
* During the past %1 hours there have been %2 connections to this Domain
2078
* Controller from client machines whose IP addresses don't map to any of
2079
* the existing sites in the enterprise. Those clients, therefore, have
2080
* undefined sites and may connect to any Domain Controller including
2081
* those that are in far distant locations from the clients. A client's site
2082
* is determined by the mapping of its subnet to one of the existing sites.
2083
* To move the above clients to one of the sites, please consider creating
2084
* subnet object(s) covering the above IP addresses with mapping to one of the
2085
* existing sites. The names and IP addresses of the clients in question have
2086
* been logged on this computer in the following log file
2087
* '%SystemRoot%\debug\netlogon.log' and, potentially, in the log file
2088
* '%SystemRoot%\debug\netlogon.bak' created if the former log becomes full.
2089
* The log(s) may contain additional unrelated debugging information. To filter
2090
* out the needed information, please search for lines which contain text
2091
* 'NO_CLIENT_SITE:'. The first word after this string is the client name and
2092
* the second word is the client IP address. The maximum size of the log(s) is
2093
* controlled by the following registry DWORD value
2094
* 'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters\LogFileMaxSize';
2095
* the default is %3 bytes. The current maximum size is %4 bytes. To set a
2096
* different maximum size, create the above registry value and set the desired
2097
* maximum size in bytes.
2100
NELOG_NetlogonDnsDeregAborted = ERRLOG2_BASE + 108;
2101
{$EXTERNALSYM NELOG_NetlogonDnsDeregAborted}
2104
* The deregistration of some DNS domain controller locator records was aborted
2105
* at the time of this domain controller demotion because the DNS deregistrations
2110
* %nManually delete the DNS records listed in the file
2111
* '%SystemRoot%\System32\Config\Netlogon.dns' from the DNS database.
2114
NELOG_NetlogonRpcPortRequestFailure = ERRLOG2_BASE + 109;
2115
{$EXTERNALSYM NELOG_NetlogonRpcPortRequestFailure}
2118
* The NetLogon service on this domain controller has been configured to use port %1
2119
* for incoming RPC connections over TCP/IP from remote machines. However, the
2120
* following error occurred when Netlogon attempted to register this port with the RPC
2121
* endpoint mapper service: %n%2 %nThis will prevent the NetLogon service on remote
2122
* machines from connecting to this domain controller over TCP/IP that may result in
2123
* authentication problems.
2127
* %nThe specified port is configured via the Group Policy or via a registry value 'DcTcpipPort'
2128
* under the 'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters'
2129
* registry key; the value configured through the Group Policy takes precedence. If the
2130
* port specified is in error, reset it to a correct value. You can also remove this
2131
* configuration for the port in which case the port will be assigned dynamically by
2132
* the endpoint mapper at the time the NetLogon service on remote machines makes RPC connections
2133
* to this domain controller. After the misconfiguration is corrected, restart the NetLogon
2134
* service on this machine and verify that this event log no longer appears.
2139
{$IFDEF DYNAMIC_LINK}
2142
_NetErrorLogClear: Pointer;
2144
function NetErrorLogClear;
2146
GetProcedureAddress(_NetErrorLogClear, netapi32, 'NetErrorLogClear');
2150
JMP [_NetErrorLogClear]
2155
_NetErrorLogRead: Pointer;
2157
function NetErrorLogRead;
2159
GetProcedureAddress(_NetErrorLogRead, netapi32, 'NetErrorLogRead');
2163
JMP [_NetErrorLogRead]
2168
_NetErrorLogWrite: Pointer;
2170
function NetErrorLogWrite;
2172
GetProcedureAddress(_NetErrorLogWrite, netapi32, 'NetErrorLogWrite');
2176
JMP [_NetErrorLogWrite]
2182
function NetErrorLogClear; external netapi32 name 'NetErrorLogClear';
2183
function NetErrorLogRead; external netapi32 name 'NetErrorLogRead';
2184
function NetErrorLogWrite; external netapi32 name 'NetErrorLogWrite';
2186
{$ENDIF DYNAMIC_LINK}
1
{******************************************************************************}
3
{ Lan Manager Error Log API interface Unit for Object Pascal }
5
{ Portions created by Microsoft are Copyright (C) 1995-2001 Microsoft }
6
{ Corporation. All Rights Reserved. }
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). }
12
{ Portions created by Marcel van Brakel are Copyright (C) 1999-2001 }
13
{ Marcel van Brakel. All Rights Reserved. }
15
{ Obtained through: Joint Endeavour of Delphi Innovators (Project JEDI) }
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 }
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 }
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. }
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. }
39
{ For more information about the LGPL: http://www.gnu.org/copyleft/lesser.html }
41
{******************************************************************************}
49
{$HPPEMIT '#include "lmerrlog.h"'}
57
JwaLmCons, JwaWinType;
60
// Data Structures - Config
69
el_name: LPWSTR; // pointer to service name
70
el_text: LPWSTR; // pointer to string array
71
el_data: LPBYTE; // pointer to BYTE array
72
el_data_size: DWORD; // byte count of el_data area
73
el_nstrings: DWORD; // number of strings in el_text.
75
{$EXTERNALSYM _ERROR_LOG}
76
ERROR_LOG = _ERROR_LOG;
77
{$EXTERNALSYM ERROR_LOG}
78
PERROR_LOG = ^ERROR_LOG;
79
{$EXTERNALSYM PERROR_LOG}
80
LPERROR_LOG = ^ERROR_LOG;
81
{$EXTERNALSYM LPERROR_LOG}
82
TErrorLog = ERROR_LOG;
83
PErrorLog = PERROR_LOG;
85
{$DEFINE REVISED_ERROR_LOG_STRUCT}
102
LOGFLAGS_FORWARD = 0;
103
{$EXTERNALSYM LOGFLAGS_FORWARD}
104
LOGFLAGS_BACKWARD = $1;
105
{$EXTERNALSYM LOGFLAGS_BACKWARD}
107
{$EXTERNALSYM LOGFLAGS_SEEK}
110
// Function Prototypes - ErrorLog
113
function NetErrorLogClear(server, backupfile: LPCWSTR; reserved: LPBYTE): NET_API_STATUS; stdcall;
114
{$EXTERNALSYM NetErrorLogClear}
116
function NetErrorLogRead(server: LPCWSTR; reserved1: LPWSTR; errloghandle: LPHLOG; offset: DWORD; reserved2: LPDWORD;
117
reserved3, offsetflag: DWORD; var bufptr: LPBYTE; prefmaxlen: DWORD; bytesread, totalbytes: LPDWORD): NET_API_STATUS; stdcall;
118
{$EXTERNALSYM NetErrorLogRead}
120
function NetErrorLogWrite(reserved1: LPBYTE; code: DWORD; component: LPCWSTR; buffer: LPBYTE; numbytes: DWORD;
121
msgbuf: LPBYTE; strcount: DWORD; reserved2: LPBYTE): NET_API_STATUS; stdcall;
122
{$EXTERNALSYM NetErrorLogWrite}
125
// Special Values and Constants
129
// Generic (could be used by more than one service)
130
// error log messages from 0 to 25
132
// Do not change the comments following the manifest constants without
133
// understanding how mapmsg works.
137
ERRLOG_BASE = 3100; { NELOG errors start here }
138
{$EXTERNALSYM ERRLOG_BASE}
140
NELOG_Internal_Error = ERRLOG_BASE + 0;
141
{$EXTERNALSYM NELOG_Internal_Error}
144
* The operation failed because a network software error occurred.
147
NELOG_Resource_Shortage = ERRLOG_BASE + 1;
148
{$EXTERNALSYM NELOG_Resource_Shortage}
151
* The system ran out of a resource controlled by the %1 option.
154
NELOG_Unable_To_Lock_Segment = ERRLOG_BASE + 2;
155
{$EXTERNALSYM NELOG_Unable_To_Lock_Segment}
158
* The service failed to obtain a long-term lock on the
159
* segment for network control blocks (NCBs). The error code is the data.
162
NELOG_Unable_To_Unlock_Segment = ERRLOG_BASE + 3;
163
{$EXTERNALSYM NELOG_Unable_To_Unlock_Segment}
166
* The service failed to release the long-term lock on the
167
* segment for network control blocks (NCBs). The error code is the data.
170
NELOG_Uninstall_Service = ERRLOG_BASE + 4;
171
{$EXTERNALSYM NELOG_Uninstall_Service}
174
* There was an error stopping service %1.
175
* The error code from NetServiceControl is the data.
178
NELOG_Init_Exec_Fail = ERRLOG_BASE + 5;
179
{$EXTERNALSYM NELOG_Init_Exec_Fail}
182
* Initialization failed because of a system execution failure on
183
* path %1. The system error code is the data.
186
NELOG_Ncb_Error = ERRLOG_BASE + 6;
187
{$EXTERNALSYM NELOG_Ncb_Error}
190
* An unexpected network control block (NCB) was received. The NCB is the data.
193
NELOG_Net_Not_Started = ERRLOG_BASE + 7;
194
{$EXTERNALSYM NELOG_Net_Not_Started}
197
* The network is not started.
200
NELOG_Ioctl_Error = ERRLOG_BASE + 8;
201
{$EXTERNALSYM NELOG_Ioctl_Error}
204
* A DosDevIoctl or DosFsCtl to NETWKSTA.SYS failed.
205
* The data shown is in this format:
206
* DWORD approx CS:IP of call to ioctl or fsctl
208
* WORD ioctl or fsctl number
211
NELOG_System_Semaphore = ERRLOG_BASE + 9;
212
{$EXTERNALSYM NELOG_System_Semaphore}
215
* Unable to create or open system semaphore %1.
216
* The error code is the data.
219
NELOG_Init_OpenCreate_Err = ERRLOG_BASE + 10;
220
{$EXTERNALSYM NELOG_Init_OpenCreate_Err}
223
* Initialization failed because of an open/create error on the
224
* file %1. The system error code is the data.
227
NELOG_NetBios = ERRLOG_BASE + 11;
228
{$EXTERNALSYM NELOG_NetBios}
231
* An unexpected NetBIOS error occurred.
232
* The error code is the data.
235
NELOG_SMB_Illegal = ERRLOG_BASE + 12;
236
{$EXTERNALSYM NELOG_SMB_Illegal}
239
* An illegal server message block (SMB) was received.
240
* The SMB is the data.
243
NELOG_Service_Fail = ERRLOG_BASE + 13;
244
{$EXTERNALSYM NELOG_Service_Fail}
247
* Initialization failed because the requested service %1
248
* could not be started.
251
NELOG_Entries_Lost = ERRLOG_BASE + 14;
252
{$EXTERNALSYM NELOG_Entries_Lost}
255
* Some entries in the error log were lost because of a buffer
260
// Server specific error log messages from 20 to 40
263
NELOG_Init_Seg_Overflow = ERRLOG_BASE + 20;
264
{$EXTERNALSYM NELOG_Init_Seg_Overflow}
267
* Initialization parameters controlling resource usage other
268
* than net buffers are sized so that too much memory is needed.
271
NELOG_Srv_No_Mem_Grow = ERRLOG_BASE + 21;
272
{$EXTERNALSYM NELOG_Srv_No_Mem_Grow}
275
* The server cannot increase the size of a memory segment.
278
NELOG_Access_File_Bad = ERRLOG_BASE + 22;
279
{$EXTERNALSYM NELOG_Access_File_Bad}
282
* Initialization failed because account file %1 is either incorrect
286
NELOG_Srvnet_Not_Started = ERRLOG_BASE + 23;
287
{$EXTERNALSYM NELOG_Srvnet_Not_Started}
290
* Initialization failed because network %1 was not started.
293
NELOG_Init_Chardev_Err = ERRLOG_BASE + 24;
294
{$EXTERNALSYM NELOG_Init_Chardev_Err}
297
* The server failed to start. Either all three chdev
298
* parameters must be zero or all three must be nonzero.
301
NELOG_Remote_API = ERRLOG_BASE + 25;
302
{$EXTERNALSYM NELOG_Remote_API}
304
{ A remote API request was halted due to the following
305
* invalid description string: %1.
308
NELOG_Ncb_TooManyErr = ERRLOG_BASE + 26;
309
{$EXTERNALSYM NELOG_Ncb_TooManyErr}
311
{ The network %1 ran out of network control blocks (NCBs). You may need to increase NCBs
312
* for this network. The following information includes the
313
* number of NCBs submitted by the server when this error occurred:
316
NELOG_Mailslot_err = ERRLOG_BASE + 27;
317
{$EXTERNALSYM NELOG_Mailslot_err}
319
{ The server cannot create the %1 mailslot needed to send
320
* the ReleaseMemory alert message. The error received is:
323
NELOG_ReleaseMem_Alert = ERRLOG_BASE + 28;
324
{$EXTERNALSYM NELOG_ReleaseMem_Alert}
326
{ The server failed to register for the ReleaseMemory alert,
327
* with recipient %1. The error code from
328
* NetAlertStart is the data.
331
NELOG_AT_cannot_write = ERRLOG_BASE + 29;
332
{$EXTERNALSYM NELOG_AT_cannot_write}
334
{ The server cannot update the AT schedule file. The file
338
NELOG_Cant_Make_Msg_File = ERRLOG_BASE + 30;
339
{$EXTERNALSYM NELOG_Cant_Make_Msg_File}
341
{ The server encountered an error when calling
342
* NetIMakeLMFileName. The error code is the data.
345
NELOG_Exec_Netservr_NoMem = ERRLOG_BASE + 31;
346
{$EXTERNALSYM NELOG_Exec_Netservr_NoMem}
348
{ Initialization failed because of a system execution failure on
349
* path %1. There is not enough memory to start the process.
350
* The system error code is the data.
353
NELOG_Server_Lock_Failure = ERRLOG_BASE + 32;
354
{$EXTERNALSYM NELOG_Server_Lock_Failure}
356
{ Longterm lock of the server buffers failed.
357
* Check swap disk's free space and restart the system to start the server.
361
// Message service and POPUP specific error log messages from 40 to 55
364
NELOG_Msg_Shutdown = ERRLOG_BASE + 40;
365
{$EXTERNALSYM NELOG_Msg_Shutdown}
368
* The service has stopped due to repeated consecutive
369
* occurrences of a network control block (NCB) error. The last bad NCB follows
373
NELOG_Msg_Sem_Shutdown = ERRLOG_BASE + 41;
374
{$EXTERNALSYM NELOG_Msg_Sem_Shutdown}
377
* The Message server has stopped due to a lock on the
378
* Message server shared data segment.
381
NELOG_Msg_Log_Err = ERRLOG_BASE + 50;
382
{$EXTERNALSYM NELOG_Msg_Log_Err}
385
* A file system error occurred while opening or writing to the
386
* system message log file %1. Message logging has been
387
* switched off due to the error. The error code is the data.
390
NELOG_VIO_POPUP_ERR = ERRLOG_BASE + 51;
391
{$EXTERNALSYM NELOG_VIO_POPUP_ERR}
394
* Unable to display message POPUP due to system VIO call error.
395
* The error code is the data.
398
NELOG_Msg_Unexpected_SMB_Type = ERRLOG_BASE + 52;
399
{$EXTERNALSYM NELOG_Msg_Unexpected_SMB_Type}
402
* An illegal server message block (SMB) was received. The SMB is the data.
406
// Workstation specific error log messages from 60 to 75
409
NELOG_Wksta_Infoseg = ERRLOG_BASE + 60;
410
{$EXTERNALSYM NELOG_Wksta_Infoseg}
413
* The workstation information segment is bigger than 64K.
414
* The size follows, in DWORD format:
417
NELOG_Wksta_Compname = ERRLOG_BASE + 61;
418
{$EXTERNALSYM NELOG_Wksta_Compname}
421
* The workstation was unable to get the name-number of the computer.
424
NELOG_Wksta_BiosThreadFailure = ERRLOG_BASE + 62;
425
{$EXTERNALSYM NELOG_Wksta_BiosThreadFailure}
428
* The workstation could not initialize the Async NetBIOS Thread.
429
* The error code is the data.
432
NELOG_Wksta_IniSeg = ERRLOG_BASE + 63;
433
{$EXTERNALSYM NELOG_Wksta_IniSeg}
436
* The workstation could not open the initial shared segment.
437
* The error code is the data.
440
NELOG_Wksta_HostTab_Full = ERRLOG_BASE + 64;
441
{$EXTERNALSYM NELOG_Wksta_HostTab_Full}
444
* The workstation host table is full.
447
NELOG_Wksta_Bad_Mailslot_SMB = ERRLOG_BASE + 65;
448
{$EXTERNALSYM NELOG_Wksta_Bad_Mailslot_SMB}
451
* A bad mailslot server message block (SMB) was received. The SMB is the data.
454
NELOG_Wksta_UASInit = ERRLOG_BASE + 66;
455
{$EXTERNALSYM NELOG_Wksta_UASInit}
458
* The workstation encountered an error while trying to start the user accounts database.
459
* The error code is the data.
462
NELOG_Wksta_SSIRelogon = ERRLOG_BASE + 67;
463
{$EXTERNALSYM NELOG_Wksta_SSIRelogon}
466
* The workstation encountered an error while responding to an SSI revalidation request.
467
* The function code and the error codes are the data.
471
// Alerter service specific error log messages from 70 to 79
474
NELOG_Build_Name = ERRLOG_BASE + 70;
475
{$EXTERNALSYM NELOG_Build_Name}
478
* The Alerter service had a problem creating the list of
479
* alert recipients. The error code is %1.
482
NELOG_Name_Expansion = ERRLOG_BASE + 71;
483
{$EXTERNALSYM NELOG_Name_Expansion}
486
* There was an error expanding %1 as a group name. Try
487
* splitting the group into two or more smaller groups.
490
NELOG_Message_Send = ERRLOG_BASE + 72;
491
{$EXTERNALSYM NELOG_Message_Send}
494
* There was an error sending %2 the alert message -
497
* The error code is %1.
500
NELOG_Mail_Slt_Err = ERRLOG_BASE + 73;
501
{$EXTERNALSYM NELOG_Mail_Slt_Err}
504
* There was an error in creating or reading the alerter mailslot.
505
* The error code is %1.
508
NELOG_AT_cannot_read = ERRLOG_BASE + 74;
509
{$EXTERNALSYM NELOG_AT_cannot_read}
512
* The server could not read the AT schedule file.
515
NELOG_AT_sched_err = ERRLOG_BASE + 75;
516
{$EXTERNALSYM NELOG_AT_sched_err}
519
* The server found an invalid AT schedule record.
522
NELOG_AT_schedule_file_created = ERRLOG_BASE + 76;
523
{$EXTERNALSYM NELOG_AT_schedule_file_created}
526
* The server could not find an AT schedule file so it created one.
529
NELOG_Srvnet_NB_Open = ERRLOG_BASE + 77;
530
{$EXTERNALSYM NELOG_Srvnet_NB_Open}
533
* The server could not access the %1 network with NetBiosOpen.
536
NELOG_AT_Exec_Err = ERRLOG_BASE + 78;
537
{$EXTERNALSYM NELOG_AT_Exec_Err}
540
* The AT command processor could not run %1.
544
// Cache Lazy Write and HPFS386 specific error log messages from 80 to 89
547
NELOG_Lazy_Write_Err = ERRLOG_BASE + 80;
548
{$EXTERNALSYM NELOG_Lazy_Write_Err}
551
* WARNING: Because of a lazy-write error, drive %1 now
552
* contains some corrupted data. The cache is stopped.
555
NELOG_HotFix = ERRLOG_BASE + 81;
556
{$EXTERNALSYM NELOG_HotFix}
559
* A defective sector on drive %1 has been replaced (hotfixed).
560
* No data was lost. You should run CHKDSK soon to restore full
561
* performance and replenish the volume's spare sector pool.
563
* The hotfix occurred while processing a remote request.
566
NELOG_HardErr_From_Server = ERRLOG_BASE + 82;
567
{$EXTERNALSYM NELOG_HardErr_From_Server}
570
* A disk error occurred on the HPFS volume in drive %1.
571
* The error occurred while processing a remote request.
574
NELOG_LocalSecFail1 = ERRLOG_BASE + 83;
575
{$EXTERNALSYM NELOG_LocalSecFail1}
578
* The user accounts database (NET.ACC) is corrupted. The local security
579
* system is replacing the corrupted NET.ACC with the backup
581
* Any updates made to the database after this time are lost.
585
NELOG_LocalSecFail2 = ERRLOG_BASE + 84;
586
{$EXTERNALSYM NELOG_LocalSecFail2}
589
* The user accounts database (NET.ACC) is missing. The local
590
* security system is restoring the backup database
592
* Any updates made to the database made after this time are lost.
596
NELOG_LocalSecFail3 = ERRLOG_BASE + 85;
597
{$EXTERNALSYM NELOG_LocalSecFail3}
600
* Local security could not be started because the user accounts database
601
* (NET.ACC) was missing or corrupted, and no usable backup
602
* database was present.
604
* THE SYSTEM IS NOT SECURE.
607
NELOG_LocalSecGeneralFail = ERRLOG_BASE + 86;
608
{$EXTERNALSYM NELOG_LocalSecGeneralFail}
611
* Local security could not be started because an error
612
* occurred during initialization. The error code returned is %1.
614
* THE SYSTEM IS NOT SECURE.
619
// NETWKSTA.SYS specific error log messages from 90 to 99
622
NELOG_NetWkSta_Internal_Error = ERRLOG_BASE + 90;
623
{$EXTERNALSYM NELOG_NetWkSta_Internal_Error}
626
* A NetWksta internal error has occurred:
630
NELOG_NetWkSta_No_Resource = ERRLOG_BASE + 91;
631
{$EXTERNALSYM NELOG_NetWkSta_No_Resource}
634
* The redirector is out of a resource: %1.
637
NELOG_NetWkSta_SMB_Err = ERRLOG_BASE + 92;
638
{$EXTERNALSYM NELOG_NetWkSta_SMB_Err}
641
* A server message block (SMB) error occurred on the connection to %1.
642
* The SMB header is the data.
645
NELOG_NetWkSta_VC_Err = ERRLOG_BASE + 93;
646
{$EXTERNALSYM NELOG_NetWkSta_VC_Err}
649
* A virtual circuit error occurred on the session to %1.
650
* The network control block (NCB) command and return code is the data.
653
NELOG_NetWkSta_Stuck_VC_Err = ERRLOG_BASE + 94;
654
{$EXTERNALSYM NELOG_NetWkSta_Stuck_VC_Err}
657
* Hanging up a stuck session to %1.
660
NELOG_NetWkSta_NCB_Err = ERRLOG_BASE + 95;
661
{$EXTERNALSYM NELOG_NetWkSta_NCB_Err}
664
* A network control block (NCB) error occurred (%1).
665
* The NCB is the data.
668
NELOG_NetWkSta_Write_Behind_Err = ERRLOG_BASE + 96;
669
{$EXTERNALSYM NELOG_NetWkSta_Write_Behind_Err}
672
* A write operation to %1 failed.
673
* Data may have been lost.
676
NELOG_NetWkSta_Reset_Err = ERRLOG_BASE + 97;
677
{$EXTERNALSYM NELOG_NetWkSta_Reset_Err}
680
* Reset of driver %1 failed to complete the network control block (NCB).
681
* The NCB is the data.
684
NELOG_NetWkSta_Too_Many = ERRLOG_BASE + 98;
685
{$EXTERNALSYM NELOG_NetWkSta_Too_Many}
688
* The amount of resource %1 requested was more
689
* than the maximum. The maximum amount was allocated.
693
// Spooler specific error log messages from 100 to 103
696
NELOG_Srv_Thread_Failure = ERRLOG_BASE + 104;
697
{$EXTERNALSYM NELOG_Srv_Thread_Failure}
700
* The server could not create a thread.
701
* The THREADS parameter in the CONFIG.SYS file should be increased.
704
NELOG_Srv_Close_Failure = ERRLOG_BASE + 105;
705
{$EXTERNALSYM NELOG_Srv_Close_Failure}
708
* The server could not close %1.
709
* The file is probably corrupted.
712
NELOG_ReplUserCurDir = ERRLOG_BASE + 106;
713
{$EXTERNALSYM NELOG_ReplUserCurDir}
716
*The replicator cannot update directory %1. It has tree integrity
717
* and is the current directory for some process.
720
NELOG_ReplCannotMasterDir = ERRLOG_BASE + 107;
721
{$EXTERNALSYM NELOG_ReplCannotMasterDir}
724
*The server cannot export directory %1 to client %2.
725
* It is exported from another server.
728
NELOG_ReplUpdateError = ERRLOG_BASE + 108;
729
{$EXTERNALSYM NELOG_ReplUpdateError}
732
*The replication server could not update directory %2 from the source
733
* on %3 due to error %1.
736
NELOG_ReplLostMaster = ERRLOG_BASE + 109;
737
{$EXTERNALSYM NELOG_ReplLostMaster}
740
*Master %1 did not send an update notice for directory %2 at the expected
744
NELOG_NetlogonAuthDCFail = ERRLOG_BASE + 110;
745
{$EXTERNALSYM NELOG_NetlogonAuthDCFail}
748
*This computer could not authenticate with %2, a Windows domain controller
749
* for domain %1, and therefore this computer might deny logon requests.
750
* This inability to authenticate might be caused by another computer on the
751
* same network using the same name or the password for this computer account
752
* is not recognized. If this message appears again, contact your system
756
NELOG_ReplLogonFailed = ERRLOG_BASE + 111;
757
{$EXTERNALSYM NELOG_ReplLogonFailed}
760
*The replicator attempted to log on at %2 as %1 and failed.
763
NELOG_ReplNetErr = ERRLOG_BASE + 112;
764
{$EXTERNALSYM NELOG_ReplNetErr}
767
* Network error %1 occurred.
770
NELOG_ReplMaxFiles = ERRLOG_BASE + 113;
771
{$EXTERNALSYM NELOG_ReplMaxFiles}
774
* Replicator limit for files in a directory has been exceeded.
777
NELOG_ReplMaxTreeDepth = ERRLOG_BASE + 114;
778
{$EXTERNALSYM NELOG_ReplMaxTreeDepth}
781
* Replicator limit for tree depth has been exceeded.
784
NELOG_ReplBadMsg = ERRLOG_BASE + 115;
785
{$EXTERNALSYM NELOG_ReplBadMsg}
788
* Unrecognized message received in mailslot.
791
NELOG_ReplSysErr = ERRLOG_BASE + 116;
792
{$EXTERNALSYM NELOG_ReplSysErr}
795
* System error %1 occurred.
798
NELOG_ReplUserLoged = ERRLOG_BASE + 117;
799
{$EXTERNALSYM NELOG_ReplUserLoged}
802
* Cannot log on. User is currently logged on and argument TRYUSER
806
NELOG_ReplBadImport = ERRLOG_BASE + 118;
807
{$EXTERNALSYM NELOG_ReplBadImport}
810
* IMPORT path %1 cannot be found.
813
NELOG_ReplBadExport = ERRLOG_BASE + 119;
814
{$EXTERNALSYM NELOG_ReplBadExport}
817
* EXPORT path %1 cannot be found.
820
NELOG_ReplSignalFileErr = ERRLOG_BASE + 120;
821
{$EXTERNALSYM NELOG_ReplSignalFileErr}
824
* Replicator failed to update signal file in directory %2 due to
828
NELOG_DiskFT = (ERRLOG_BASE+121);
829
{$EXTERNALSYM NELOG_DiskFT}
832
* Disk Fault Tolerance Error
837
NELOG_ReplAccessDenied = ERRLOG_BASE + 122;
838
{$EXTERNALSYM NELOG_ReplAccessDenied}
841
* Replicator could not access %2
842
* on %3 due to system error %1.
845
NELOG_NetlogonFailedPrimary = ERRLOG_BASE + 123;
846
{$EXTERNALSYM NELOG_NetlogonFailedPrimary}
849
*The primary domain controller for domain %1 has apparently failed.
852
NELOG_NetlogonPasswdSetFailed = ERRLOG_BASE + 124;
853
{$EXTERNALSYM NELOG_NetlogonPasswdSetFailed}
856
* Changing machine account password for account %1 failed with
857
* the following error: %n%2
860
NELOG_NetlogonTrackingError = ERRLOG_BASE + 125;
861
{$EXTERNALSYM NELOG_NetlogonTrackingError}
864
*An error occurred while updating the logon or logoff information for %1.
867
NELOG_NetlogonSyncError = ERRLOG_BASE + 126;
868
{$EXTERNALSYM NELOG_NetlogonSyncError}
871
*An error occurred while synchronizing with primary domain controller %1
874
NELOG_NetlogonRequireSignOrSealError = ERRLOG_BASE + 127;
875
{$EXTERNALSYM NELOG_NetlogonRequireSignOrSealError}
878
* The session setup to the Windows NT or Windows 2000 Domain Controller %1 for the domain %2
879
* failed because %1 does not support signing or sealing the Netlogon
882
* Either upgrade the Domain controller or set the RequireSignOrSeal
883
* registry entry on this machine to 0.
887
// UPS service specific error log messages from 130 to 135
890
NELOG_UPS_PowerOut = ERRLOG_BASE + 130;
891
{$EXTERNALSYM NELOG_UPS_PowerOut}
894
* A power failure was detected at the server.
897
NELOG_UPS_Shutdown = ERRLOG_BASE + 131;
898
{$EXTERNALSYM NELOG_UPS_Shutdown}
901
* The UPS service performed server shut down.
904
NELOG_UPS_CmdFileError = ERRLOG_BASE + 132;
905
{$EXTERNALSYM NELOG_UPS_CmdFileError}
908
* The UPS service did not complete execution of the
909
* user specified shut down command file.
912
NELOG_UPS_CannotOpenDriver = (ERRLOG_BASE+133);
913
{$EXTERNALSYM NELOG_UPS_CannotOpenDriver}
916
* The UPS driver could not be opened. The error code is
920
NELOG_UPS_PowerBack = ERRLOG_BASE + 134;
921
{$EXTERNALSYM NELOG_UPS_PowerBack}
924
* Power has been restored.
927
NELOG_UPS_CmdFileConfig = ERRLOG_BASE + 135;
928
{$EXTERNALSYM NELOG_UPS_CmdFileConfig}
931
* There is a problem with a configuration of user specified
932
* shut down command file.
935
NELOG_UPS_CmdFileExec = ERRLOG_BASE + 136;
936
{$EXTERNALSYM NELOG_UPS_CmdFileExec}
939
* The UPS service failed to execute a user specified shutdown
940
* command file %1. The error code is the data.
944
// Remoteboot server specific error log messages are from 150 to 157
947
NELOG_Missing_Parameter = ERRLOG_BASE + 150;
948
{$EXTERNALSYM NELOG_Missing_Parameter}
951
* Initialization failed because of an invalid or missing
952
* parameter in the configuration file %1.
955
NELOG_Invalid_Config_Line = ERRLOG_BASE + 151;
956
{$EXTERNALSYM NELOG_Invalid_Config_Line}
959
* Initialization failed because of an invalid line in the
960
* configuration file %1. The invalid line is the data.
963
NELOG_Invalid_Config_File = ERRLOG_BASE + 152;
964
{$EXTERNALSYM NELOG_Invalid_Config_File}
967
* Initialization failed because of an error in the configuration
971
NELOG_File_Changed = ERRLOG_BASE + 153;
972
{$EXTERNALSYM NELOG_File_Changed}
975
* The file %1 has been changed after initialization.
976
* The boot-block loading was temporarily terminated.
979
NELOG_Files_Dont_Fit = ERRLOG_BASE + 154;
980
{$EXTERNALSYM NELOG_Files_Dont_Fit}
983
* The files do not fit to the boot-block configuration
984
* file %1. Change the BASE and ORG definitions or the order
988
NELOG_Wrong_DLL_Version = ERRLOG_BASE + 155;
989
{$EXTERNALSYM NELOG_Wrong_DLL_Version}
992
* Initialization failed because the dynamic-link
993
* library %1 returned an incorrect version number.
996
NELOG_Error_in_DLL = ERRLOG_BASE + 156;
997
{$EXTERNALSYM NELOG_Error_in_DLL}
1000
* There was an unrecoverable error in the dynamic-
1001
* link library of the service.
1004
NELOG_System_Error = ERRLOG_BASE + 157;
1005
{$EXTERNALSYM NELOG_System_Error}
1008
* The system returned an unexpected error code.
1009
* The error code is the data.
1012
NELOG_FT_ErrLog_Too_Large = ERRLOG_BASE + 158;
1013
{$EXTERNALSYM NELOG_FT_ErrLog_Too_Large}
1016
* The fault-tolerance error log file, LANROOT\LOGS\FT.LOG,
1020
NELOG_FT_Update_In_Progress = ERRLOG_BASE + 159;
1021
{$EXTERNALSYM NELOG_FT_Update_In_Progress}
1024
* The fault-tolerance error-log file, LANROOT\LOGS\FT.LOG, had the
1025
* update in progress bit set upon opening, which means that the
1026
* system crashed while working on the error log.
1029
NELOG_Joined_Domain = ERRLOG_BASE + 160;
1030
{$EXTERNALSYM NELOG_Joined_Domain}
1033
* This computer has been successfully joined to %1 '%2'.
1036
NELOG_Joined_Workgroup = ERRLOG_BASE + 161;
1037
{$EXTERNALSYM NELOG_Joined_Workgroup}
1040
* This computer has been successfully joined to workgroup '%1'.
1044
// Microsoft has created a generic error log entry for OEMs to use to
1045
// log errors from OEM value added services. The code, which is the
1046
// 2nd arg to NetErrorLogWrite, is 3299. This value is manifest in
1047
// NET/H/ERRLOG.H as NELOG_OEM_Code. The text for error log entry
1048
// NELOG_OEM_Code is: "%1 %2 %3 %4 %5 %6 %7 %8 %9.".
1050
// Microsoft suggests that OEMs use the insertion strings as follows:
1051
// %1: OEM System Name (e.g. 3+Open)
1052
// %2: OEM Service Name (e.g. 3+Mail)
1053
// %3: Severity level (e.g. error, warning, etc.)
1054
// %4: OEM error log entry sub-identifier (e.g. error code #)
1057
// The call to NetErrorWrite must set nstrings = 9, and provide 9
1058
// ASCIIZ strings. If the caller does not have 9 insertion strings,
1059
// provide null strings for the empty insertion strings.
1062
NELOG_OEM_Code = ERRLOG_BASE + 199;
1063
{$EXTERNALSYM NELOG_OEM_Code}
1066
* %1 %2 %3 %4 %5 %6 %7 %8 %9.
1070
// another error log range defined for NT Lanman.
1073
ERRLOG2_BASE = 5700 { New NT NELOG errors start here };
1074
{$EXTERNALSYM ERRLOG2_BASE}
1076
NELOG_NetlogonSSIInitError = ERRLOG2_BASE + 0;
1077
{$EXTERNALSYM NELOG_NetlogonSSIInitError}
1080
* The Netlogon service could not initialize the replication data
1081
* structures successfully. The service was terminated. The following
1082
* error occurred: %n%1
1085
NELOG_NetlogonFailedToUpdateTrustList = ERRLOG2_BASE + 1;
1086
{$EXTERNALSYM NELOG_NetlogonFailedToUpdateTrustList}
1089
* The Netlogon service failed to update the domain trust list. The
1090
* following error occurred: %n%1
1093
NELOG_NetlogonFailedToAddRpcInterface = ERRLOG2_BASE + 2;
1094
{$EXTERNALSYM NELOG_NetlogonFailedToAddRpcInterface}
1097
* The Netlogon service could not add the RPC interface. The
1098
* service was terminated. The following error occurred: %n%1
1101
NELOG_NetlogonFailedToReadMailslot = ERRLOG2_BASE + 3;
1102
{$EXTERNALSYM NELOG_NetlogonFailedToReadMailslot}
1105
* The Netlogon service could not read a mailslot message from %1 due
1106
* to the following error: %n%2
1109
NELOG_NetlogonFailedToRegisterSC = ERRLOG2_BASE + 4;
1110
{$EXTERNALSYM NELOG_NetlogonFailedToRegisterSC}
1113
* The Netlogon service failed to register the service with the
1114
* service controller. The service was terminated. The following
1115
* error occurred: %n%1
1118
NELOG_NetlogonChangeLogCorrupt = ERRLOG2_BASE + 5;
1119
{$EXTERNALSYM NELOG_NetlogonChangeLogCorrupt}
1122
* The change log cache maintained by the Netlogon service for %1
1123
* database changes is inconsistent. The Netlogon service is resetting
1127
NELOG_NetlogonFailedToCreateShare = ERRLOG2_BASE + 6;
1128
{$EXTERNALSYM NELOG_NetlogonFailedToCreateShare}
1131
* The Netlogon service could not create server share %1. The following
1132
* error occurred: %n%2
1135
NELOG_NetlogonDownLevelLogonFailed = ERRLOG2_BASE + 7;
1136
{$EXTERNALSYM NELOG_NetlogonDownLevelLogonFailed}
1139
* The down-level logon request for the user %1 from %2 failed.
1142
NELOG_NetlogonDownLevelLogoffFailed = ERRLOG2_BASE + 8;
1143
{$EXTERNALSYM NELOG_NetlogonDownLevelLogoffFailed}
1146
* The down-level logoff request for the user %1 from %2 failed.
1149
NELOG_NetlogonNTLogonFailed = ERRLOG2_BASE + 9;
1150
{$EXTERNALSYM NELOG_NetlogonNTLogonFailed}
1153
* The Windows NT or Windows 2000 %1 logon request for the user %2\%3 from %4 (via %5)
1157
NELOG_NetlogonNTLogoffFailed = ERRLOG2_BASE + 10;
1158
{$EXTERNALSYM NELOG_NetlogonNTLogoffFailed}
1161
* The Windows NT or Windows 2000 %1 logoff request for the user %2\%3 from %4
1165
NELOG_NetlogonPartialSyncCallSuccess = ERRLOG2_BASE + 11;
1166
{$EXTERNALSYM NELOG_NetlogonPartialSyncCallSuccess}
1169
* The partial synchronization request from the server %1 completed
1170
* successfully. %2 changes(s) has(have) been returned to the
1174
NELOG_NetlogonPartialSyncCallFailed = ERRLOG2_BASE + 12;
1175
{$EXTERNALSYM NELOG_NetlogonPartialSyncCallFailed}
1178
* The partial synchronization request from the server %1 failed with
1179
* the following error: %n%2
1182
NELOG_NetlogonFullSyncCallSuccess = ERRLOG2_BASE + 13;
1183
{$EXTERNALSYM NELOG_NetlogonFullSyncCallSuccess}
1186
* The full synchronization request from the server %1 completed
1187
* successfully. %2 object(s) has(have) been returned to
1191
NELOG_NetlogonFullSyncCallFailed = ERRLOG2_BASE + 14;
1192
{$EXTERNALSYM NELOG_NetlogonFullSyncCallFailed}
1195
* The full synchronization request from the server %1 failed with
1196
* the following error: %n%2
1199
NELOG_NetlogonPartialSyncSuccess = ERRLOG2_BASE + 15;
1200
{$EXTERNALSYM NELOG_NetlogonPartialSyncSuccess}
1203
* The partial synchronization replication of the %1 database from the
1204
* primary domain controller %2 completed successfully. %3 change(s) is(are)
1205
* applied to the database.
1208
NELOG_NetlogonPartialSyncFailed = ERRLOG2_BASE + 16;
1209
{$EXTERNALSYM NELOG_NetlogonPartialSyncFailed}
1212
* The partial synchronization replication of the %1 database from the
1213
* primary domain controller %2 failed with the following error: %n%3
1216
NELOG_NetlogonFullSyncSuccess = ERRLOG2_BASE + 17;
1217
{$EXTERNALSYM NELOG_NetlogonFullSyncSuccess}
1220
* The full synchronization replication of the %1 database from the
1221
* primary domain controller %2 completed successfully.
1224
NELOG_NetlogonFullSyncFailed = ERRLOG2_BASE + 18;
1225
{$EXTERNALSYM NELOG_NetlogonFullSyncFailed}
1228
* The full synchronization replication of the %1 database from the
1229
* primary domain controller %2 failed with the following error: %n%3
1232
NELOG_NetlogonAuthNoDomainController = ERRLOG2_BASE + 19;
1233
{$EXTERNALSYM NELOG_NetlogonAuthNoDomainController}
1236
* This computer was not able to set up a secure session with a domain
1237
* controller in domain %1 due to the following: %n%2
1238
* %nThis may lead to authentication problems. Make sure that this
1239
* computer is connected to the network. If the problem persists,
1240
* please contact your domain administrator.
1242
* %n%nADDITIONAL INFO
1243
* %nIf this computer is a domain controller for the specified domain, it
1244
* sets up the secure session to the primary domain controller emulator in the specified
1245
* domain. Otherwise, this computer sets up the secure session to any domain controller
1246
* in the specified domain.
1249
NELOG_NetlogonAuthNoTrustLsaSecret = ERRLOG2_BASE + 20;
1250
{$EXTERNALSYM NELOG_NetlogonAuthNoTrustLsaSecret}
1253
* The session setup to the Windows NT or Windows 2000 Domain Controller %1 for the domain %2
1254
* failed because the computer %3 does not have a local security database account.
1257
NELOG_NetlogonAuthNoTrustSamAccount = ERRLOG2_BASE + 21;
1258
{$EXTERNALSYM NELOG_NetlogonAuthNoTrustSamAccount}
1261
* The session setup to the Windows NT or Windows 2000 Domain Controller %1 for the domain %2
1262
* failed because the Domain Controller did not have an account %4
1263
* needed to set up the session by this computer %3.
1265
* %n%nADDITIONAL DATA
1266
* %nIf this computer is a member of or a Domain Controller in the specified domain, the
1267
* aforementioned account is a computer account for this computer in the specified domain.
1268
* Otherwise, the account is an interdomain trust account with the specified domain.
1271
NELOG_NetlogonServerAuthFailed = ERRLOG2_BASE + 22;
1272
{$EXTERNALSYM NELOG_NetlogonServerAuthFailed}
1275
* The session setup from the computer %1 failed to authenticate.
1276
* The name(s) of the account(s) referenced in the security database is
1277
* %2. The following error occurred: %n%3
1280
NELOG_NetlogonServerAuthNoTrustSamAccount = ERRLOG2_BASE + 23;
1281
{$EXTERNALSYM NELOG_NetlogonServerAuthNoTrustSamAccount}
1284
* The session setup from computer '%1' failed because the security database
1285
* does not contain a trust account '%2' referenced by the specified computer.
1289
* %nIf this is the first occurrence of this event for the specified computer
1290
* and account, this may be a transient issue that doesn't require any action
1291
* at this time. Otherwise, the following steps may be taken to resolve this problem:
1293
* %n%nIf '%2' is a legitimate machine account for the computer '%1', then '%1'
1294
* should be rejoined to the domain.
1296
* %n%nIf '%2' is a legitimate interdomain trust account, then the trust should
1299
* %n%nOtherwise, assuming that '%2' is not a legitimate account, the following
1300
* action should be taken on '%1':
1302
* %n%nIf '%1' is a Domain Controller, then the trust associated with '%2' should be deleted.
1304
* %n%nIf '%1' is not a Domain Controller, it should be disjoined from the domain.
1308
// General log messages for NT services.
1311
NELOG_FailedToRegisterSC = ERRLOG2_BASE + 24;
1312
{$EXTERNALSYM NELOG_FailedToRegisterSC}
1315
* Could not register control handler with service controller %1.
1318
NELOG_FailedToSetServiceStatus = ERRLOG2_BASE + 25;
1319
{$EXTERNALSYM NELOG_FailedToSetServiceStatus}
1322
* Could not set service status with service controller %1.
1325
NELOG_FailedToGetComputerName = ERRLOG2_BASE + 26;
1326
{$EXTERNALSYM NELOG_FailedToGetComputerName}
1329
* Could not find the computer name %1.
1332
NELOG_DriverNotLoaded = ERRLOG2_BASE + 27;
1333
{$EXTERNALSYM NELOG_DriverNotLoaded}
1336
* Could not load %1 device driver.
1339
NELOG_NoTranportLoaded = ERRLOG2_BASE + 28;
1340
{$EXTERNALSYM NELOG_NoTranportLoaded}
1343
* Could not load any transport.
1347
// More Netlogon service events
1350
NELOG_NetlogonFailedDomainDelta = ERRLOG2_BASE + 29;
1351
{$EXTERNALSYM NELOG_NetlogonFailedDomainDelta}
1354
* Replication of the %1 Domain Object "%2" from primary domain controller
1355
* %3 failed with the following error: %n%4
1358
NELOG_NetlogonFailedGlobalGroupDelta = ERRLOG2_BASE + 30;
1359
{$EXTERNALSYM NELOG_NetlogonFailedGlobalGroupDelta}
1362
* Replication of the %1 Global Group "%2" from primary domain controller
1363
* %3 failed with the following error: %n%4
1366
NELOG_NetlogonFailedLocalGroupDelta = ERRLOG2_BASE + 31;
1367
{$EXTERNALSYM NELOG_NetlogonFailedLocalGroupDelta}
1370
* Replication of the %1 Local Group "%2" from primary domain controller
1371
* %3 failed with the following error: %n%4
1374
NELOG_NetlogonFailedUserDelta = ERRLOG2_BASE + 32;
1375
{$EXTERNALSYM NELOG_NetlogonFailedUserDelta}
1378
* Replication of the %1 User "%2" from primary domain controller
1379
* %3 failed with the following error: %n%4
1382
NELOG_NetlogonFailedPolicyDelta = ERRLOG2_BASE + 33;
1383
{$EXTERNALSYM NELOG_NetlogonFailedPolicyDelta}
1386
* Replication of the %1 Policy Object "%2" from primary domain controller
1387
* %3 failed with the following error: %n%4
1390
NELOG_NetlogonFailedTrustedDomainDelta = ERRLOG2_BASE + 34;
1391
{$EXTERNALSYM NELOG_NetlogonFailedTrustedDomainDelta}
1394
* Replication of the %1 Trusted Domain Object "%2" from primary domain controller
1395
* %3 failed with the following error: %n%4
1398
NELOG_NetlogonFailedAccountDelta = ERRLOG2_BASE + 35;
1399
{$EXTERNALSYM NELOG_NetlogonFailedAccountDelta}
1402
* Replication of the %1 Account Object "%2" from primary domain controller
1403
* %3 failed with the following error: %n%4
1406
NELOG_NetlogonFailedSecretDelta = ERRLOG2_BASE + 36;
1407
{$EXTERNALSYM NELOG_NetlogonFailedSecretDelta}
1410
* Replication of the %1 Secret "%2" from primary domain controller
1411
* %3 failed with the following error: %n%4
1414
NELOG_NetlogonSystemError = ERRLOG2_BASE + 37;
1415
{$EXTERNALSYM NELOG_NetlogonSystemError}
1418
* The system returned the following unexpected error code: %n%1
1421
NELOG_NetlogonDuplicateMachineAccounts = ERRLOG2_BASE + 38;
1422
{$EXTERNALSYM NELOG_NetlogonDuplicateMachineAccounts}
1425
* Netlogon has detected two machine accounts for server "%1".
1426
* The server can be either a Windows 2000 Server that is a member of the
1427
* domain or the server can be a LAN Manager server with an account in the
1428
* SERVERS global group. It cannot be both.
1431
NELOG_NetlogonTooManyGlobalGroups = ERRLOG2_BASE + 39;
1432
{$EXTERNALSYM NELOG_NetlogonTooManyGlobalGroups}
1435
* This domain has more global groups than can be replicated to a LanMan
1436
* BDC. Either delete some of your global groups or remove the LanMan
1437
* BDCs from the domain.
1440
NELOG_NetlogonBrowserDriver = ERRLOG2_BASE + 40;
1441
{$EXTERNALSYM NELOG_NetlogonBrowserDriver}
1444
* The Browser driver returned the following error to Netlogon: %n%1
1447
NELOG_NetlogonAddNameFailure = ERRLOG2_BASE + 41;
1448
{$EXTERNALSYM NELOG_NetlogonAddNameFailure}
1451
* Netlogon could not register the %1<1B> name for the following reason: %n%2
1455
// More Remoteboot service events.
1457
NELOG_RplMessages = ERRLOG2_BASE + 42;
1458
{$EXTERNALSYM NELOG_RplMessages}
1461
* Service failed to retrieve messages needed to boot remote boot clients.
1464
NELOG_RplXnsBoot = ERRLOG2_BASE + 43;
1465
{$EXTERNALSYM NELOG_RplXnsBoot}
1468
* Service experienced a severe error and can no longer provide remote boot
1469
* for 3Com 3Start remote boot clients.
1472
NELOG_RplSystem = ERRLOG2_BASE + 44;
1473
{$EXTERNALSYM NELOG_RplSystem}
1476
* Service experienced a severe system error and will shut itself down.
1479
NELOG_RplWkstaTimeout = ERRLOG2_BASE + 45;
1480
{$EXTERNALSYM NELOG_RplWkstaTimeout}
1483
* Client with computer name %1 failed to acknowledge receipt of the
1484
* boot data. Remote boot of this client was not completed.
1487
NELOG_RplWkstaFileOpen = ERRLOG2_BASE + 46;
1488
{$EXTERNALSYM NELOG_RplWkstaFileOpen}
1491
* Client with computer name %1 was not booted due to an error in opening
1495
NELOG_RplWkstaFileRead = ERRLOG2_BASE + 47;
1496
{$EXTERNALSYM NELOG_RplWkstaFileRead}
1499
* Client with computer name %1 was not booted due to an error in reading
1503
NELOG_RplWkstaMemory = ERRLOG2_BASE + 48;
1504
{$EXTERNALSYM NELOG_RplWkstaMemory}
1507
* Client with computer name %1 was not booted due to insufficient memory
1508
* at the remote boot server.
1511
NELOG_RplWkstaFileChecksum = ERRLOG2_BASE + 49;
1512
{$EXTERNALSYM NELOG_RplWkstaFileChecksum}
1515
* Client with computer name %1 will be booted without using checksums
1516
* because checksum for file %2 could not be calculated.
1519
NELOG_RplWkstaFileLineCount = ERRLOG2_BASE + 50;
1520
{$EXTERNALSYM NELOG_RplWkstaFileLineCount}
1523
* Client with computer name %1 was not booted due to too many lines in
1527
NELOG_RplWkstaBbcFile = ERRLOG2_BASE + 51;
1528
{$EXTERNALSYM NELOG_RplWkstaBbcFile}
1531
* Client with computer name %1 was not booted because the boot block
1532
* configuration file %2 for this client does not contain boot block
1533
* line and/or loader line.
1536
NELOG_RplWkstaFileSize = ERRLOG2_BASE + 52;
1537
{$EXTERNALSYM NELOG_RplWkstaFileSize}
1540
* Client with computer name %1 was not booted due to a bad size of
1544
NELOG_RplWkstaInternal = ERRLOG2_BASE + 53;
1545
{$EXTERNALSYM NELOG_RplWkstaInternal}
1548
* Client with computer name %1 was not booted due to remote boot
1549
* service internal error.
1552
NELOG_RplWkstaWrongVersion = ERRLOG2_BASE + 54;
1553
{$EXTERNALSYM NELOG_RplWkstaWrongVersion}
1556
* Client with computer name %1 was not booted because file %2 has an
1557
* invalid boot header.
1560
NELOG_RplWkstaNetwork = ERRLOG2_BASE + 55;
1561
{$EXTERNALSYM NELOG_RplWkstaNetwork}
1564
* Client with computer name %1 was not booted due to network error.
1567
NELOG_RplAdapterResource = ERRLOG2_BASE + 56;
1568
{$EXTERNALSYM NELOG_RplAdapterResource}
1571
* Client with adapter id %1 was not booted due to lack of resources.
1574
NELOG_RplFileCopy = ERRLOG2_BASE + 57;
1575
{$EXTERNALSYM NELOG_RplFileCopy}
1578
* Service experienced error copying file or directory %1.
1581
NELOG_RplFileDelete = ERRLOG2_BASE + 58;
1582
{$EXTERNALSYM NELOG_RplFileDelete}
1585
* Service experienced error deleting file or directory %1.
1588
NELOG_RplFilePerms = ERRLOG2_BASE + 59;
1589
{$EXTERNALSYM NELOG_RplFilePerms}
1592
* Service experienced error setting permissions on file or directory %1.
1594
NELOG_RplCheckConfigs = ERRLOG2_BASE + 60;
1595
{$EXTERNALSYM NELOG_RplCheckConfigs}
1598
* Service experienced error evaluating RPL configurations.
1600
NELOG_RplCreateProfiles = ERRLOG2_BASE + 61;
1601
{$EXTERNALSYM NELOG_RplCreateProfiles}
1604
* Service experienced error creating RPL profiles for all configurations.
1606
NELOG_RplRegistry = ERRLOG2_BASE + 62;
1607
{$EXTERNALSYM NELOG_RplRegistry}
1610
* Service experienced error accessing registry.
1612
NELOG_RplReplaceRPLDISK = ERRLOG2_BASE + 63;
1613
{$EXTERNALSYM NELOG_RplReplaceRPLDISK}
1616
* Service experienced error replacing possibly outdated RPLDISK.SYS.
1618
NELOG_RplCheckSecurity = ERRLOG2_BASE + 64;
1619
{$EXTERNALSYM NELOG_RplCheckSecurity}
1622
* Service experienced error adding security accounts or setting
1623
* file permissions. These accounts are the RPLUSER local group
1624
* and the user accounts for the individual RPL workstations.
1626
NELOG_RplBackupDatabase = ERRLOG2_BASE + 65;
1627
{$EXTERNALSYM NELOG_RplBackupDatabase}
1630
* Service failed to back up its database.
1632
NELOG_RplInitDatabase = ERRLOG2_BASE + 66;
1633
{$EXTERNALSYM NELOG_RplInitDatabase}
1636
* Service failed to initialize from its database. The database may be
1637
* missing or corrupted. Service will attempt restoring the database
1640
NELOG_RplRestoreDatabaseFailure = ERRLOG2_BASE + 67;
1641
{$EXTERNALSYM NELOG_RplRestoreDatabaseFailure}
1644
* Service failed to restore its database from the backup. Service
1647
NELOG_RplRestoreDatabaseSuccess = ERRLOG2_BASE + 68;
1648
{$EXTERNALSYM NELOG_RplRestoreDatabaseSuccess}
1651
* Service successfully restored its database from the backup.
1653
NELOG_RplInitRestoredDatabase = ERRLOG2_BASE + 69;
1654
{$EXTERNALSYM NELOG_RplInitRestoredDatabase}
1657
* Service failed to initialize from its restored database. Service
1662
// More Netlogon and RPL service events
1664
NELOG_NetlogonSessionTypeWrong = ERRLOG2_BASE + 70;
1665
{$EXTERNALSYM NELOG_NetlogonSessionTypeWrong}
1668
* The session setup to the Windows NT or Windows 2000 Domain Controller %1 from computer
1669
* %2 using account %4 failed. %2 is declared to be a BDC in domain %3.
1670
* However, %2 tried to connect as either a DC in a trusted domain,
1671
* a member workstation in domain %3, or as a server in domain %3.
1672
* Use the Active Directory Users and Computers tool or Server Manager to remove the BDC account for %2.
1674
NELOG_RplUpgradeDBTo40 = ERRLOG2_BASE + 71;
1675
{$EXTERNALSYM NELOG_RplUpgradeDBTo40}
1678
* The Remoteboot database was in NT 3.5 / NT 3.51 format and NT is
1679
* attempting to convert it to NT 4.0 format. The JETCONV converter
1680
* will write to the Application event log when it is finished.
1682
NELOG_NetlogonLanmanBdcsNotAllowed = ERRLOG2_BASE + 72;
1683
{$EXTERNALSYM NELOG_NetlogonLanmanBdcsNotAllowed}
1686
* Global group SERVERS exists in domain %1 and has members.
1687
* This group defines Lan Manager BDCs in the domain.
1688
* Lan Manager BDCs are not permitted in NT domains.
1690
NELOG_NetlogonNoDynamicDns = ERRLOG2_BASE + 73;
1691
{$EXTERNALSYM NELOG_NetlogonNoDynamicDns}
1694
* The following DNS server that is authoritative for the DNS domain controller
1695
* locator records of this domain controller does not support dynamic DNS updates:
1697
* %n%nDNS server IP address: %1
1698
* %nReturned Response Code (RCODE): %2
1699
* %nReturned Status Code: %3
1703
* %nConfigure the DNS server to allow dynamic DNS updates or manually add the DNS
1704
* records from the file '%SystemRoot%\System32\Config\Netlogon.dns' to the DNS database.
1707
NELOG_NetlogonDynamicDnsRegisterFailure = ERRLOG2_BASE + 74;
1708
{$EXTERNALSYM NELOG_NetlogonDynamicDnsRegisterFailure}
1712
* The dynamic registration of the DNS record '%1' failed on the following DNS server:
1714
* %n%nDNS server IP address: %3
1715
* %nReturned Response Code (RCODE): %4
1716
* %nReturned Status Code: %5
1718
* %n%nFor computers and users to locate this domain controller, this record must be
1719
* registered in DNS.
1723
* %nDetermine what might have caused this failure, resolve the problem, and initiate
1724
* registration of the DNS records by the domain controller. To determine what might
1725
* have caused this failure, run DCDiag.exe. You can find this program on the Windows
1726
* Server 2003 installation CD in Support\Tools\support.cab. To learn more about
1727
* DCDiag.exe, see Help and Support Center. To initiate registration of the DNS records by
1728
* this domain controller, run 'nltest.exe /dsregdns' from the command prompt on the domain
1729
* controller or restart Net Logon service. Nltest.exe is available in the Microsoft Windows
1730
* Server Resource Kit CD. %n Or, you can manually add this record to DNS, but it is not
1733
* %n%nADDITIONAL DATA
1738
NELOG_NetlogonDynamicDnsDeregisterFailure = ERRLOG2_BASE + 75;
1739
{$EXTERNALSYM NELOG_NetlogonDynamicDnsDeregisterFailure}
1742
* The dynamic deletion of the DNS record '%1' failed on the following DNS server:
1744
* %n%nDNS server IP address: %3
1745
* %nReturned Response Code (RCODE): %4
1746
* %nReturned Status Code: %5
1750
* %nTo prevent remote computers from connecting unnecessarily to the domain controller,
1751
* delete the record manually or troubleshoot the failure to dynamically delete the
1752
* record. To learn more about debugging DNS, see Help and Support Center.
1754
* %n%nADDITIONAL DATA
1758
NELOG_NetlogonFailedFileCreate = ERRLOG2_BASE + 76;
1759
{$EXTERNALSYM NELOG_NetlogonFailedFileCreate}
1762
* Failed to create/open file %1 with the following error: %n%2
1765
NELOG_NetlogonGetSubnetToSite = ERRLOG2_BASE + 77;
1766
{$EXTERNALSYM NELOG_NetlogonGetSubnetToSite}
1769
* Netlogon got the following error while trying to get the subnet to site
1770
* mapping information from the DS: %n%1
1773
NELOG_NetlogonNoSiteForClient = ERRLOG2_BASE + 78;
1774
{$EXTERNALSYM NELOG_NetlogonNoSiteForClient}
1777
* '%1' tried to determine its site by looking up its IP address ('%2')
1778
* in the Configuration\Sites\Subnets container in the DS. No subnet matched
1779
* the IP address. Consider adding a subnet object for this IP address.
1782
NELOG_NetlogonBadSiteName = ERRLOG2_BASE + 79;
1783
{$EXTERNALSYM NELOG_NetlogonBadSiteName}
1786
* The site name for this computer is '%1'. That site name is not a valid
1787
* site name. A site name must be a valid DNS label.
1788
* Rename the site to be a valid name.
1791
NELOG_NetlogonBadSubnetName = ERRLOG2_BASE + 80;
1792
{$EXTERNALSYM NELOG_NetlogonBadSubnetName}
1795
* The subnet object '%1' appears in the Configuration\Sites\Subnets
1796
* container in the DS. The name is not syntactically valid. The valid
1797
* syntax is xx.xx.xx.xx/yy where xx.xx.xx.xx is a valid IP subnet number
1798
* and yy is the number of bits in the subnet mask.
1800
* Correct the name of the subnet object.
1803
NELOG_NetlogonDynamicDnsServerFailure = ERRLOG2_BASE + 81;
1804
{$EXTERNALSYM NELOG_NetlogonDynamicDnsServerFailure}
1807
* Dynamic registration or deletion of one or more DNS records associated with DNS
1808
* domain '%1' failed. These records are used by other computers to locate this
1809
* server as a domain controller (if the specified domain is an Active Directory
1810
* domain) or as an LDAP server (if the specified domain is an application partition).
1812
* %n%nPossible causes of failure include:
1814
* %n- TCP/IP properties of the network connections of this computer contain wrong IP address(es) of the preferred and alternate DNS servers
1815
* %n- Specified preferred and alternate DNS servers are not running
1816
* %n- DNS server(s) primary for the records to be registered is not running
1817
* %n- Preferred or alternate DNS servers are configured with wrong root hints
1818
* %n- Parent DNS zone contains incorrect delegation to the child zone authoritative for the DNS records that failed registration
1822
* %nFix possible misconfiguration(s) specified above and initiate registration or deletion of
1823
* the DNS records by running 'nltest.exe /dsregdns' from the command prompt or by restarting
1824
* Net Logon service. Nltest.exe is available in the Microsoft Windows Server Resource Kit CD.
1827
NELOG_NetlogonDynamicDnsFailure = ERRLOG2_BASE + 82;
1828
{$EXTERNALSYM NELOG_NetlogonDynamicDnsFailure}
1831
* Dynamic registration or deregistration of one or more DNS records failed with the following error: %n%1
1834
NELOG_NetlogonRpcCallCancelled = ERRLOG2_BASE + 83;
1835
{$EXTERNALSYM NELOG_NetlogonRpcCallCancelled}
1838
* The session setup to the Windows NT or Windows 2000 Domain Controller %1 for the domain %2
1839
* is not responsive. The current RPC call from Netlogon on \\%3 to %1 has been cancelled.
1842
NELOG_NetlogonDcSiteCovered = ERRLOG2_BASE + 84;
1843
{$EXTERNALSYM NELOG_NetlogonDcSiteCovered}
1846
* Site '%2' does not have any Domain Controllers for domain '%3'.
1847
* Domain Controllers in site '%1' have been automatically
1848
* selected to cover site '%2' for domain '%3' based on configured
1849
* Directory Server replication costs.
1852
NELOG_NetlogonDcSiteNotCovered = ERRLOG2_BASE + 85;
1853
{$EXTERNALSYM NELOG_NetlogonDcSiteNotCovered}
1856
* This Domain Controller no longer automatically covers site '%1' for domain '%2'.
1859
NELOG_NetlogonGcSiteCovered = ERRLOG2_BASE + 86;
1860
{$EXTERNALSYM NELOG_NetlogonGcSiteCovered}
1863
* Site '%2' does not have any Global Catalog servers for forest '%3'.
1864
* Global Catalog servers in site '%1' have been automatically
1865
* selected to cover site '%2' for forest '%3' based on configured
1866
* Directory Server replication costs.
1869
NELOG_NetlogonGcSiteNotCovered = ERRLOG2_BASE + 87;
1870
{$EXTERNALSYM NELOG_NetlogonGcSiteNotCovered}
1873
* This Global Catalog server no longer automatically covers site '%1' for forest '%2'.
1876
NELOG_NetlogonFailedSpnUpdate = ERRLOG2_BASE + 88;
1877
{$EXTERNALSYM NELOG_NetlogonFailedSpnUpdate}
1880
* Attempt to update HOST Service Principal Names (SPNs) of the computer
1881
* object in Active Directory failed. The updated values were '%1' and '%2'.
1882
* The following error occurred: %n%3
1885
NELOG_NetlogonFailedDnsHostNameUpdate = ERRLOG2_BASE + 89;
1886
{$EXTERNALSYM NELOG_NetlogonFailedDnsHostNameUpdate}
1889
* Attempt to update DNS Host Name of the computer object
1890
* in Active Directory failed. The updated value was '%1'.
1891
* The following error occurred: %n%2
1894
NELOG_NetlogonAuthNoUplevelDomainController = ERRLOG2_BASE + 90;
1895
{$EXTERNALSYM NELOG_NetlogonAuthNoUplevelDomainController}
1898
* No suitable Domain Controller is available for domain %1.
1899
* An NT4 or older domain controller is available but it cannot
1900
* be used for authentication purposes in the Windows 2000 or newer
1901
* domain that this computer is a member of.
1902
* The following error occurred:%n%2
1905
NELOG_NetlogonAuthDomainDowngraded = ERRLOG2_BASE + 91;
1906
{$EXTERNALSYM NELOG_NetlogonAuthDomainDowngraded}
1909
* The domain of this computer, %1 has been downgraded from Windows 2000
1910
* or newer to Windows NT4 or older. The computer cannot function properly
1911
* in this case for authentication purposes. This computer needs to rejoin
1913
* The following error occurred:%n%2
1916
NELOG_NetlogonNdncSiteCovered = ERRLOG2_BASE + 92;
1917
{$EXTERNALSYM NELOG_NetlogonNdncSiteCovered}
1920
* Site '%2' does not have any LDAP servers for non-domain NC '%3'.
1921
* LDAP servers in site '%1' have been automatically selected to
1922
* cover site '%2' for non-domain NC '%3' based on configured
1923
* Directory Server replication costs.
1926
NELOG_NetlogonNdncSiteNotCovered = ERRLOG2_BASE + 93;
1927
{$EXTERNALSYM NELOG_NetlogonNdncSiteNotCovered}
1930
* This LDAP server no longer automatically covers site '%1' for non-domain NC '%2'.
1933
NELOG_NetlogonDcOldSiteCovered = ERRLOG2_BASE + 94;
1934
{$EXTERNALSYM NELOG_NetlogonDcOldSiteCovered}
1937
* Site '%2' is no longer manually configured in the registry as
1938
* covered by this Domain Controller for domain '%3'. As a result,
1939
* site '%2' does not have any Domain Controllers for domain '%3'.
1940
* Domain Controllers in site '%1' have been automatically
1941
* selected to cover site '%2' for domain '%3' based on configured
1942
* Directory Server replication costs.
1945
NELOG_NetlogonDcSiteNotCoveredAuto = ERRLOG2_BASE + 95;
1946
{$EXTERNALSYM NELOG_NetlogonDcSiteNotCoveredAuto}
1949
* This Domain Controller no longer automatically covers site '%1' for domain '%2'.
1950
* However, site '%1' is still (manually) covered by this Domain Controller for
1951
* domain '%2' since this site has been manually configured in the registry.
1954
NELOG_NetlogonGcOldSiteCovered = ERRLOG2_BASE + 96;
1955
{$EXTERNALSYM NELOG_NetlogonGcOldSiteCovered}
1958
* Site '%2' is no longer manually configured in the registry as
1959
* covered by this Global Catalog server for forest '%3'. As a result,
1960
* site '%2' does not have any Global Catalog servers for forest '%3'.
1961
* Global Catalog servers in site '%1' have been automatically
1962
* selected to cover site '%2' for forest '%3' based on configured
1963
* Directory Server replication costs.
1966
NELOG_NetlogonGcSiteNotCoveredAuto = ERRLOG2_BASE + 97;
1967
{$EXTERNALSYM NELOG_NetlogonGcSiteNotCoveredAuto}
1970
* This Global Catalog server no longer automatically covers site '%1' for forest '%2'.
1971
* However, site '%1' is still (manually) covered by this Global catalog for
1972
* forest '%2' since this site has been manually configured in the registry.
1975
NELOG_NetlogonNdncOldSiteCovered = ERRLOG2_BASE + 98;
1976
{$EXTERNALSYM NELOG_NetlogonNdncOldSiteCovered}
1979
* Site '%2' is no longer manually configured in the registry as
1980
* covered by this LDAP server for non-domain NC '%3'. As a result,
1981
* site '%2' does not have any LDAP servers for non-domain NC '%3'.
1982
* LDAP servers in site '%1' have been automatically
1983
* selected to cover site '%2' for non-domain NC '%3' based on
1984
* configured Directory Server replication costs.
1987
NELOG_NetlogonNdncSiteNotCoveredAuto = ERRLOG2_BASE + 99;
1988
{$EXTERNALSYM NELOG_NetlogonNdncSiteNotCoveredAuto}
1991
* This LDAP server no longer automatically covers site '%1' for non-domain NC '%2'.
1992
* However, site '%1' is still (manually) covered by this LDAP server for
1993
* non-domain NC '%2' since this site has been manually configured in the registry.
1996
NELOG_NetlogonSpnMultipleSamAccountNames = ERRLOG2_BASE + 100;
1997
{$EXTERNALSYM NELOG_NetlogonSpnMultipleSamAccountNames}
2000
* Attempt to update DnsHostName and HOST Service Principal Name (SPN) attributes
2001
* of the computer object in Active Directory failed because the Domain Controller
2002
* '%1' had more than one account with the name '%2' corresponding to this computer.
2003
* Not having SPNs registered may result in authentication failures for this computer.
2004
* Contact your domain administrator who may need to manually resolve the account name
2008
NELOG_NetlogonSpnCrackNamesFailure = ERRLOG2_BASE + 101;
2009
{$EXTERNALSYM NELOG_NetlogonSpnCrackNamesFailure}
2012
* Attempt to update DnsHostName and HOST Service Principal Name (SPN) attributes
2013
* of the computer object in Active Directory failed because this computer account
2014
* name, '%2' could not be mapped to the computer object on Domain Controller '%1'.
2015
* Not having SPNs registered may result in authentication failures for this computer.
2016
* Contact your domain administrator. The following technical information may be
2017
* useful for the resolution of this failure:%n
2018
* DsCrackNames status = 0x%3, crack error = 0x%4.
2021
NELOG_NetlogonNoAddressToSiteMapping = ERRLOG2_BASE + 102;
2022
{$EXTERNALSYM NELOG_NetlogonNoAddressToSiteMapping}
2025
* None of the IP addresses (%2) of this Domain Controller map to the configured site '%1'.
2026
* While this may be a temporary situation due to IP address changes, it is generally
2027
* recommended that the IP address of the Domain Controller (accessible to machines in
2028
* its domain) maps to the Site which it services. If the above list of IP addresses is
2029
* stable, consider moving this server to a site (or create one if it does not already
2030
* exist) such that the above IP address maps to the selected site. This may require the
2031
* creation of a new subnet object (whose range includes the above IP address) which maps
2032
* to the selected site object.
2035
NELOG_NetlogonInvalidGenericParameterValue = ERRLOG2_BASE + 103;
2036
{$EXTERNALSYM NELOG_NetlogonInvalidGenericParameterValue}
2039
* The following error occurred while reading a parameter '%2' in the
2040
* Netlogon %1 registry section:%n%3
2043
NELOG_NetlogonInvalidDwordParameterValue = ERRLOG2_BASE + 104;
2044
{$EXTERNALSYM NELOG_NetlogonInvalidDwordParameterValue}
2047
* The Netlogon %1 registry key contains an invalid value 0x%2 for parameter '%3'.
2048
* The minimum and maximum values allowed for this parameter are 0x%4 and 0x%5, respectively.
2049
* The value of 0x%6 has been assigned to this parameter.
2052
NELOG_NetlogonServerAuthFailedNoAccount = ERRLOG2_BASE + 105;
2053
{$EXTERNALSYM NELOG_NetlogonServerAuthFailedNoAccount}
2056
* The session setup from the computer %1 failed to authenticate.
2057
* The following error occurred: %n%2
2060
NELOG_NetlogonNoDynamicDnsManual = ERRLOG2_BASE + 106;
2061
{$EXTERNALSYM NELOG_NetlogonNoDynamicDnsManual}
2064
* Dynamic DNS updates have been manually disabled on this domain controller.
2068
* %nReconfigure this domain controller to use dynamic DNS updates or manually add the DNS
2069
* records from the file '%SystemRoot%\System32\Config\Netlogon.dns' to the DNS database.
2072
NELOG_NetlogonNoSiteForClients = ERRLOG2_BASE + 107;
2073
{$EXTERNALSYM NELOG_NetlogonNoSiteForClients}
2076
* During the past %1 hours there have been %2 connections to this Domain
2077
* Controller from client machines whose IP addresses don't map to any of
2078
* the existing sites in the enterprise. Those clients, therefore, have
2079
* undefined sites and may connect to any Domain Controller including
2080
* those that are in far distant locations from the clients. A client's site
2081
* is determined by the mapping of its subnet to one of the existing sites.
2082
* To move the above clients to one of the sites, please consider creating
2083
* subnet object(s) covering the above IP addresses with mapping to one of the
2084
* existing sites. The names and IP addresses of the clients in question have
2085
* been logged on this computer in the following log file
2086
* '%SystemRoot%\debug\netlogon.log' and, potentially, in the log file
2087
* '%SystemRoot%\debug\netlogon.bak' created if the former log becomes full.
2088
* The log(s) may contain additional unrelated debugging information. To filter
2089
* out the needed information, please search for lines which contain text
2090
* 'NO_CLIENT_SITE:'. The first word after this string is the client name and
2091
* the second word is the client IP address. The maximum size of the log(s) is
2092
* controlled by the following registry DWORD value
2093
* 'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters\LogFileMaxSize';
2094
* the default is %3 bytes. The current maximum size is %4 bytes. To set a
2095
* different maximum size, create the above registry value and set the desired
2096
* maximum size in bytes.
2099
NELOG_NetlogonDnsDeregAborted = ERRLOG2_BASE + 108;
2100
{$EXTERNALSYM NELOG_NetlogonDnsDeregAborted}
2103
* The deregistration of some DNS domain controller locator records was aborted
2104
* at the time of this domain controller demotion because the DNS deregistrations
2109
* %nManually delete the DNS records listed in the file
2110
* '%SystemRoot%\System32\Config\Netlogon.dns' from the DNS database.
2113
NELOG_NetlogonRpcPortRequestFailure = ERRLOG2_BASE + 109;
2114
{$EXTERNALSYM NELOG_NetlogonRpcPortRequestFailure}
2117
* The NetLogon service on this domain controller has been configured to use port %1
2118
* for incoming RPC connections over TCP/IP from remote machines. However, the
2119
* following error occurred when Netlogon attempted to register this port with the RPC
2120
* endpoint mapper service: %n%2 %nThis will prevent the NetLogon service on remote
2121
* machines from connecting to this domain controller over TCP/IP that may result in
2122
* authentication problems.
2126
* %nThe specified port is configured via the Group Policy or via a registry value 'DcTcpipPort'
2127
* under the 'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters'
2128
* registry key; the value configured through the Group Policy takes precedence. If the
2129
* port specified is in error, reset it to a correct value. You can also remove this
2130
* configuration for the port in which case the port will be assigned dynamically by
2131
* the endpoint mapper at the time the NetLogon service on remote machines makes RPC connections
2132
* to this domain controller. After the misconfiguration is corrected, restart the NetLogon
2133
* service on this machine and verify that this event log no longer appears.
2138
{$IFDEF DYNAMIC_LINK}
2141
_NetErrorLogClear: Pointer;
2143
function NetErrorLogClear;
2145
GetProcedureAddress(_NetErrorLogClear, netapi32, 'NetErrorLogClear');
2149
JMP [_NetErrorLogClear]
2154
_NetErrorLogRead: Pointer;
2156
function NetErrorLogRead;
2158
GetProcedureAddress(_NetErrorLogRead, netapi32, 'NetErrorLogRead');
2162
JMP [_NetErrorLogRead]
2167
_NetErrorLogWrite: Pointer;
2169
function NetErrorLogWrite;
2171
GetProcedureAddress(_NetErrorLogWrite, netapi32, 'NetErrorLogWrite');
2175
JMP [_NetErrorLogWrite]
2181
function NetErrorLogClear; external netapi32 name 'NetErrorLogClear';
2182
function NetErrorLogRead; external netapi32 name 'NetErrorLogRead';
2183
function NetErrorLogWrite; external netapi32 name 'NetErrorLogWrite';
2185
{$ENDIF DYNAMIC_LINK}