~ubuntu-branches/ubuntu/feisty/fpc/feisty

« back to all changes in this revision

Viewing changes to packages/extra/winunits/jwalmerrlog.pas

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2007-01-27 20:08:50 UTC
  • mfrom: (1.2.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20070127200850-9mrptaqqjsx9nwa7
Tags: 2.0.4-5
* Fixed Build-Depends.
* Add myself to Uploaders in debian/control.
* Make sure that the sources are really patched before building them.
* Build unit 'libc' on powerpc too.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
{******************************************************************************}
2
 
{                                                                              }
3
 
{ Lan Manager Error Log API interface Unit for Object Pascal                   }
4
 
{                                                                              }
5
 
{ Portions created by Microsoft are Copyright (C) 1995-2001 Microsoft          }
6
 
{ Corporation. All Rights Reserved.                                            }
7
 
{                                                                              }
8
 
{ The original file is: lmerrlog.h, released November 2001. The original Pascal}
9
 
{ code is: LmErrLog.pas, released Februari 2002. The initial developer of the  }
10
 
{ Pascal code is Marcel van Brakel (brakelm att chello dott nl).               }
11
 
{                                                                              }
12
 
{ Portions created by Marcel van Brakel are Copyright (C) 1999-2001            }
13
 
{ Marcel van Brakel. All Rights Reserved.                                      }
14
 
{                                                                              }
15
 
{ Obtained through: Joint Endeavour of Delphi Innovators (Project JEDI)        }
16
 
{                                                                              }
17
 
{ You may retrieve the latest version of this file at the Project JEDI         }
18
 
{ APILIB home page, located at http://jedi-apilib.sourceforge.net              }
19
 
{                                                                              }
20
 
{ The contents of this file are used with permission, subject to the Mozilla   }
21
 
{ Public License Version 1.1 (the "License"); you may not use this file except }
22
 
{ in compliance with the License. You may obtain a copy of the License at      }
23
 
{ http://www.mozilla.org/MPL/MPL-1.1.html                                      }
24
 
{                                                                              }
25
 
{ Software distributed under the License is distributed on an "AS IS" basis,   }
26
 
{ WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for }
27
 
{ the specific language governing rights and limitations under the License.    }
28
 
{                                                                              }
29
 
{ Alternatively, the contents of this file may be used under the terms of the  }
30
 
{ GNU Lesser General Public License (the  "LGPL License"), in which case the   }
31
 
{ provisions of the LGPL License are applicable instead of those above.        }
32
 
{ If you wish to allow use of your version of this file only under the terms   }
33
 
{ of the LGPL License and not to allow others to use your version of this file }
34
 
{ under the MPL, indicate your decision by deleting  the provisions above and  }
35
 
{ replace  them with the notice and other provisions required by the LGPL      }
36
 
{ License.  If you do not delete the provisions above, a recipient may use     }
37
 
{ your version of this file under either the MPL or the LGPL License.          }
38
 
{                                                                              }
39
 
{ For more information about the LGPL: http://www.gnu.org/copyleft/lesser.html }
40
 
{                                                                              }
41
 
{******************************************************************************}
42
 
 
43
 
// $Id: jwalmerrlog.pas,v 1.1 2005/04/04 07:56:10 marco Exp $
44
 
 
45
 
unit JwaLmErrLog;
46
 
 
47
 
{$WEAKPACKAGEUNIT}
48
 
 
49
 
{$HPPEMIT ''}
50
 
{$HPPEMIT '#include "lmerrlog.h"'}
51
 
{$HPPEMIT ''}
52
 
 
53
 
{$I jediapilib.inc}
54
 
 
55
 
interface
56
 
 
57
 
uses
58
 
  JwaLmCons, JwaWinType;
59
 
 
60
 
//
61
 
// Data Structures - Config
62
 
//
63
 
 
64
 
type
65
 
  _ERROR_LOG = record
66
 
     el_len: DWORD;
67
 
     el_reserved: DWORD;
68
 
     el_time: DWORD;
69
 
     el_error: DWORD;
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.
75
 
  end;
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;
85
 
 
86
 
{$DEFINE REVISED_ERROR_LOG_STRUCT}
87
 
 
88
 
  _HLOG = record
89
 
     time: DWORD;
90
 
     last_flags: DWORD;
91
 
     offset: DWORD;
92
 
     rec_offset: DWORD;
93
 
  end;
94
 
  {$EXTERNALSYM _HLOG}
95
 
  HLOG = _HLOG;
96
 
  {$EXTERNALSYM HLOG}
97
 
  PHLOG = ^HLOG;
98
 
  {$EXTERNALSYM PHLOG}
99
 
  LPHLOG = ^HLOG;
100
 
  {$EXTERNALSYM LPHLOG}
101
 
 
102
 
const
103
 
  LOGFLAGS_FORWARD   = 0;
104
 
  {$EXTERNALSYM LOGFLAGS_FORWARD}
105
 
  LOGFLAGS_BACKWARD  = $1;
106
 
  {$EXTERNALSYM LOGFLAGS_BACKWARD}
107
 
  LOGFLAGS_SEEK      = $2;
108
 
  {$EXTERNALSYM LOGFLAGS_SEEK}
109
 
 
110
 
//
111
 
// Function Prototypes - ErrorLog
112
 
//
113
 
 
114
 
function NetErrorLogClear(server, backupfile: LPCWSTR; reserved: LPBYTE): NET_API_STATUS; stdcall;
115
 
{$EXTERNALSYM NetErrorLogClear}
116
 
 
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}
120
 
 
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}
124
 
 
125
 
//
126
 
// Special Values and Constants
127
 
//
128
 
 
129
 
//
130
 
//  Generic (could be used by more than one service)
131
 
//   error log messages from 0 to 25
132
 
//
133
 
// Do not change the comments following the manifest constants without
134
 
// understanding how mapmsg works.
135
 
//
136
 
 
137
 
const
138
 
  ERRLOG_BASE = 3100;        { NELOG errors start here }
139
 
  {$EXTERNALSYM ERRLOG_BASE}
140
 
 
141
 
  NELOG_Internal_Error = ERRLOG_BASE + 0;
142
 
  {$EXTERNALSYM NELOG_Internal_Error}
143
 
 
144
 
    {
145
 
    * The operation failed because a network software error occurred.
146
 
    }
147
 
 
148
 
  NELOG_Resource_Shortage = ERRLOG_BASE + 1;
149
 
  {$EXTERNALSYM NELOG_Resource_Shortage}
150
 
 
151
 
    {
152
 
    * The system ran out of a resource controlled by the %1 option.
153
 
    }
154
 
 
155
 
  NELOG_Unable_To_Lock_Segment = ERRLOG_BASE + 2;
156
 
  {$EXTERNALSYM NELOG_Unable_To_Lock_Segment}
157
 
 
158
 
    {
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.
161
 
    }
162
 
 
163
 
  NELOG_Unable_To_Unlock_Segment = ERRLOG_BASE + 3;
164
 
  {$EXTERNALSYM NELOG_Unable_To_Unlock_Segment}
165
 
 
166
 
    {
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.
169
 
    }
170
 
 
171
 
  NELOG_Uninstall_Service = ERRLOG_BASE + 4;
172
 
  {$EXTERNALSYM NELOG_Uninstall_Service}
173
 
 
174
 
    {
175
 
    * There was an error stopping service %1.
176
 
    *  The error code from NetServiceControl is the data.
177
 
    }
178
 
 
179
 
  NELOG_Init_Exec_Fail = ERRLOG_BASE + 5;
180
 
  {$EXTERNALSYM NELOG_Init_Exec_Fail}
181
 
 
182
 
    {
183
 
    * Initialization failed because of a system execution failure on
184
 
    *  path %1. The system error code is the data.
185
 
    }
186
 
 
187
 
  NELOG_Ncb_Error = ERRLOG_BASE + 6;
188
 
  {$EXTERNALSYM NELOG_Ncb_Error}
189
 
 
190
 
    {
191
 
    * An unexpected network control block (NCB) was received. The NCB is the data.
192
 
    }
193
 
 
194
 
  NELOG_Net_Not_Started = ERRLOG_BASE + 7;
195
 
  {$EXTERNALSYM NELOG_Net_Not_Started}
196
 
 
197
 
    {
198
 
    * The network is not started.
199
 
    }
200
 
 
201
 
  NELOG_Ioctl_Error = ERRLOG_BASE + 8;
202
 
  {$EXTERNALSYM NELOG_Ioctl_Error}
203
 
 
204
 
    {
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
208
 
    *     WORD   error code
209
 
    *     WORD   ioctl or fsctl number
210
 
    }
211
 
 
212
 
  NELOG_System_Semaphore = ERRLOG_BASE + 9;
213
 
  {$EXTERNALSYM NELOG_System_Semaphore}
214
 
 
215
 
    {
216
 
    * Unable to create or open system semaphore %1.
217
 
    *  The error code is the data.
218
 
    }
219
 
 
220
 
  NELOG_Init_OpenCreate_Err = ERRLOG_BASE + 10;
221
 
  {$EXTERNALSYM NELOG_Init_OpenCreate_Err}
222
 
 
223
 
    {
224
 
    * Initialization failed because of an open/create error on the
225
 
    *  file %1. The system error code is the data.
226
 
    }
227
 
 
228
 
  NELOG_NetBios = ERRLOG_BASE + 11;
229
 
  {$EXTERNALSYM NELOG_NetBios}
230
 
 
231
 
    {
232
 
    * An unexpected NetBIOS error occurred.
233
 
    *  The error code is the data.
234
 
    }
235
 
 
236
 
  NELOG_SMB_Illegal = ERRLOG_BASE + 12;
237
 
  {$EXTERNALSYM NELOG_SMB_Illegal}
238
 
 
239
 
    {
240
 
    * An illegal server message block (SMB) was received.
241
 
    *  The SMB is the data.
242
 
    }
243
 
 
244
 
  NELOG_Service_Fail = ERRLOG_BASE + 13;
245
 
  {$EXTERNALSYM NELOG_Service_Fail}
246
 
 
247
 
    {
248
 
    * Initialization failed because the requested service %1
249
 
    *  could not be started.
250
 
   }
251
 
 
252
 
  NELOG_Entries_Lost = ERRLOG_BASE + 14;
253
 
  {$EXTERNALSYM NELOG_Entries_Lost}
254
 
 
255
 
    {
256
 
    * Some entries in the error log were lost because of a buffer
257
 
    * overflow.
258
 
    }
259
 
 
260
 
//
261
 
//  Server specific error log messages from 20 to 40
262
 
//
263
 
 
264
 
  NELOG_Init_Seg_Overflow = ERRLOG_BASE + 20;
265
 
  {$EXTERNALSYM NELOG_Init_Seg_Overflow}
266
 
 
267
 
    {
268
 
    * Initialization parameters controlling resource usage other
269
 
    *  than net buffers are sized so that too much memory is needed.
270
 
    }
271
 
 
272
 
  NELOG_Srv_No_Mem_Grow = ERRLOG_BASE + 21;
273
 
  {$EXTERNALSYM NELOG_Srv_No_Mem_Grow}
274
 
 
275
 
    {
276
 
    * The server cannot increase the size of a memory segment.
277
 
    }
278
 
 
279
 
  NELOG_Access_File_Bad = ERRLOG_BASE + 22;
280
 
  {$EXTERNALSYM NELOG_Access_File_Bad}
281
 
 
282
 
    {
283
 
    * Initialization failed because account file %1 is either incorrect
284
 
    * or not present.
285
 
    }
286
 
 
287
 
  NELOG_Srvnet_Not_Started = ERRLOG_BASE + 23;
288
 
  {$EXTERNALSYM NELOG_Srvnet_Not_Started}
289
 
 
290
 
    {
291
 
    * Initialization failed because network %1 was not started.
292
 
    }
293
 
 
294
 
  NELOG_Init_Chardev_Err = ERRLOG_BASE + 24;
295
 
  {$EXTERNALSYM NELOG_Init_Chardev_Err}
296
 
 
297
 
    {
298
 
    * The server failed to start. Either all three chdev
299
 
    *  parameters must be zero or all three must be nonzero.
300
 
    }
301
 
 
302
 
  NELOG_Remote_API = ERRLOG_BASE + 25;
303
 
  {$EXTERNALSYM NELOG_Remote_API}
304
 
 
305
 
    { A remote API request was halted due to the following
306
 
    * invalid description string: %1.
307
 
    }
308
 
 
309
 
  NELOG_Ncb_TooManyErr = ERRLOG_BASE + 26;
310
 
  {$EXTERNALSYM NELOG_Ncb_TooManyErr}
311
 
 
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:
315
 
    }
316
 
 
317
 
  NELOG_Mailslot_err = ERRLOG_BASE + 27;
318
 
  {$EXTERNALSYM NELOG_Mailslot_err}
319
 
 
320
 
    { The server cannot create the %1 mailslot needed to send
321
 
    * the ReleaseMemory alert message.  The error received is:
322
 
    }
323
 
 
324
 
  NELOG_ReleaseMem_Alert = ERRLOG_BASE + 28;
325
 
  {$EXTERNALSYM NELOG_ReleaseMem_Alert}
326
 
 
327
 
    { The server failed to register for the ReleaseMemory alert,
328
 
    * with recipient %1. The error code from
329
 
    * NetAlertStart is the data.
330
 
    }
331
 
 
332
 
  NELOG_AT_cannot_write = ERRLOG_BASE + 29;
333
 
  {$EXTERNALSYM NELOG_AT_cannot_write}
334
 
 
335
 
    { The server cannot update the AT schedule file. The file
336
 
    * is corrupted.
337
 
    }
338
 
 
339
 
  NELOG_Cant_Make_Msg_File = ERRLOG_BASE + 30;
340
 
  {$EXTERNALSYM NELOG_Cant_Make_Msg_File}
341
 
 
342
 
    { The server encountered an error when calling
343
 
    * NetIMakeLMFileName. The error code is the data.
344
 
    }
345
 
 
346
 
  NELOG_Exec_Netservr_NoMem = ERRLOG_BASE + 31;
347
 
  {$EXTERNALSYM NELOG_Exec_Netservr_NoMem}
348
 
 
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.
352
 
    }
353
 
 
354
 
  NELOG_Server_Lock_Failure = ERRLOG_BASE + 32;
355
 
  {$EXTERNALSYM NELOG_Server_Lock_Failure}
356
 
 
357
 
    { Longterm lock of the server buffers failed.
358
 
    * Check swap disk's free space and restart the system to start the server.
359
 
    }
360
 
 
361
 
//
362
 
//  Message service and POPUP specific error log messages from 40 to 55
363
 
//
364
 
 
365
 
  NELOG_Msg_Shutdown = ERRLOG_BASE + 40;
366
 
  {$EXTERNALSYM NELOG_Msg_Shutdown}
367
 
 
368
 
    {
369
 
    * The service has stopped due to repeated consecutive
370
 
    *  occurrences of a network control block (NCB) error.  The last bad NCB follows
371
 
    *  in raw data.
372
 
    }
373
 
 
374
 
  NELOG_Msg_Sem_Shutdown = ERRLOG_BASE + 41;
375
 
  {$EXTERNALSYM NELOG_Msg_Sem_Shutdown}
376
 
 
377
 
    {
378
 
    * The Message server has stopped due to a lock on the
379
 
    *  Message server shared data segment.
380
 
    }
381
 
 
382
 
  NELOG_Msg_Log_Err = ERRLOG_BASE + 50;
383
 
  {$EXTERNALSYM NELOG_Msg_Log_Err}
384
 
 
385
 
    {
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.
389
 
    }
390
 
 
391
 
  NELOG_VIO_POPUP_ERR = ERRLOG_BASE + 51;
392
 
  {$EXTERNALSYM NELOG_VIO_POPUP_ERR}
393
 
 
394
 
    {
395
 
    * Unable to display message POPUP due to system VIO call error.
396
 
    *  The error code is the data.
397
 
    }
398
 
 
399
 
  NELOG_Msg_Unexpected_SMB_Type = ERRLOG_BASE + 52;
400
 
  {$EXTERNALSYM NELOG_Msg_Unexpected_SMB_Type}
401
 
 
402
 
    {
403
 
    * An illegal server message block (SMB) was received.  The SMB is the data.
404
 
    }
405
 
 
406
 
//
407
 
//  Workstation specific error log messages from 60 to 75
408
 
//
409
 
 
410
 
  NELOG_Wksta_Infoseg = ERRLOG_BASE + 60;
411
 
  {$EXTERNALSYM NELOG_Wksta_Infoseg}
412
 
 
413
 
    {
414
 
    * The workstation information segment is bigger than 64K.
415
 
    *  The size follows, in DWORD format:
416
 
    }
417
 
 
418
 
  NELOG_Wksta_Compname = ERRLOG_BASE + 61;
419
 
  {$EXTERNALSYM NELOG_Wksta_Compname}
420
 
 
421
 
    {
422
 
    * The workstation was unable to get the name-number of the computer.
423
 
    }
424
 
 
425
 
  NELOG_Wksta_BiosThreadFailure = ERRLOG_BASE + 62;
426
 
  {$EXTERNALSYM NELOG_Wksta_BiosThreadFailure}
427
 
 
428
 
    {
429
 
    * The workstation could not initialize the Async NetBIOS Thread.
430
 
    *  The error code is the data.
431
 
    }
432
 
 
433
 
  NELOG_Wksta_IniSeg = ERRLOG_BASE + 63;
434
 
  {$EXTERNALSYM NELOG_Wksta_IniSeg}
435
 
 
436
 
    {
437
 
    * The workstation could not open the initial shared segment.
438
 
    *  The error code is the data.
439
 
    }
440
 
 
441
 
  NELOG_Wksta_HostTab_Full = ERRLOG_BASE + 64;
442
 
  {$EXTERNALSYM NELOG_Wksta_HostTab_Full}
443
 
 
444
 
    {
445
 
    * The workstation host table is full.
446
 
    }
447
 
 
448
 
  NELOG_Wksta_Bad_Mailslot_SMB = ERRLOG_BASE + 65;
449
 
  {$EXTERNALSYM NELOG_Wksta_Bad_Mailslot_SMB}
450
 
 
451
 
    {
452
 
    * A bad mailslot server message block (SMB) was received.  The SMB is the data.
453
 
    }
454
 
 
455
 
  NELOG_Wksta_UASInit = ERRLOG_BASE + 66;
456
 
  {$EXTERNALSYM NELOG_Wksta_UASInit}
457
 
 
458
 
    {
459
 
    * The workstation encountered an error while trying to start the user accounts database.
460
 
    *  The error code is the data.
461
 
    }
462
 
 
463
 
  NELOG_Wksta_SSIRelogon = ERRLOG_BASE + 67;
464
 
  {$EXTERNALSYM NELOG_Wksta_SSIRelogon}
465
 
 
466
 
    {
467
 
    * The workstation encountered an error while responding to an SSI revalidation request.
468
 
    *  The function code and the error codes are the data.
469
 
    }
470
 
 
471
 
//
472
 
//  Alerter service specific error log messages from 70 to 79
473
 
//
474
 
 
475
 
  NELOG_Build_Name = ERRLOG_BASE + 70;
476
 
  {$EXTERNALSYM NELOG_Build_Name}
477
 
 
478
 
    {
479
 
    * The Alerter service had a problem creating the list of
480
 
    * alert recipients.  The error code is %1.
481
 
    }
482
 
 
483
 
  NELOG_Name_Expansion = ERRLOG_BASE + 71;
484
 
  {$EXTERNALSYM NELOG_Name_Expansion}
485
 
 
486
 
    {
487
 
    * There was an error expanding %1 as a group name. Try
488
 
    *  splitting the group into two or more smaller groups.
489
 
    }
490
 
 
491
 
  NELOG_Message_Send = ERRLOG_BASE + 72;
492
 
  {$EXTERNALSYM NELOG_Message_Send}
493
 
 
494
 
    {
495
 
    * There was an error sending %2 the alert message -
496
 
    *  (
497
 
    *  %3 )
498
 
    *  The error code is %1.
499
 
    }
500
 
 
501
 
  NELOG_Mail_Slt_Err = ERRLOG_BASE + 73;
502
 
  {$EXTERNALSYM NELOG_Mail_Slt_Err}
503
 
 
504
 
    {
505
 
    * There was an error in creating or reading the alerter mailslot.
506
 
    *  The error code is %1.
507
 
    }
508
 
 
509
 
  NELOG_AT_cannot_read = ERRLOG_BASE + 74;
510
 
  {$EXTERNALSYM NELOG_AT_cannot_read}
511
 
 
512
 
    {
513
 
    * The server could not read the AT schedule file.
514
 
    }
515
 
 
516
 
  NELOG_AT_sched_err = ERRLOG_BASE + 75;
517
 
  {$EXTERNALSYM NELOG_AT_sched_err}
518
 
 
519
 
    {
520
 
    * The server found an invalid AT schedule record.
521
 
    }
522
 
 
523
 
  NELOG_AT_schedule_file_created = ERRLOG_BASE + 76;
524
 
  {$EXTERNALSYM NELOG_AT_schedule_file_created}
525
 
 
526
 
    {
527
 
    * The server could not find an AT schedule file so it created one.
528
 
    }
529
 
 
530
 
  NELOG_Srvnet_NB_Open = ERRLOG_BASE + 77;
531
 
  {$EXTERNALSYM NELOG_Srvnet_NB_Open}
532
 
 
533
 
    {
534
 
    * The server could not access the %1 network with NetBiosOpen.
535
 
    }
536
 
 
537
 
  NELOG_AT_Exec_Err = ERRLOG_BASE + 78;
538
 
  {$EXTERNALSYM NELOG_AT_Exec_Err}
539
 
 
540
 
    {
541
 
    * The AT command processor could not run %1.
542
 
   }
543
 
 
544
 
//
545
 
//      Cache Lazy Write and HPFS386 specific error log messages from 80 to 89
546
 
//
547
 
 
548
 
  NELOG_Lazy_Write_Err = ERRLOG_BASE + 80;
549
 
  {$EXTERNALSYM NELOG_Lazy_Write_Err}
550
 
 
551
 
        {
552
 
        * WARNING:  Because of a lazy-write error, drive %1 now
553
 
        *  contains some corrupted data.  The cache is stopped.
554
 
        }
555
 
 
556
 
  NELOG_HotFix = ERRLOG_BASE + 81;
557
 
  {$EXTERNALSYM NELOG_HotFix}
558
 
 
559
 
    {
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.
563
 
    *
564
 
    * The hotfix occurred while processing a remote request.
565
 
    }
566
 
 
567
 
  NELOG_HardErr_From_Server = ERRLOG_BASE + 82;
568
 
  {$EXTERNALSYM NELOG_HardErr_From_Server}
569
 
 
570
 
    {
571
 
    * A disk error occurred on the HPFS volume in drive %1.
572
 
    * The error occurred while processing a remote request.
573
 
    }
574
 
 
575
 
  NELOG_LocalSecFail1 = ERRLOG_BASE + 83;
576
 
  {$EXTERNALSYM NELOG_LocalSecFail1}
577
 
 
578
 
    {
579
 
    * The user accounts database (NET.ACC) is corrupted.  The local security
580
 
    * system is replacing the corrupted NET.ACC with the backup
581
 
    * made at %1.
582
 
    * Any updates made to the database after this time are lost.
583
 
    *
584
 
    }
585
 
 
586
 
  NELOG_LocalSecFail2 = ERRLOG_BASE + 84;
587
 
  {$EXTERNALSYM NELOG_LocalSecFail2}
588
 
 
589
 
    {
590
 
    * The user accounts database (NET.ACC) is missing.  The local
591
 
    * security system is restoring the backup database
592
 
    * made at %1.
593
 
    * Any updates made to the database made after this time are lost.
594
 
    *
595
 
    }
596
 
 
597
 
  NELOG_LocalSecFail3 = ERRLOG_BASE + 85;
598
 
  {$EXTERNALSYM NELOG_LocalSecFail3}
599
 
 
600
 
    {
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.
604
 
    *
605
 
    * THE SYSTEM IS NOT SECURE.
606
 
    }
607
 
 
608
 
  NELOG_LocalSecGeneralFail = ERRLOG_BASE + 86;
609
 
  {$EXTERNALSYM NELOG_LocalSecGeneralFail}
610
 
 
611
 
    {
612
 
    * Local security could not be started because an error
613
 
    * occurred during initialization. The error code returned is %1.
614
 
    *
615
 
    * THE SYSTEM IS NOT SECURE.
616
 
    *
617
 
    }
618
 
 
619
 
//
620
 
//  NETWKSTA.SYS specific error log messages from 90 to 99
621
 
//
622
 
 
623
 
  NELOG_NetWkSta_Internal_Error = ERRLOG_BASE + 90;
624
 
  {$EXTERNALSYM NELOG_NetWkSta_Internal_Error}
625
 
 
626
 
    {
627
 
    * A NetWksta internal error has occurred:
628
 
    *  %1
629
 
    }
630
 
 
631
 
  NELOG_NetWkSta_No_Resource = ERRLOG_BASE + 91;
632
 
  {$EXTERNALSYM NELOG_NetWkSta_No_Resource}
633
 
 
634
 
    {
635
 
    * The redirector is out of a resource: %1.
636
 
    }
637
 
 
638
 
  NELOG_NetWkSta_SMB_Err = ERRLOG_BASE + 92;
639
 
  {$EXTERNALSYM NELOG_NetWkSta_SMB_Err}
640
 
 
641
 
    {
642
 
    * A server message block (SMB) error occurred on the connection to %1.
643
 
    *  The SMB header is the data.
644
 
    }
645
 
 
646
 
  NELOG_NetWkSta_VC_Err = ERRLOG_BASE + 93;
647
 
  {$EXTERNALSYM NELOG_NetWkSta_VC_Err}
648
 
 
649
 
    {
650
 
    * A virtual circuit error occurred on the session to %1.
651
 
    *  The network control block (NCB) command and return code is the data.
652
 
    }
653
 
 
654
 
  NELOG_NetWkSta_Stuck_VC_Err = ERRLOG_BASE + 94;
655
 
  {$EXTERNALSYM NELOG_NetWkSta_Stuck_VC_Err}
656
 
 
657
 
    {
658
 
    * Hanging up a stuck session to %1.
659
 
    }
660
 
 
661
 
  NELOG_NetWkSta_NCB_Err = ERRLOG_BASE + 95;
662
 
  {$EXTERNALSYM NELOG_NetWkSta_NCB_Err}
663
 
 
664
 
    {
665
 
    * A network control block (NCB) error occurred (%1).
666
 
    *  The NCB is the data.
667
 
    }
668
 
 
669
 
  NELOG_NetWkSta_Write_Behind_Err = ERRLOG_BASE + 96;
670
 
  {$EXTERNALSYM NELOG_NetWkSta_Write_Behind_Err}
671
 
 
672
 
    {
673
 
    * A write operation to %1 failed.
674
 
    *  Data may have been lost.
675
 
    }
676
 
 
677
 
  NELOG_NetWkSta_Reset_Err = ERRLOG_BASE + 97;
678
 
  {$EXTERNALSYM NELOG_NetWkSta_Reset_Err}
679
 
 
680
 
    {
681
 
    * Reset of driver %1 failed to complete the network control block (NCB).
682
 
    *  The NCB is the data.
683
 
    }
684
 
 
685
 
  NELOG_NetWkSta_Too_Many = ERRLOG_BASE + 98;
686
 
  {$EXTERNALSYM NELOG_NetWkSta_Too_Many}
687
 
 
688
 
    {
689
 
    * The amount of resource %1 requested was more
690
 
    *  than the maximum. The maximum amount was allocated.
691
 
    }
692
 
 
693
 
//
694
 
//  Spooler specific error log messages from 100 to 103
695
 
//
696
 
 
697
 
  NELOG_Srv_Thread_Failure = ERRLOG_BASE + 104;
698
 
  {$EXTERNALSYM NELOG_Srv_Thread_Failure}
699
 
 
700
 
    {
701
 
    * The server could not create a thread.
702
 
    *  The THREADS parameter in the CONFIG.SYS file should be increased.
703
 
    }
704
 
 
705
 
  NELOG_Srv_Close_Failure = ERRLOG_BASE + 105;
706
 
  {$EXTERNALSYM NELOG_Srv_Close_Failure}
707
 
 
708
 
    {
709
 
    * The server could not close %1.
710
 
    *  The file is probably corrupted.
711
 
    }
712
 
 
713
 
  NELOG_ReplUserCurDir = ERRLOG_BASE + 106;
714
 
  {$EXTERNALSYM NELOG_ReplUserCurDir}
715
 
 
716
 
    {
717
 
    *The replicator cannot update directory %1. It has tree integrity
718
 
    * and is the current directory for some process.
719
 
    }
720
 
 
721
 
  NELOG_ReplCannotMasterDir = ERRLOG_BASE + 107;
722
 
  {$EXTERNALSYM NELOG_ReplCannotMasterDir}
723
 
 
724
 
    {
725
 
    *The server cannot export directory %1 to client %2.
726
 
    * It is exported from another server.
727
 
    }
728
 
 
729
 
  NELOG_ReplUpdateError = ERRLOG_BASE + 108;
730
 
  {$EXTERNALSYM NELOG_ReplUpdateError}
731
 
 
732
 
    {
733
 
    *The replication server could not update directory %2 from the source
734
 
    * on %3 due to error %1.
735
 
    }
736
 
 
737
 
  NELOG_ReplLostMaster = ERRLOG_BASE + 109;
738
 
  {$EXTERNALSYM NELOG_ReplLostMaster}
739
 
 
740
 
    {
741
 
    *Master %1 did not send an update notice for directory %2 at the expected
742
 
    * time.
743
 
    }
744
 
 
745
 
  NELOG_NetlogonAuthDCFail = ERRLOG_BASE + 110;
746
 
  {$EXTERNALSYM NELOG_NetlogonAuthDCFail}
747
 
 
748
 
    {
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
754
 
    * administrator.
755
 
    }
756
 
 
757
 
  NELOG_ReplLogonFailed = ERRLOG_BASE + 111;
758
 
  {$EXTERNALSYM NELOG_ReplLogonFailed}
759
 
 
760
 
    {
761
 
    *The replicator attempted to log on at %2 as %1 and failed.
762
 
    }
763
 
 
764
 
  NELOG_ReplNetErr = ERRLOG_BASE + 112;
765
 
  {$EXTERNALSYM NELOG_ReplNetErr}
766
 
 
767
 
    {
768
 
    *  Network error %1 occurred.
769
 
    }
770
 
 
771
 
  NELOG_ReplMaxFiles = ERRLOG_BASE + 113;
772
 
  {$EXTERNALSYM NELOG_ReplMaxFiles}
773
 
 
774
 
    {
775
 
    *  Replicator limit for files in a directory has been exceeded.
776
 
    }
777
 
 
778
 
  NELOG_ReplMaxTreeDepth = ERRLOG_BASE + 114;
779
 
  {$EXTERNALSYM NELOG_ReplMaxTreeDepth}
780
 
 
781
 
    {
782
 
    *  Replicator limit for tree depth has been exceeded.
783
 
    }
784
 
 
785
 
  NELOG_ReplBadMsg = ERRLOG_BASE + 115;
786
 
  {$EXTERNALSYM NELOG_ReplBadMsg}
787
 
 
788
 
    {
789
 
    *  Unrecognized message received in mailslot.
790
 
    }
791
 
 
792
 
  NELOG_ReplSysErr = ERRLOG_BASE + 116;
793
 
  {$EXTERNALSYM NELOG_ReplSysErr}
794
 
 
795
 
    {
796
 
    *  System error %1 occurred.
797
 
    }
798
 
 
799
 
  NELOG_ReplUserLoged = ERRLOG_BASE + 117;
800
 
  {$EXTERNALSYM NELOG_ReplUserLoged}
801
 
 
802
 
    {
803
 
    *  Cannot log on. User is currently logged on and argument TRYUSER
804
 
    *  is set to NO.
805
 
    }
806
 
 
807
 
  NELOG_ReplBadImport = ERRLOG_BASE + 118;
808
 
  {$EXTERNALSYM NELOG_ReplBadImport}
809
 
 
810
 
    {
811
 
    *  IMPORT path %1 cannot be found.
812
 
    }
813
 
 
814
 
  NELOG_ReplBadExport = ERRLOG_BASE + 119;
815
 
  {$EXTERNALSYM NELOG_ReplBadExport}
816
 
 
817
 
    {
818
 
    *  EXPORT path %1 cannot be found.
819
 
    }
820
 
 
821
 
  NELOG_ReplSignalFileErr = ERRLOG_BASE + 120;
822
 
  {$EXTERNALSYM NELOG_ReplSignalFileErr}
823
 
 
824
 
    {
825
 
    *  Replicator failed to update signal file in directory %2 due to
826
 
    *  %1 system error.
827
 
    }
828
 
 
829
 
  NELOG_DiskFT = (ERRLOG_BASE+121);
830
 
  {$EXTERNALSYM NELOG_DiskFT}
831
 
 
832
 
    {
833
 
    * Disk Fault Tolerance Error
834
 
    *
835
 
    * %1
836
 
    }
837
 
 
838
 
  NELOG_ReplAccessDenied = ERRLOG_BASE + 122;
839
 
  {$EXTERNALSYM NELOG_ReplAccessDenied}
840
 
 
841
 
    {
842
 
    *  Replicator could not access %2
843
 
    *  on %3 due to system error %1.
844
 
    }
845
 
 
846
 
  NELOG_NetlogonFailedPrimary = ERRLOG_BASE + 123;
847
 
  {$EXTERNALSYM NELOG_NetlogonFailedPrimary}
848
 
 
849
 
    {
850
 
    *The primary domain controller for domain %1 has apparently failed.
851
 
    }
852
 
 
853
 
  NELOG_NetlogonPasswdSetFailed = ERRLOG_BASE + 124;
854
 
  {$EXTERNALSYM NELOG_NetlogonPasswdSetFailed}
855
 
 
856
 
    {
857
 
    * Changing machine account password for account %1 failed with
858
 
    * the following error: %n%2
859
 
    }
860
 
 
861
 
  NELOG_NetlogonTrackingError = ERRLOG_BASE + 125;
862
 
  {$EXTERNALSYM NELOG_NetlogonTrackingError}
863
 
 
864
 
    {
865
 
    *An error occurred while updating the logon or logoff information for %1.
866
 
    }
867
 
 
868
 
  NELOG_NetlogonSyncError = ERRLOG_BASE + 126;
869
 
  {$EXTERNALSYM NELOG_NetlogonSyncError}
870
 
 
871
 
    {
872
 
    *An error occurred while synchronizing with primary domain controller %1
873
 
    }
874
 
 
875
 
  NELOG_NetlogonRequireSignOrSealError = ERRLOG_BASE + 127;
876
 
  {$EXTERNALSYM NELOG_NetlogonRequireSignOrSealError}
877
 
 
878
 
    {
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
881
 
    * session.
882
 
    *
883
 
    * Either upgrade the Domain controller or set the RequireSignOrSeal
884
 
    * registry entry on this machine to 0.
885
 
    }
886
 
 
887
 
//
888
 
//  UPS service specific error log messages from 130 to 135
889
 
//
890
 
 
891
 
  NELOG_UPS_PowerOut = ERRLOG_BASE + 130;
892
 
  {$EXTERNALSYM NELOG_UPS_PowerOut}
893
 
 
894
 
    {
895
 
    * A power failure was detected at the server.
896
 
    }
897
 
 
898
 
  NELOG_UPS_Shutdown = ERRLOG_BASE + 131;
899
 
  {$EXTERNALSYM NELOG_UPS_Shutdown}
900
 
 
901
 
    {
902
 
    * The UPS service performed server shut down.
903
 
    }
904
 
 
905
 
  NELOG_UPS_CmdFileError = ERRLOG_BASE + 132;
906
 
  {$EXTERNALSYM NELOG_UPS_CmdFileError}
907
 
 
908
 
    {
909
 
    * The UPS service did not complete execution of the
910
 
    * user specified shut down command file.
911
 
    }
912
 
 
913
 
  NELOG_UPS_CannotOpenDriver = (ERRLOG_BASE+133);
914
 
  {$EXTERNALSYM NELOG_UPS_CannotOpenDriver}
915
 
 
916
 
    {
917
 
    * The UPS driver could not be opened.  The error code is
918
 
    * the data.
919
 
    }
920
 
 
921
 
  NELOG_UPS_PowerBack = ERRLOG_BASE + 134;
922
 
  {$EXTERNALSYM NELOG_UPS_PowerBack}
923
 
 
924
 
    {
925
 
    * Power has been restored.
926
 
    }
927
 
 
928
 
  NELOG_UPS_CmdFileConfig = ERRLOG_BASE + 135;
929
 
  {$EXTERNALSYM NELOG_UPS_CmdFileConfig}
930
 
 
931
 
    {
932
 
    * There is a problem with a configuration of user specified
933
 
    * shut down command file.
934
 
    }
935
 
 
936
 
  NELOG_UPS_CmdFileExec = ERRLOG_BASE + 136;
937
 
  {$EXTERNALSYM NELOG_UPS_CmdFileExec}
938
 
 
939
 
    {
940
 
    * The UPS service failed to execute a user specified shutdown
941
 
    * command file %1.  The error code is the data.
942
 
    }
943
 
 
944
 
//
945
 
//  Remoteboot server specific error log messages are from 150 to 157
946
 
//
947
 
 
948
 
  NELOG_Missing_Parameter = ERRLOG_BASE + 150;
949
 
  {$EXTERNALSYM NELOG_Missing_Parameter}
950
 
 
951
 
    {
952
 
    * Initialization failed because of an invalid or missing
953
 
    *  parameter in the configuration file %1.
954
 
    }
955
 
 
956
 
  NELOG_Invalid_Config_Line = ERRLOG_BASE + 151;
957
 
  {$EXTERNALSYM NELOG_Invalid_Config_Line}
958
 
 
959
 
    {
960
 
    * Initialization failed because of an invalid line in the
961
 
    *  configuration file %1. The invalid line is the data.
962
 
    }
963
 
 
964
 
  NELOG_Invalid_Config_File = ERRLOG_BASE + 152;
965
 
  {$EXTERNALSYM NELOG_Invalid_Config_File}
966
 
 
967
 
    {
968
 
    * Initialization failed because of an error in the configuration
969
 
    *  file %1.
970
 
    }
971
 
 
972
 
  NELOG_File_Changed = ERRLOG_BASE + 153;
973
 
  {$EXTERNALSYM NELOG_File_Changed}
974
 
 
975
 
    {
976
 
    * The file %1 has been changed after initialization.
977
 
    *  The boot-block loading was temporarily terminated.
978
 
    }
979
 
 
980
 
  NELOG_Files_Dont_Fit = ERRLOG_BASE + 154;
981
 
  {$EXTERNALSYM NELOG_Files_Dont_Fit}
982
 
 
983
 
    {
984
 
    * The files do not fit to the boot-block configuration
985
 
    * file %1. Change the BASE and ORG definitions or the order
986
 
    * of the files.
987
 
    }
988
 
 
989
 
  NELOG_Wrong_DLL_Version = ERRLOG_BASE + 155;
990
 
  {$EXTERNALSYM NELOG_Wrong_DLL_Version}
991
 
 
992
 
    {
993
 
    * Initialization failed because the dynamic-link
994
 
    *  library %1 returned an incorrect version number.
995
 
    }
996
 
 
997
 
  NELOG_Error_in_DLL = ERRLOG_BASE + 156;
998
 
  {$EXTERNALSYM NELOG_Error_in_DLL}
999
 
 
1000
 
    {
1001
 
    * There was an unrecoverable error in the dynamic-
1002
 
    *  link library of the service.
1003
 
    }
1004
 
 
1005
 
  NELOG_System_Error = ERRLOG_BASE + 157;
1006
 
  {$EXTERNALSYM NELOG_System_Error}
1007
 
 
1008
 
    {
1009
 
    * The system returned an unexpected error code.
1010
 
    *  The error code is the data.
1011
 
    }
1012
 
 
1013
 
  NELOG_FT_ErrLog_Too_Large = ERRLOG_BASE + 158;
1014
 
  {$EXTERNALSYM NELOG_FT_ErrLog_Too_Large}
1015
 
 
1016
 
    {
1017
 
    * The fault-tolerance error log file, LANROOT\LOGS\FT.LOG,
1018
 
    *  is more than 64K.
1019
 
    }
1020
 
 
1021
 
  NELOG_FT_Update_In_Progress = ERRLOG_BASE + 159;
1022
 
  {$EXTERNALSYM NELOG_FT_Update_In_Progress}
1023
 
 
1024
 
    {
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.
1028
 
    }
1029
 
 
1030
 
  NELOG_Joined_Domain = ERRLOG_BASE + 160;
1031
 
  {$EXTERNALSYM NELOG_Joined_Domain}
1032
 
 
1033
 
    {
1034
 
    * This computer has been successfully joined to %1 '%2'.
1035
 
    }
1036
 
 
1037
 
  NELOG_Joined_Workgroup = ERRLOG_BASE + 161;
1038
 
  {$EXTERNALSYM NELOG_Joined_Workgroup}
1039
 
 
1040
 
    (*
1041
 
    * This computer has been successfully joined to workgroup '%1'.
1042
 
    *)
1043
 
 
1044
 
//
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.".
1050
 
//
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 #)
1056
 
// %5 - % 9:  Text.
1057
 
//
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.
1061
 
//
1062
 
 
1063
 
  NELOG_OEM_Code = ERRLOG_BASE + 199;
1064
 
  {$EXTERNALSYM NELOG_OEM_Code}
1065
 
 
1066
 
    {
1067
 
    * %1 %2 %3 %4 %5 %6 %7 %8 %9.
1068
 
    }
1069
 
 
1070
 
//
1071
 
// another error log range defined for NT Lanman.
1072
 
//
1073
 
 
1074
 
  ERRLOG2_BASE = 5700        { New NT NELOG errors start here };
1075
 
  {$EXTERNALSYM ERRLOG2_BASE}
1076
 
 
1077
 
  NELOG_NetlogonSSIInitError = ERRLOG2_BASE + 0;
1078
 
  {$EXTERNALSYM NELOG_NetlogonSSIInitError}
1079
 
 
1080
 
    {
1081
 
     * The Netlogon service could not initialize the replication data
1082
 
     * structures successfully. The service was terminated.  The following
1083
 
     * error occurred: %n%1
1084
 
     }
1085
 
 
1086
 
  NELOG_NetlogonFailedToUpdateTrustList = ERRLOG2_BASE + 1;
1087
 
  {$EXTERNALSYM NELOG_NetlogonFailedToUpdateTrustList}
1088
 
 
1089
 
    {
1090
 
     * The Netlogon service failed to update the domain trust list.  The
1091
 
     * following error occurred: %n%1
1092
 
     }
1093
 
 
1094
 
  NELOG_NetlogonFailedToAddRpcInterface = ERRLOG2_BASE + 2;
1095
 
  {$EXTERNALSYM NELOG_NetlogonFailedToAddRpcInterface}
1096
 
 
1097
 
    {
1098
 
     * The Netlogon service could not add the RPC interface.  The
1099
 
     * service was terminated. The following error occurred: %n%1
1100
 
     }
1101
 
 
1102
 
  NELOG_NetlogonFailedToReadMailslot = ERRLOG2_BASE + 3;
1103
 
  {$EXTERNALSYM NELOG_NetlogonFailedToReadMailslot}
1104
 
 
1105
 
    {
1106
 
     * The Netlogon service could not read a mailslot message from %1 due
1107
 
     * to the following error: %n%2
1108
 
     }
1109
 
 
1110
 
  NELOG_NetlogonFailedToRegisterSC = ERRLOG2_BASE + 4;
1111
 
  {$EXTERNALSYM NELOG_NetlogonFailedToRegisterSC}
1112
 
 
1113
 
    (*
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
1117
 
     *)
1118
 
 
1119
 
  NELOG_NetlogonChangeLogCorrupt = ERRLOG2_BASE + 5;
1120
 
  {$EXTERNALSYM NELOG_NetlogonChangeLogCorrupt}
1121
 
 
1122
 
    {
1123
 
     * The change log cache maintained by the Netlogon service for %1
1124
 
     * database changes is inconsistent. The Netlogon service is resetting
1125
 
     * the change log.
1126
 
     }
1127
 
 
1128
 
  NELOG_NetlogonFailedToCreateShare = ERRLOG2_BASE + 6;
1129
 
  {$EXTERNALSYM NELOG_NetlogonFailedToCreateShare}
1130
 
 
1131
 
    {
1132
 
     * The Netlogon service could not create server share %1.  The following
1133
 
     * error occurred: %n%2
1134
 
     }
1135
 
 
1136
 
  NELOG_NetlogonDownLevelLogonFailed = ERRLOG2_BASE + 7;
1137
 
  {$EXTERNALSYM NELOG_NetlogonDownLevelLogonFailed}
1138
 
 
1139
 
    {
1140
 
     * The down-level logon request for the user %1 from %2 failed.
1141
 
     }
1142
 
 
1143
 
  NELOG_NetlogonDownLevelLogoffFailed = ERRLOG2_BASE + 8;
1144
 
  {$EXTERNALSYM NELOG_NetlogonDownLevelLogoffFailed}
1145
 
 
1146
 
    {
1147
 
     * The down-level logoff request for the user %1 from %2 failed.
1148
 
     }
1149
 
 
1150
 
  NELOG_NetlogonNTLogonFailed = ERRLOG2_BASE + 9;
1151
 
  {$EXTERNALSYM NELOG_NetlogonNTLogonFailed}
1152
 
 
1153
 
    {
1154
 
     * The Windows NT or Windows 2000 %1 logon request for the user %2\%3 from %4 (via %5)
1155
 
     * failed.
1156
 
     }
1157
 
 
1158
 
  NELOG_NetlogonNTLogoffFailed = ERRLOG2_BASE + 10;
1159
 
  {$EXTERNALSYM NELOG_NetlogonNTLogoffFailed}
1160
 
 
1161
 
    {
1162
 
     * The Windows NT or Windows 2000 %1 logoff request for the user %2\%3 from %4
1163
 
     * failed.
1164
 
     }
1165
 
 
1166
 
  NELOG_NetlogonPartialSyncCallSuccess = ERRLOG2_BASE + 11;
1167
 
  {$EXTERNALSYM NELOG_NetlogonPartialSyncCallSuccess}
1168
 
 
1169
 
    {
1170
 
     * The partial synchronization request from the server %1 completed
1171
 
     * successfully. %2 changes(s) has(have) been returned to the
1172
 
     * caller.
1173
 
     }
1174
 
 
1175
 
  NELOG_NetlogonPartialSyncCallFailed = ERRLOG2_BASE + 12;
1176
 
  {$EXTERNALSYM NELOG_NetlogonPartialSyncCallFailed}
1177
 
 
1178
 
    {
1179
 
     * The partial synchronization request from the server %1 failed with
1180
 
     * the following error: %n%2
1181
 
     }
1182
 
 
1183
 
  NELOG_NetlogonFullSyncCallSuccess = ERRLOG2_BASE + 13;
1184
 
  {$EXTERNALSYM NELOG_NetlogonFullSyncCallSuccess}
1185
 
 
1186
 
    {
1187
 
     * The full synchronization request from the server %1 completed
1188
 
     * successfully. %2 object(s) has(have) been returned to
1189
 
     * the caller.
1190
 
     }
1191
 
 
1192
 
  NELOG_NetlogonFullSyncCallFailed = ERRLOG2_BASE + 14;
1193
 
  {$EXTERNALSYM NELOG_NetlogonFullSyncCallFailed}
1194
 
 
1195
 
    {
1196
 
     * The full synchronization request from the server %1 failed with
1197
 
     * the following error: %n%2
1198
 
     }
1199
 
 
1200
 
  NELOG_NetlogonPartialSyncSuccess = ERRLOG2_BASE + 15;
1201
 
  {$EXTERNALSYM NELOG_NetlogonPartialSyncSuccess}
1202
 
 
1203
 
    {
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.
1207
 
     }
1208
 
 
1209
 
  NELOG_NetlogonPartialSyncFailed = ERRLOG2_BASE + 16;
1210
 
  {$EXTERNALSYM NELOG_NetlogonPartialSyncFailed}
1211
 
 
1212
 
    {
1213
 
     * The partial synchronization replication of the %1 database from the
1214
 
     * primary domain controller %2 failed with the following error: %n%3
1215
 
     }
1216
 
 
1217
 
  NELOG_NetlogonFullSyncSuccess = ERRLOG2_BASE + 17;
1218
 
  {$EXTERNALSYM NELOG_NetlogonFullSyncSuccess}
1219
 
 
1220
 
    {
1221
 
     * The full synchronization replication of the %1 database from the
1222
 
     * primary domain controller %2 completed successfully.
1223
 
     }
1224
 
 
1225
 
  NELOG_NetlogonFullSyncFailed = ERRLOG2_BASE + 18;
1226
 
  {$EXTERNALSYM NELOG_NetlogonFullSyncFailed}
1227
 
 
1228
 
    {
1229
 
     * The full synchronization replication of the %1 database from the
1230
 
     * primary domain controller %2 failed with the following error: %n%3
1231
 
     }
1232
 
 
1233
 
  NELOG_NetlogonAuthNoDomainController = ERRLOG2_BASE + 19;
1234
 
  {$EXTERNALSYM NELOG_NetlogonAuthNoDomainController}
1235
 
 
1236
 
    {
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.
1242
 
     *
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.
1248
 
     }
1249
 
 
1250
 
  NELOG_NetlogonAuthNoTrustLsaSecret = ERRLOG2_BASE + 20;
1251
 
  {$EXTERNALSYM NELOG_NetlogonAuthNoTrustLsaSecret}
1252
 
 
1253
 
    {
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.
1256
 
     }
1257
 
 
1258
 
  NELOG_NetlogonAuthNoTrustSamAccount = ERRLOG2_BASE + 21;
1259
 
  {$EXTERNALSYM NELOG_NetlogonAuthNoTrustSamAccount}
1260
 
 
1261
 
    {
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.
1265
 
     *
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.
1270
 
     }
1271
 
 
1272
 
  NELOG_NetlogonServerAuthFailed = ERRLOG2_BASE + 22;
1273
 
  {$EXTERNALSYM NELOG_NetlogonServerAuthFailed}
1274
 
 
1275
 
    {
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
1279
 
     }
1280
 
 
1281
 
  NELOG_NetlogonServerAuthNoTrustSamAccount = ERRLOG2_BASE + 23;
1282
 
  {$EXTERNALSYM NELOG_NetlogonServerAuthNoTrustSamAccount}
1283
 
 
1284
 
    {
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.
1287
 
     *
1288
 
     * %n%nUSER ACTION
1289
 
     *
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:
1293
 
     *
1294
 
     * %n%nIf '%2' is a legitimate machine account for the computer '%1', then '%1'
1295
 
     * should be rejoined to the domain.
1296
 
     *
1297
 
     * %n%nIf '%2' is a legitimate interdomain trust account, then the trust should
1298
 
     * be recreated.
1299
 
     *
1300
 
     * %n%nOtherwise, assuming that '%2' is not a legitimate account, the following
1301
 
     * action should be taken on '%1':
1302
 
     *
1303
 
     * %n%nIf '%1' is a Domain Controller, then the trust associated with '%2' should be deleted.
1304
 
     *
1305
 
     * %n%nIf '%1' is not a Domain Controller, it should be disjoined from the domain.
1306
 
     }
1307
 
 
1308
 
//
1309
 
// General log messages for NT services.
1310
 
//
1311
 
 
1312
 
  NELOG_FailedToRegisterSC = ERRLOG2_BASE + 24;
1313
 
  {$EXTERNALSYM NELOG_FailedToRegisterSC}
1314
 
 
1315
 
    {
1316
 
     * Could not register control handler with service controller %1.
1317
 
     }
1318
 
 
1319
 
  NELOG_FailedToSetServiceStatus = ERRLOG2_BASE + 25;
1320
 
  {$EXTERNALSYM NELOG_FailedToSetServiceStatus}
1321
 
 
1322
 
    {
1323
 
     * Could not set service status with service controller %1.
1324
 
     }
1325
 
 
1326
 
  NELOG_FailedToGetComputerName = ERRLOG2_BASE + 26;
1327
 
  {$EXTERNALSYM NELOG_FailedToGetComputerName}
1328
 
 
1329
 
    {
1330
 
     * Could not find the computer name %1.
1331
 
     }
1332
 
 
1333
 
  NELOG_DriverNotLoaded = ERRLOG2_BASE + 27;
1334
 
  {$EXTERNALSYM NELOG_DriverNotLoaded}
1335
 
 
1336
 
    {
1337
 
     * Could not load %1 device driver.
1338
 
     }
1339
 
 
1340
 
  NELOG_NoTranportLoaded = ERRLOG2_BASE + 28;
1341
 
  {$EXTERNALSYM NELOG_NoTranportLoaded}
1342
 
 
1343
 
    {
1344
 
     * Could not load any transport.
1345
 
     }
1346
 
 
1347
 
//
1348
 
// More Netlogon service events
1349
 
//
1350
 
 
1351
 
  NELOG_NetlogonFailedDomainDelta = ERRLOG2_BASE + 29;
1352
 
  {$EXTERNALSYM NELOG_NetlogonFailedDomainDelta}
1353
 
 
1354
 
    {
1355
 
     * Replication of the %1 Domain Object "%2" from primary domain controller
1356
 
     * %3 failed with the following error: %n%4
1357
 
     }
1358
 
 
1359
 
  NELOG_NetlogonFailedGlobalGroupDelta = ERRLOG2_BASE + 30;
1360
 
  {$EXTERNALSYM NELOG_NetlogonFailedGlobalGroupDelta}
1361
 
 
1362
 
    {
1363
 
     * Replication of the %1 Global Group "%2" from primary domain controller
1364
 
     * %3 failed with the following error: %n%4
1365
 
     }
1366
 
 
1367
 
  NELOG_NetlogonFailedLocalGroupDelta = ERRLOG2_BASE + 31;
1368
 
  {$EXTERNALSYM NELOG_NetlogonFailedLocalGroupDelta}
1369
 
 
1370
 
    {
1371
 
     * Replication of the %1 Local Group "%2" from primary domain controller
1372
 
     * %3 failed with the following error: %n%4
1373
 
     }
1374
 
 
1375
 
  NELOG_NetlogonFailedUserDelta = ERRLOG2_BASE + 32;
1376
 
  {$EXTERNALSYM NELOG_NetlogonFailedUserDelta}
1377
 
 
1378
 
    {
1379
 
     * Replication of the %1 User "%2" from primary domain controller
1380
 
     * %3 failed with the following error: %n%4
1381
 
     }
1382
 
 
1383
 
  NELOG_NetlogonFailedPolicyDelta = ERRLOG2_BASE + 33;
1384
 
  {$EXTERNALSYM NELOG_NetlogonFailedPolicyDelta}
1385
 
 
1386
 
    {
1387
 
     * Replication of the %1 Policy Object "%2" from primary domain controller
1388
 
     * %3 failed with the following error: %n%4
1389
 
     }
1390
 
 
1391
 
  NELOG_NetlogonFailedTrustedDomainDelta = ERRLOG2_BASE + 34;
1392
 
  {$EXTERNALSYM NELOG_NetlogonFailedTrustedDomainDelta}
1393
 
 
1394
 
    {
1395
 
     * Replication of the %1 Trusted Domain Object "%2" from primary domain controller
1396
 
     * %3 failed with the following error: %n%4
1397
 
     }
1398
 
 
1399
 
  NELOG_NetlogonFailedAccountDelta = ERRLOG2_BASE + 35;
1400
 
  {$EXTERNALSYM NELOG_NetlogonFailedAccountDelta}
1401
 
 
1402
 
    {
1403
 
     * Replication of the %1 Account Object "%2" from primary domain controller
1404
 
     * %3 failed with the following error: %n%4
1405
 
     }
1406
 
 
1407
 
  NELOG_NetlogonFailedSecretDelta = ERRLOG2_BASE + 36;
1408
 
  {$EXTERNALSYM NELOG_NetlogonFailedSecretDelta}
1409
 
 
1410
 
    {
1411
 
     * Replication of the %1 Secret "%2" from primary domain controller
1412
 
     * %3 failed with the following error: %n%4
1413
 
     }
1414
 
 
1415
 
  NELOG_NetlogonSystemError = ERRLOG2_BASE + 37;
1416
 
  {$EXTERNALSYM NELOG_NetlogonSystemError}
1417
 
 
1418
 
    {
1419
 
    * The system returned the following unexpected error code: %n%1
1420
 
    }
1421
 
 
1422
 
  NELOG_NetlogonDuplicateMachineAccounts = ERRLOG2_BASE + 38;
1423
 
  {$EXTERNALSYM NELOG_NetlogonDuplicateMachineAccounts}
1424
 
 
1425
 
    {
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.
1430
 
    }
1431
 
 
1432
 
  NELOG_NetlogonTooManyGlobalGroups = ERRLOG2_BASE + 39;
1433
 
  {$EXTERNALSYM NELOG_NetlogonTooManyGlobalGroups}
1434
 
 
1435
 
    {
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.
1439
 
    }
1440
 
 
1441
 
  NELOG_NetlogonBrowserDriver = ERRLOG2_BASE + 40;
1442
 
  {$EXTERNALSYM NELOG_NetlogonBrowserDriver}
1443
 
 
1444
 
    {
1445
 
    * The Browser driver returned the following error to Netlogon: %n%1
1446
 
    }
1447
 
 
1448
 
  NELOG_NetlogonAddNameFailure = ERRLOG2_BASE + 41;
1449
 
  {$EXTERNALSYM NELOG_NetlogonAddNameFailure}
1450
 
 
1451
 
    {
1452
 
    * Netlogon could not register the %1<1B> name for the following reason: %n%2
1453
 
    }
1454
 
 
1455
 
//
1456
 
//  More Remoteboot service events.
1457
 
//
1458
 
  NELOG_RplMessages = ERRLOG2_BASE + 42;
1459
 
  {$EXTERNALSYM NELOG_RplMessages}
1460
 
 
1461
 
    {
1462
 
    * Service failed to retrieve messages needed to boot remote boot clients.
1463
 
    }
1464
 
 
1465
 
  NELOG_RplXnsBoot = ERRLOG2_BASE + 43;
1466
 
  {$EXTERNALSYM NELOG_RplXnsBoot}
1467
 
 
1468
 
    {
1469
 
    * Service experienced a severe error and can no longer provide remote boot
1470
 
    * for 3Com 3Start remote boot clients.
1471
 
    }
1472
 
 
1473
 
  NELOG_RplSystem = ERRLOG2_BASE + 44;
1474
 
  {$EXTERNALSYM NELOG_RplSystem}
1475
 
 
1476
 
    {
1477
 
    * Service experienced a severe system error and will shut itself down.
1478
 
    }
1479
 
 
1480
 
  NELOG_RplWkstaTimeout = ERRLOG2_BASE + 45;
1481
 
  {$EXTERNALSYM NELOG_RplWkstaTimeout}
1482
 
 
1483
 
    {
1484
 
    * Client with computer name %1 failed to acknowledge receipt of the
1485
 
    * boot data.  Remote boot of this client was not completed.
1486
 
    }
1487
 
 
1488
 
  NELOG_RplWkstaFileOpen = ERRLOG2_BASE + 46;
1489
 
  {$EXTERNALSYM NELOG_RplWkstaFileOpen}
1490
 
 
1491
 
    {
1492
 
    * Client with computer name %1 was not booted due to an error in opening
1493
 
    * file %2.
1494
 
    }
1495
 
 
1496
 
  NELOG_RplWkstaFileRead = ERRLOG2_BASE + 47;
1497
 
  {$EXTERNALSYM NELOG_RplWkstaFileRead}
1498
 
 
1499
 
    {
1500
 
    * Client with computer name %1 was not booted due to an error in reading
1501
 
    * file %2.
1502
 
    }
1503
 
 
1504
 
  NELOG_RplWkstaMemory = ERRLOG2_BASE + 48;
1505
 
  {$EXTERNALSYM NELOG_RplWkstaMemory}
1506
 
 
1507
 
    {
1508
 
    * Client with computer name %1 was not booted due to insufficient memory
1509
 
    * at the remote boot server.
1510
 
    }
1511
 
 
1512
 
  NELOG_RplWkstaFileChecksum = ERRLOG2_BASE + 49;
1513
 
  {$EXTERNALSYM NELOG_RplWkstaFileChecksum}
1514
 
 
1515
 
    {
1516
 
    * Client with computer name %1 will be booted without using checksums
1517
 
    * because checksum for file %2 could not be calculated.
1518
 
    }
1519
 
 
1520
 
  NELOG_RplWkstaFileLineCount = ERRLOG2_BASE + 50;
1521
 
  {$EXTERNALSYM NELOG_RplWkstaFileLineCount}
1522
 
 
1523
 
    {
1524
 
    * Client with computer name %1 was not booted due to too many lines in
1525
 
    * file %2.
1526
 
    }
1527
 
 
1528
 
  NELOG_RplWkstaBbcFile = ERRLOG2_BASE + 51;
1529
 
  {$EXTERNALSYM NELOG_RplWkstaBbcFile}
1530
 
 
1531
 
    {
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.
1535
 
    }
1536
 
 
1537
 
  NELOG_RplWkstaFileSize = ERRLOG2_BASE + 52;
1538
 
  {$EXTERNALSYM NELOG_RplWkstaFileSize}
1539
 
 
1540
 
    {
1541
 
    * Client with computer name %1 was not booted due to a bad size of
1542
 
    * file %2.
1543
 
    }
1544
 
 
1545
 
  NELOG_RplWkstaInternal = ERRLOG2_BASE + 53;
1546
 
  {$EXTERNALSYM NELOG_RplWkstaInternal}
1547
 
 
1548
 
    {
1549
 
    * Client with computer name %1 was not booted due to remote boot
1550
 
    * service internal error.
1551
 
    }
1552
 
 
1553
 
  NELOG_RplWkstaWrongVersion = ERRLOG2_BASE + 54;
1554
 
  {$EXTERNALSYM NELOG_RplWkstaWrongVersion}
1555
 
 
1556
 
    {
1557
 
    * Client with computer name %1 was not booted because file %2 has an
1558
 
    * invalid boot header.
1559
 
    }
1560
 
 
1561
 
  NELOG_RplWkstaNetwork = ERRLOG2_BASE + 55;
1562
 
  {$EXTERNALSYM NELOG_RplWkstaNetwork}
1563
 
 
1564
 
    {
1565
 
    * Client with computer name %1 was not booted due to network error.
1566
 
    }
1567
 
 
1568
 
  NELOG_RplAdapterResource = ERRLOG2_BASE + 56;
1569
 
  {$EXTERNALSYM NELOG_RplAdapterResource}
1570
 
 
1571
 
    {
1572
 
    * Client with adapter id %1 was not booted due to lack of resources.
1573
 
    }
1574
 
 
1575
 
  NELOG_RplFileCopy = ERRLOG2_BASE + 57;
1576
 
  {$EXTERNALSYM NELOG_RplFileCopy}
1577
 
 
1578
 
    {
1579
 
    * Service experienced error copying file or directory %1.
1580
 
    }
1581
 
 
1582
 
  NELOG_RplFileDelete = ERRLOG2_BASE + 58;
1583
 
  {$EXTERNALSYM NELOG_RplFileDelete}
1584
 
 
1585
 
    {
1586
 
    * Service experienced error deleting file or directory %1.
1587
 
    }
1588
 
 
1589
 
  NELOG_RplFilePerms = ERRLOG2_BASE + 59;
1590
 
  {$EXTERNALSYM NELOG_RplFilePerms}
1591
 
 
1592
 
    {
1593
 
    * Service experienced error setting permissions on file or directory %1.
1594
 
    }
1595
 
  NELOG_RplCheckConfigs = ERRLOG2_BASE + 60;
1596
 
  {$EXTERNALSYM NELOG_RplCheckConfigs}
1597
 
 
1598
 
    {
1599
 
    * Service experienced error evaluating RPL configurations.
1600
 
    }
1601
 
  NELOG_RplCreateProfiles = ERRLOG2_BASE + 61;
1602
 
  {$EXTERNALSYM NELOG_RplCreateProfiles}
1603
 
 
1604
 
    {
1605
 
    * Service experienced error creating RPL profiles for all configurations.
1606
 
    }
1607
 
  NELOG_RplRegistry = ERRLOG2_BASE + 62;
1608
 
  {$EXTERNALSYM NELOG_RplRegistry}
1609
 
 
1610
 
    {
1611
 
    * Service experienced error accessing registry.
1612
 
    }
1613
 
  NELOG_RplReplaceRPLDISK = ERRLOG2_BASE + 63;
1614
 
  {$EXTERNALSYM NELOG_RplReplaceRPLDISK}
1615
 
 
1616
 
    {
1617
 
    * Service experienced error replacing possibly outdated RPLDISK.SYS.
1618
 
    }
1619
 
  NELOG_RplCheckSecurity = ERRLOG2_BASE + 64;
1620
 
  {$EXTERNALSYM NELOG_RplCheckSecurity}
1621
 
 
1622
 
    {
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.
1626
 
    }
1627
 
  NELOG_RplBackupDatabase = ERRLOG2_BASE + 65;
1628
 
  {$EXTERNALSYM NELOG_RplBackupDatabase}
1629
 
 
1630
 
    {
1631
 
    * Service failed to back up its database.
1632
 
    }
1633
 
  NELOG_RplInitDatabase = ERRLOG2_BASE + 66;
1634
 
  {$EXTERNALSYM NELOG_RplInitDatabase}
1635
 
 
1636
 
    {
1637
 
    * Service failed to initialize from its database.  The database may be
1638
 
    * missing or corrupted.  Service will attempt restoring the database
1639
 
    * from the backup.
1640
 
    }
1641
 
  NELOG_RplRestoreDatabaseFailure = ERRLOG2_BASE + 67;
1642
 
  {$EXTERNALSYM NELOG_RplRestoreDatabaseFailure}
1643
 
 
1644
 
    {
1645
 
    * Service failed to restore its database from the backup.  Service
1646
 
    * will not start.
1647
 
    }
1648
 
  NELOG_RplRestoreDatabaseSuccess = ERRLOG2_BASE + 68;
1649
 
  {$EXTERNALSYM NELOG_RplRestoreDatabaseSuccess}
1650
 
 
1651
 
    {
1652
 
    * Service successfully restored its database from the backup.
1653
 
    }
1654
 
  NELOG_RplInitRestoredDatabase = ERRLOG2_BASE + 69;
1655
 
  {$EXTERNALSYM NELOG_RplInitRestoredDatabase}
1656
 
 
1657
 
    {
1658
 
    * Service failed to initialize from its restored database.  Service
1659
 
    * will not start.
1660
 
    }
1661
 
 
1662
 
//
1663
 
// More Netlogon and RPL service events
1664
 
//
1665
 
  NELOG_NetlogonSessionTypeWrong = ERRLOG2_BASE + 70;
1666
 
  {$EXTERNALSYM NELOG_NetlogonSessionTypeWrong}
1667
 
 
1668
 
    {
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.
1674
 
     }
1675
 
  NELOG_RplUpgradeDBTo40 = ERRLOG2_BASE + 71;
1676
 
  {$EXTERNALSYM NELOG_RplUpgradeDBTo40}
1677
 
 
1678
 
    {
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.
1682
 
    }
1683
 
  NELOG_NetlogonLanmanBdcsNotAllowed = ERRLOG2_BASE + 72;
1684
 
  {$EXTERNALSYM NELOG_NetlogonLanmanBdcsNotAllowed}
1685
 
 
1686
 
    {
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.
1690
 
     }
1691
 
  NELOG_NetlogonNoDynamicDns = ERRLOG2_BASE + 73;
1692
 
  {$EXTERNALSYM NELOG_NetlogonNoDynamicDns}
1693
 
 
1694
 
    {
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:
1697
 
     *
1698
 
     * %n%nDNS server IP address: %1
1699
 
     * %nReturned Response Code (RCODE): %2
1700
 
     * %nReturned Status Code: %3
1701
 
     *
1702
 
     * %n%nUSER ACTION
1703
 
     *
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.
1706
 
     }
1707
 
 
1708
 
  NELOG_NetlogonDynamicDnsRegisterFailure = ERRLOG2_BASE + 74;
1709
 
  {$EXTERNALSYM NELOG_NetlogonDynamicDnsRegisterFailure}
1710
 
 
1711
 
    {
1712
 
      *
1713
 
      * The dynamic registration of the DNS record '%1' failed on the following DNS server:
1714
 
      *
1715
 
      * %n%nDNS server IP address: %3
1716
 
      * %nReturned Response Code (RCODE): %4
1717
 
      * %nReturned Status Code: %5
1718
 
      *
1719
 
      * %n%nFor computers and users to locate this domain controller, this record must be
1720
 
      * registered in DNS.
1721
 
      *
1722
 
      * %n%nUSER ACTION
1723
 
      *
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
1732
 
      * recommended.
1733
 
      *
1734
 
      * %n%nADDITIONAL DATA
1735
 
      * %nError Value: %2
1736
 
      *
1737
 
     }
1738
 
 
1739
 
  NELOG_NetlogonDynamicDnsDeregisterFailure = ERRLOG2_BASE + 75;
1740
 
  {$EXTERNALSYM NELOG_NetlogonDynamicDnsDeregisterFailure}
1741
 
 
1742
 
    {
1743
 
      * The dynamic deletion of the DNS record '%1' failed on the following DNS server:
1744
 
      *
1745
 
      * %n%nDNS server IP address: %3
1746
 
      * %nReturned Response Code (RCODE): %4
1747
 
      * %nReturned Status Code: %5
1748
 
      *
1749
 
      * %n%nUSER ACTION
1750
 
      *
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.
1754
 
      *
1755
 
      * %n%nADDITIONAL DATA
1756
 
      * %nError Value: %2
1757
 
     }
1758
 
 
1759
 
  NELOG_NetlogonFailedFileCreate = ERRLOG2_BASE + 76;
1760
 
  {$EXTERNALSYM NELOG_NetlogonFailedFileCreate}
1761
 
 
1762
 
    {
1763
 
     * Failed to create/open file %1 with the following error: %n%2
1764
 
     }
1765
 
 
1766
 
  NELOG_NetlogonGetSubnetToSite = ERRLOG2_BASE + 77;
1767
 
  {$EXTERNALSYM NELOG_NetlogonGetSubnetToSite}
1768
 
 
1769
 
    {
1770
 
     * Netlogon got the following error while trying to get the subnet to site
1771
 
     * mapping information from the DS: %n%1
1772
 
     }
1773
 
 
1774
 
  NELOG_NetlogonNoSiteForClient = ERRLOG2_BASE + 78;
1775
 
  {$EXTERNALSYM NELOG_NetlogonNoSiteForClient}
1776
 
 
1777
 
   {
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.
1781
 
    }
1782
 
 
1783
 
  NELOG_NetlogonBadSiteName = ERRLOG2_BASE + 79;
1784
 
  {$EXTERNALSYM NELOG_NetlogonBadSiteName}
1785
 
 
1786
 
    {
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.
1790
 
     }
1791
 
 
1792
 
  NELOG_NetlogonBadSubnetName = ERRLOG2_BASE + 80;
1793
 
  {$EXTERNALSYM NELOG_NetlogonBadSubnetName}
1794
 
 
1795
 
    {
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.
1800
 
     *
1801
 
     * Correct the name of the subnet object.
1802
 
     }
1803
 
 
1804
 
  NELOG_NetlogonDynamicDnsServerFailure = ERRLOG2_BASE + 81;
1805
 
  {$EXTERNALSYM NELOG_NetlogonDynamicDnsServerFailure}
1806
 
 
1807
 
    {
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).
1812
 
     *
1813
 
     * %n%nPossible causes of failure include:
1814
 
     *
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
1820
 
     *
1821
 
     * %n%nUSER ACTION
1822
 
     *
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.
1826
 
     }
1827
 
 
1828
 
  NELOG_NetlogonDynamicDnsFailure = ERRLOG2_BASE + 82;
1829
 
  {$EXTERNALSYM NELOG_NetlogonDynamicDnsFailure}
1830
 
 
1831
 
    {
1832
 
     * Dynamic registration or deregistration of one or more DNS records failed with the following error: %n%1
1833
 
     }
1834
 
 
1835
 
  NELOG_NetlogonRpcCallCancelled = ERRLOG2_BASE + 83;
1836
 
  {$EXTERNALSYM NELOG_NetlogonRpcCallCancelled}
1837
 
 
1838
 
    {
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.
1841
 
     }
1842
 
 
1843
 
  NELOG_NetlogonDcSiteCovered = ERRLOG2_BASE + 84;
1844
 
  {$EXTERNALSYM NELOG_NetlogonDcSiteCovered}
1845
 
 
1846
 
    {
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.
1851
 
     }
1852
 
 
1853
 
  NELOG_NetlogonDcSiteNotCovered = ERRLOG2_BASE + 85;
1854
 
  {$EXTERNALSYM NELOG_NetlogonDcSiteNotCovered}
1855
 
 
1856
 
    {
1857
 
     * This Domain Controller no longer automatically covers site '%1' for domain '%2'.
1858
 
     }
1859
 
 
1860
 
  NELOG_NetlogonGcSiteCovered = ERRLOG2_BASE + 86;
1861
 
  {$EXTERNALSYM NELOG_NetlogonGcSiteCovered}
1862
 
 
1863
 
    {
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.
1868
 
     }
1869
 
 
1870
 
  NELOG_NetlogonGcSiteNotCovered = ERRLOG2_BASE + 87;
1871
 
  {$EXTERNALSYM NELOG_NetlogonGcSiteNotCovered}
1872
 
 
1873
 
    {
1874
 
     * This Global Catalog server no longer automatically covers site '%1' for forest '%2'.
1875
 
     }
1876
 
 
1877
 
  NELOG_NetlogonFailedSpnUpdate = ERRLOG2_BASE + 88;
1878
 
  {$EXTERNALSYM NELOG_NetlogonFailedSpnUpdate}
1879
 
 
1880
 
    {
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
1884
 
     }
1885
 
 
1886
 
  NELOG_NetlogonFailedDnsHostNameUpdate = ERRLOG2_BASE + 89;
1887
 
  {$EXTERNALSYM NELOG_NetlogonFailedDnsHostNameUpdate}
1888
 
 
1889
 
    {
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
1893
 
     }
1894
 
 
1895
 
  NELOG_NetlogonAuthNoUplevelDomainController = ERRLOG2_BASE + 90;
1896
 
  {$EXTERNALSYM NELOG_NetlogonAuthNoUplevelDomainController}
1897
 
 
1898
 
    {
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
1904
 
     }
1905
 
 
1906
 
  NELOG_NetlogonAuthDomainDowngraded = ERRLOG2_BASE + 91;
1907
 
  {$EXTERNALSYM NELOG_NetlogonAuthDomainDowngraded}
1908
 
 
1909
 
    {
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
1913
 
     * the domain.
1914
 
     * The following error occurred:%n%2
1915
 
     }
1916
 
 
1917
 
  NELOG_NetlogonNdncSiteCovered = ERRLOG2_BASE + 92;
1918
 
  {$EXTERNALSYM NELOG_NetlogonNdncSiteCovered}
1919
 
 
1920
 
    {
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.
1925
 
     }
1926
 
 
1927
 
  NELOG_NetlogonNdncSiteNotCovered = ERRLOG2_BASE + 93;
1928
 
  {$EXTERNALSYM NELOG_NetlogonNdncSiteNotCovered}
1929
 
 
1930
 
    {
1931
 
     * This LDAP server no longer automatically covers site '%1' for non-domain NC '%2'.
1932
 
     }
1933
 
 
1934
 
  NELOG_NetlogonDcOldSiteCovered = ERRLOG2_BASE + 94;
1935
 
  {$EXTERNALSYM NELOG_NetlogonDcOldSiteCovered}
1936
 
 
1937
 
    {
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.
1944
 
     }
1945
 
 
1946
 
  NELOG_NetlogonDcSiteNotCoveredAuto = ERRLOG2_BASE + 95;
1947
 
  {$EXTERNALSYM NELOG_NetlogonDcSiteNotCoveredAuto}
1948
 
 
1949
 
    {
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.
1953
 
     }
1954
 
 
1955
 
  NELOG_NetlogonGcOldSiteCovered = ERRLOG2_BASE + 96;
1956
 
  {$EXTERNALSYM NELOG_NetlogonGcOldSiteCovered}
1957
 
 
1958
 
    {
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.
1965
 
     }
1966
 
 
1967
 
  NELOG_NetlogonGcSiteNotCoveredAuto = ERRLOG2_BASE + 97;
1968
 
  {$EXTERNALSYM NELOG_NetlogonGcSiteNotCoveredAuto}
1969
 
 
1970
 
    {
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.
1974
 
     }
1975
 
 
1976
 
  NELOG_NetlogonNdncOldSiteCovered = ERRLOG2_BASE + 98;
1977
 
  {$EXTERNALSYM NELOG_NetlogonNdncOldSiteCovered}
1978
 
 
1979
 
    {
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.
1986
 
     }
1987
 
 
1988
 
  NELOG_NetlogonNdncSiteNotCoveredAuto = ERRLOG2_BASE + 99;
1989
 
  {$EXTERNALSYM NELOG_NetlogonNdncSiteNotCoveredAuto}
1990
 
 
1991
 
    {
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.
1995
 
     }
1996
 
 
1997
 
  NELOG_NetlogonSpnMultipleSamAccountNames = ERRLOG2_BASE + 100;
1998
 
  {$EXTERNALSYM NELOG_NetlogonSpnMultipleSamAccountNames}
1999
 
 
2000
 
    {
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
2006
 
     * collision.
2007
 
     }
2008
 
 
2009
 
  NELOG_NetlogonSpnCrackNamesFailure = ERRLOG2_BASE + 101;
2010
 
  {$EXTERNALSYM NELOG_NetlogonSpnCrackNamesFailure}
2011
 
 
2012
 
    {
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.
2020
 
     }
2021
 
 
2022
 
  NELOG_NetlogonNoAddressToSiteMapping = ERRLOG2_BASE + 102;
2023
 
  {$EXTERNALSYM NELOG_NetlogonNoAddressToSiteMapping}
2024
 
 
2025
 
    {
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.
2034
 
     }
2035
 
 
2036
 
  NELOG_NetlogonInvalidGenericParameterValue = ERRLOG2_BASE + 103;
2037
 
  {$EXTERNALSYM NELOG_NetlogonInvalidGenericParameterValue}
2038
 
 
2039
 
    {
2040
 
     * The following error occurred while reading a parameter '%2' in the
2041
 
     * Netlogon %1 registry section:%n%3
2042
 
     }
2043
 
 
2044
 
  NELOG_NetlogonInvalidDwordParameterValue = ERRLOG2_BASE + 104;
2045
 
  {$EXTERNALSYM NELOG_NetlogonInvalidDwordParameterValue}
2046
 
 
2047
 
    {
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.
2051
 
     }
2052
 
 
2053
 
  NELOG_NetlogonServerAuthFailedNoAccount = ERRLOG2_BASE + 105;
2054
 
  {$EXTERNALSYM NELOG_NetlogonServerAuthFailedNoAccount}
2055
 
 
2056
 
    {
2057
 
     * The session setup from the computer %1 failed to authenticate.
2058
 
     * The following error occurred: %n%2
2059
 
     }
2060
 
 
2061
 
  NELOG_NetlogonNoDynamicDnsManual = ERRLOG2_BASE + 106;
2062
 
  {$EXTERNALSYM NELOG_NetlogonNoDynamicDnsManual}
2063
 
 
2064
 
    (*
2065
 
     * Dynamic DNS updates have been manually disabled on this domain controller.
2066
 
     *
2067
 
     * %n%nUSER ACTION
2068
 
     *
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.
2071
 
     *)
2072
 
 
2073
 
  NELOG_NetlogonNoSiteForClients = ERRLOG2_BASE + 107;
2074
 
  {$EXTERNALSYM NELOG_NetlogonNoSiteForClients}
2075
 
 
2076
 
    {
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.
2098
 
     }
2099
 
 
2100
 
  NELOG_NetlogonDnsDeregAborted               = ERRLOG2_BASE + 108;
2101
 
  {$EXTERNALSYM NELOG_NetlogonDnsDeregAborted}
2102
 
 
2103
 
    (*
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
2106
 
     * took too long.
2107
 
     *
2108
 
     * %n%nUSER ACTION
2109
 
     *
2110
 
     * %nManually delete the DNS records listed in the file
2111
 
     * '%SystemRoot%\System32\Config\Netlogon.dns' from the DNS database.
2112
 
     *)
2113
 
 
2114
 
  NELOG_NetlogonRpcPortRequestFailure         = ERRLOG2_BASE + 109;
2115
 
  {$EXTERNALSYM NELOG_NetlogonRpcPortRequestFailure}
2116
 
 
2117
 
    (*
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.
2124
 
     *
2125
 
     * %n%nUSER ACTION
2126
 
     *
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.
2135
 
     *)
2136
 
 
2137
 
implementation
2138
 
 
2139
 
{$IFDEF DYNAMIC_LINK}
2140
 
 
2141
 
var
2142
 
  _NetErrorLogClear: Pointer;
2143
 
 
2144
 
function NetErrorLogClear;
2145
 
begin
2146
 
  GetProcedureAddress(_NetErrorLogClear, netapi32, 'NetErrorLogClear');
2147
 
  asm
2148
 
        MOV     ESP, EBP
2149
 
        POP     EBP
2150
 
        JMP     [_NetErrorLogClear]
2151
 
  end;
2152
 
end;
2153
 
 
2154
 
var
2155
 
  _NetErrorLogRead: Pointer;
2156
 
 
2157
 
function NetErrorLogRead;
2158
 
begin
2159
 
  GetProcedureAddress(_NetErrorLogRead, netapi32, 'NetErrorLogRead');
2160
 
  asm
2161
 
        MOV     ESP, EBP
2162
 
        POP     EBP
2163
 
        JMP     [_NetErrorLogRead]
2164
 
  end;
2165
 
end;
2166
 
 
2167
 
var
2168
 
  _NetErrorLogWrite: Pointer;
2169
 
 
2170
 
function NetErrorLogWrite;
2171
 
begin
2172
 
  GetProcedureAddress(_NetErrorLogWrite, netapi32, 'NetErrorLogWrite');
2173
 
  asm
2174
 
        MOV     ESP, EBP
2175
 
        POP     EBP
2176
 
        JMP     [_NetErrorLogWrite]
2177
 
  end;
2178
 
end;
2179
 
 
2180
 
{$ELSE}
2181
 
 
2182
 
function NetErrorLogClear; external netapi32 name 'NetErrorLogClear';
2183
 
function NetErrorLogRead; external netapi32 name 'NetErrorLogRead';
2184
 
function NetErrorLogWrite; external netapi32 name 'NetErrorLogWrite';
2185
 
 
2186
 
{$ENDIF DYNAMIC_LINK}
2187
 
 
2188
 
end.
 
1
{******************************************************************************}
 
2
{                                                                              }
 
3
{ Lan Manager Error Log API interface Unit for Object Pascal                   }
 
4
{                                                                              }
 
5
{ Portions created by Microsoft are Copyright (C) 1995-2001 Microsoft          }
 
6
{ Corporation. All Rights Reserved.                                            }
 
7
{                                                                              }
 
8
{ The original file is: lmerrlog.h, released November 2001. The original Pascal}
 
9
{ code is: LmErrLog.pas, released Februari 2002. The initial developer of the  }
 
10
{ Pascal code is Marcel van Brakel (brakelm att chello dott nl).               }
 
11
{                                                                              }
 
12
{ Portions created by Marcel van Brakel are Copyright (C) 1999-2001            }
 
13
{ Marcel van Brakel. All Rights Reserved.                                      }
 
14
{                                                                              }
 
15
{ Obtained through: Joint Endeavour of Delphi Innovators (Project JEDI)        }
 
16
{                                                                              }
 
17
{ You may retrieve the latest version of this file at the Project JEDI         }
 
18
{ APILIB home page, located at http://jedi-apilib.sourceforge.net              }
 
19
{                                                                              }
 
20
{ The contents of this file are used with permission, subject to the Mozilla   }
 
21
{ Public License Version 1.1 (the "License"); you may not use this file except }
 
22
{ in compliance with the License. You may obtain a copy of the License at      }
 
23
{ http://www.mozilla.org/MPL/MPL-1.1.html                                      }
 
24
{                                                                              }
 
25
{ Software distributed under the License is distributed on an "AS IS" basis,   }
 
26
{ WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for }
 
27
{ the specific language governing rights and limitations under the License.    }
 
28
{                                                                              }
 
29
{ Alternatively, the contents of this file may be used under the terms of the  }
 
30
{ GNU Lesser General Public License (the  "LGPL License"), in which case the   }
 
31
{ provisions of the LGPL License are applicable instead of those above.        }
 
32
{ If you wish to allow use of your version of this file only under the terms   }
 
33
{ of the LGPL License and not to allow others to use your version of this file }
 
34
{ under the MPL, indicate your decision by deleting  the provisions above and  }
 
35
{ replace  them with the notice and other provisions required by the LGPL      }
 
36
{ License.  If you do not delete the provisions above, a recipient may use     }
 
37
{ your version of this file under either the MPL or the LGPL License.          }
 
38
{                                                                              }
 
39
{ For more information about the LGPL: http://www.gnu.org/copyleft/lesser.html }
 
40
{                                                                              }
 
41
{******************************************************************************}
 
42
 
 
43
 
 
44
unit JwaLmErrLog;
 
45
 
 
46
{$WEAKPACKAGEUNIT}
 
47
 
 
48
{$HPPEMIT ''}
 
49
{$HPPEMIT '#include "lmerrlog.h"'}
 
50
{$HPPEMIT ''}
 
51
 
 
52
{$I jediapilib.inc}
 
53
 
 
54
interface
 
55
 
 
56
uses
 
57
  JwaLmCons, JwaWinType;
 
58
 
 
59
//
 
60
// Data Structures - Config
 
61
//
 
62
 
 
63
type
 
64
  _ERROR_LOG = record
 
65
     el_len: DWORD;
 
66
     el_reserved: DWORD;
 
67
     el_time: DWORD;
 
68
     el_error: DWORD;
 
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.
 
74
  end;
 
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;
 
84
 
 
85
{$DEFINE REVISED_ERROR_LOG_STRUCT}
 
86
 
 
87
  _HLOG = record
 
88
     time: DWORD;
 
89
     last_flags: DWORD;
 
90
     offset: DWORD;
 
91
     rec_offset: DWORD;
 
92
  end;
 
93
  {$EXTERNALSYM _HLOG}
 
94
  HLOG = _HLOG;
 
95
  {$EXTERNALSYM HLOG}
 
96
  PHLOG = ^HLOG;
 
97
  {$EXTERNALSYM PHLOG}
 
98
  LPHLOG = ^HLOG;
 
99
  {$EXTERNALSYM LPHLOG}
 
100
 
 
101
const
 
102
  LOGFLAGS_FORWARD   = 0;
 
103
  {$EXTERNALSYM LOGFLAGS_FORWARD}
 
104
  LOGFLAGS_BACKWARD  = $1;
 
105
  {$EXTERNALSYM LOGFLAGS_BACKWARD}
 
106
  LOGFLAGS_SEEK      = $2;
 
107
  {$EXTERNALSYM LOGFLAGS_SEEK}
 
108
 
 
109
//
 
110
// Function Prototypes - ErrorLog
 
111
//
 
112
 
 
113
function NetErrorLogClear(server, backupfile: LPCWSTR; reserved: LPBYTE): NET_API_STATUS; stdcall;
 
114
{$EXTERNALSYM NetErrorLogClear}
 
115
 
 
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}
 
119
 
 
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}
 
123
 
 
124
//
 
125
// Special Values and Constants
 
126
//
 
127
 
 
128
//
 
129
//  Generic (could be used by more than one service)
 
130
//   error log messages from 0 to 25
 
131
//
 
132
// Do not change the comments following the manifest constants without
 
133
// understanding how mapmsg works.
 
134
//
 
135
 
 
136
const
 
137
  ERRLOG_BASE = 3100;        { NELOG errors start here }
 
138
  {$EXTERNALSYM ERRLOG_BASE}
 
139
 
 
140
  NELOG_Internal_Error = ERRLOG_BASE + 0;
 
141
  {$EXTERNALSYM NELOG_Internal_Error}
 
142
 
 
143
    {
 
144
    * The operation failed because a network software error occurred.
 
145
    }
 
146
 
 
147
  NELOG_Resource_Shortage = ERRLOG_BASE + 1;
 
148
  {$EXTERNALSYM NELOG_Resource_Shortage}
 
149
 
 
150
    {
 
151
    * The system ran out of a resource controlled by the %1 option.
 
152
    }
 
153
 
 
154
  NELOG_Unable_To_Lock_Segment = ERRLOG_BASE + 2;
 
155
  {$EXTERNALSYM NELOG_Unable_To_Lock_Segment}
 
156
 
 
157
    {
 
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.
 
160
    }
 
161
 
 
162
  NELOG_Unable_To_Unlock_Segment = ERRLOG_BASE + 3;
 
163
  {$EXTERNALSYM NELOG_Unable_To_Unlock_Segment}
 
164
 
 
165
    {
 
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.
 
168
    }
 
169
 
 
170
  NELOG_Uninstall_Service = ERRLOG_BASE + 4;
 
171
  {$EXTERNALSYM NELOG_Uninstall_Service}
 
172
 
 
173
    {
 
174
    * There was an error stopping service %1.
 
175
    *  The error code from NetServiceControl is the data.
 
176
    }
 
177
 
 
178
  NELOG_Init_Exec_Fail = ERRLOG_BASE + 5;
 
179
  {$EXTERNALSYM NELOG_Init_Exec_Fail}
 
180
 
 
181
    {
 
182
    * Initialization failed because of a system execution failure on
 
183
    *  path %1. The system error code is the data.
 
184
    }
 
185
 
 
186
  NELOG_Ncb_Error = ERRLOG_BASE + 6;
 
187
  {$EXTERNALSYM NELOG_Ncb_Error}
 
188
 
 
189
    {
 
190
    * An unexpected network control block (NCB) was received. The NCB is the data.
 
191
    }
 
192
 
 
193
  NELOG_Net_Not_Started = ERRLOG_BASE + 7;
 
194
  {$EXTERNALSYM NELOG_Net_Not_Started}
 
195
 
 
196
    {
 
197
    * The network is not started.
 
198
    }
 
199
 
 
200
  NELOG_Ioctl_Error = ERRLOG_BASE + 8;
 
201
  {$EXTERNALSYM NELOG_Ioctl_Error}
 
202
 
 
203
    {
 
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
 
207
    *     WORD   error code
 
208
    *     WORD   ioctl or fsctl number
 
209
    }
 
210
 
 
211
  NELOG_System_Semaphore = ERRLOG_BASE + 9;
 
212
  {$EXTERNALSYM NELOG_System_Semaphore}
 
213
 
 
214
    {
 
215
    * Unable to create or open system semaphore %1.
 
216
    *  The error code is the data.
 
217
    }
 
218
 
 
219
  NELOG_Init_OpenCreate_Err = ERRLOG_BASE + 10;
 
220
  {$EXTERNALSYM NELOG_Init_OpenCreate_Err}
 
221
 
 
222
    {
 
223
    * Initialization failed because of an open/create error on the
 
224
    *  file %1. The system error code is the data.
 
225
    }
 
226
 
 
227
  NELOG_NetBios = ERRLOG_BASE + 11;
 
228
  {$EXTERNALSYM NELOG_NetBios}
 
229
 
 
230
    {
 
231
    * An unexpected NetBIOS error occurred.
 
232
    *  The error code is the data.
 
233
    }
 
234
 
 
235
  NELOG_SMB_Illegal = ERRLOG_BASE + 12;
 
236
  {$EXTERNALSYM NELOG_SMB_Illegal}
 
237
 
 
238
    {
 
239
    * An illegal server message block (SMB) was received.
 
240
    *  The SMB is the data.
 
241
    }
 
242
 
 
243
  NELOG_Service_Fail = ERRLOG_BASE + 13;
 
244
  {$EXTERNALSYM NELOG_Service_Fail}
 
245
 
 
246
    {
 
247
    * Initialization failed because the requested service %1
 
248
    *  could not be started.
 
249
   }
 
250
 
 
251
  NELOG_Entries_Lost = ERRLOG_BASE + 14;
 
252
  {$EXTERNALSYM NELOG_Entries_Lost}
 
253
 
 
254
    {
 
255
    * Some entries in the error log were lost because of a buffer
 
256
    * overflow.
 
257
    }
 
258
 
 
259
//
 
260
//  Server specific error log messages from 20 to 40
 
261
//
 
262
 
 
263
  NELOG_Init_Seg_Overflow = ERRLOG_BASE + 20;
 
264
  {$EXTERNALSYM NELOG_Init_Seg_Overflow}
 
265
 
 
266
    {
 
267
    * Initialization parameters controlling resource usage other
 
268
    *  than net buffers are sized so that too much memory is needed.
 
269
    }
 
270
 
 
271
  NELOG_Srv_No_Mem_Grow = ERRLOG_BASE + 21;
 
272
  {$EXTERNALSYM NELOG_Srv_No_Mem_Grow}
 
273
 
 
274
    {
 
275
    * The server cannot increase the size of a memory segment.
 
276
    }
 
277
 
 
278
  NELOG_Access_File_Bad = ERRLOG_BASE + 22;
 
279
  {$EXTERNALSYM NELOG_Access_File_Bad}
 
280
 
 
281
    {
 
282
    * Initialization failed because account file %1 is either incorrect
 
283
    * or not present.
 
284
    }
 
285
 
 
286
  NELOG_Srvnet_Not_Started = ERRLOG_BASE + 23;
 
287
  {$EXTERNALSYM NELOG_Srvnet_Not_Started}
 
288
 
 
289
    {
 
290
    * Initialization failed because network %1 was not started.
 
291
    }
 
292
 
 
293
  NELOG_Init_Chardev_Err = ERRLOG_BASE + 24;
 
294
  {$EXTERNALSYM NELOG_Init_Chardev_Err}
 
295
 
 
296
    {
 
297
    * The server failed to start. Either all three chdev
 
298
    *  parameters must be zero or all three must be nonzero.
 
299
    }
 
300
 
 
301
  NELOG_Remote_API = ERRLOG_BASE + 25;
 
302
  {$EXTERNALSYM NELOG_Remote_API}
 
303
 
 
304
    { A remote API request was halted due to the following
 
305
    * invalid description string: %1.
 
306
    }
 
307
 
 
308
  NELOG_Ncb_TooManyErr = ERRLOG_BASE + 26;
 
309
  {$EXTERNALSYM NELOG_Ncb_TooManyErr}
 
310
 
 
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:
 
314
    }
 
315
 
 
316
  NELOG_Mailslot_err = ERRLOG_BASE + 27;
 
317
  {$EXTERNALSYM NELOG_Mailslot_err}
 
318
 
 
319
    { The server cannot create the %1 mailslot needed to send
 
320
    * the ReleaseMemory alert message.  The error received is:
 
321
    }
 
322
 
 
323
  NELOG_ReleaseMem_Alert = ERRLOG_BASE + 28;
 
324
  {$EXTERNALSYM NELOG_ReleaseMem_Alert}
 
325
 
 
326
    { The server failed to register for the ReleaseMemory alert,
 
327
    * with recipient %1. The error code from
 
328
    * NetAlertStart is the data.
 
329
    }
 
330
 
 
331
  NELOG_AT_cannot_write = ERRLOG_BASE + 29;
 
332
  {$EXTERNALSYM NELOG_AT_cannot_write}
 
333
 
 
334
    { The server cannot update the AT schedule file. The file
 
335
    * is corrupted.
 
336
    }
 
337
 
 
338
  NELOG_Cant_Make_Msg_File = ERRLOG_BASE + 30;
 
339
  {$EXTERNALSYM NELOG_Cant_Make_Msg_File}
 
340
 
 
341
    { The server encountered an error when calling
 
342
    * NetIMakeLMFileName. The error code is the data.
 
343
    }
 
344
 
 
345
  NELOG_Exec_Netservr_NoMem = ERRLOG_BASE + 31;
 
346
  {$EXTERNALSYM NELOG_Exec_Netservr_NoMem}
 
347
 
 
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.
 
351
    }
 
352
 
 
353
  NELOG_Server_Lock_Failure = ERRLOG_BASE + 32;
 
354
  {$EXTERNALSYM NELOG_Server_Lock_Failure}
 
355
 
 
356
    { Longterm lock of the server buffers failed.
 
357
    * Check swap disk's free space and restart the system to start the server.
 
358
    }
 
359
 
 
360
//
 
361
//  Message service and POPUP specific error log messages from 40 to 55
 
362
//
 
363
 
 
364
  NELOG_Msg_Shutdown = ERRLOG_BASE + 40;
 
365
  {$EXTERNALSYM NELOG_Msg_Shutdown}
 
366
 
 
367
    {
 
368
    * The service has stopped due to repeated consecutive
 
369
    *  occurrences of a network control block (NCB) error.  The last bad NCB follows
 
370
    *  in raw data.
 
371
    }
 
372
 
 
373
  NELOG_Msg_Sem_Shutdown = ERRLOG_BASE + 41;
 
374
  {$EXTERNALSYM NELOG_Msg_Sem_Shutdown}
 
375
 
 
376
    {
 
377
    * The Message server has stopped due to a lock on the
 
378
    *  Message server shared data segment.
 
379
    }
 
380
 
 
381
  NELOG_Msg_Log_Err = ERRLOG_BASE + 50;
 
382
  {$EXTERNALSYM NELOG_Msg_Log_Err}
 
383
 
 
384
    {
 
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.
 
388
    }
 
389
 
 
390
  NELOG_VIO_POPUP_ERR = ERRLOG_BASE + 51;
 
391
  {$EXTERNALSYM NELOG_VIO_POPUP_ERR}
 
392
 
 
393
    {
 
394
    * Unable to display message POPUP due to system VIO call error.
 
395
    *  The error code is the data.
 
396
    }
 
397
 
 
398
  NELOG_Msg_Unexpected_SMB_Type = ERRLOG_BASE + 52;
 
399
  {$EXTERNALSYM NELOG_Msg_Unexpected_SMB_Type}
 
400
 
 
401
    {
 
402
    * An illegal server message block (SMB) was received.  The SMB is the data.
 
403
    }
 
404
 
 
405
//
 
406
//  Workstation specific error log messages from 60 to 75
 
407
//
 
408
 
 
409
  NELOG_Wksta_Infoseg = ERRLOG_BASE + 60;
 
410
  {$EXTERNALSYM NELOG_Wksta_Infoseg}
 
411
 
 
412
    {
 
413
    * The workstation information segment is bigger than 64K.
 
414
    *  The size follows, in DWORD format:
 
415
    }
 
416
 
 
417
  NELOG_Wksta_Compname = ERRLOG_BASE + 61;
 
418
  {$EXTERNALSYM NELOG_Wksta_Compname}
 
419
 
 
420
    {
 
421
    * The workstation was unable to get the name-number of the computer.
 
422
    }
 
423
 
 
424
  NELOG_Wksta_BiosThreadFailure = ERRLOG_BASE + 62;
 
425
  {$EXTERNALSYM NELOG_Wksta_BiosThreadFailure}
 
426
 
 
427
    {
 
428
    * The workstation could not initialize the Async NetBIOS Thread.
 
429
    *  The error code is the data.
 
430
    }
 
431
 
 
432
  NELOG_Wksta_IniSeg = ERRLOG_BASE + 63;
 
433
  {$EXTERNALSYM NELOG_Wksta_IniSeg}
 
434
 
 
435
    {
 
436
    * The workstation could not open the initial shared segment.
 
437
    *  The error code is the data.
 
438
    }
 
439
 
 
440
  NELOG_Wksta_HostTab_Full = ERRLOG_BASE + 64;
 
441
  {$EXTERNALSYM NELOG_Wksta_HostTab_Full}
 
442
 
 
443
    {
 
444
    * The workstation host table is full.
 
445
    }
 
446
 
 
447
  NELOG_Wksta_Bad_Mailslot_SMB = ERRLOG_BASE + 65;
 
448
  {$EXTERNALSYM NELOG_Wksta_Bad_Mailslot_SMB}
 
449
 
 
450
    {
 
451
    * A bad mailslot server message block (SMB) was received.  The SMB is the data.
 
452
    }
 
453
 
 
454
  NELOG_Wksta_UASInit = ERRLOG_BASE + 66;
 
455
  {$EXTERNALSYM NELOG_Wksta_UASInit}
 
456
 
 
457
    {
 
458
    * The workstation encountered an error while trying to start the user accounts database.
 
459
    *  The error code is the data.
 
460
    }
 
461
 
 
462
  NELOG_Wksta_SSIRelogon = ERRLOG_BASE + 67;
 
463
  {$EXTERNALSYM NELOG_Wksta_SSIRelogon}
 
464
 
 
465
    {
 
466
    * The workstation encountered an error while responding to an SSI revalidation request.
 
467
    *  The function code and the error codes are the data.
 
468
    }
 
469
 
 
470
//
 
471
//  Alerter service specific error log messages from 70 to 79
 
472
//
 
473
 
 
474
  NELOG_Build_Name = ERRLOG_BASE + 70;
 
475
  {$EXTERNALSYM NELOG_Build_Name}
 
476
 
 
477
    {
 
478
    * The Alerter service had a problem creating the list of
 
479
    * alert recipients.  The error code is %1.
 
480
    }
 
481
 
 
482
  NELOG_Name_Expansion = ERRLOG_BASE + 71;
 
483
  {$EXTERNALSYM NELOG_Name_Expansion}
 
484
 
 
485
    {
 
486
    * There was an error expanding %1 as a group name. Try
 
487
    *  splitting the group into two or more smaller groups.
 
488
    }
 
489
 
 
490
  NELOG_Message_Send = ERRLOG_BASE + 72;
 
491
  {$EXTERNALSYM NELOG_Message_Send}
 
492
 
 
493
    {
 
494
    * There was an error sending %2 the alert message -
 
495
    *  (
 
496
    *  %3 )
 
497
    *  The error code is %1.
 
498
    }
 
499
 
 
500
  NELOG_Mail_Slt_Err = ERRLOG_BASE + 73;
 
501
  {$EXTERNALSYM NELOG_Mail_Slt_Err}
 
502
 
 
503
    {
 
504
    * There was an error in creating or reading the alerter mailslot.
 
505
    *  The error code is %1.
 
506
    }
 
507
 
 
508
  NELOG_AT_cannot_read = ERRLOG_BASE + 74;
 
509
  {$EXTERNALSYM NELOG_AT_cannot_read}
 
510
 
 
511
    {
 
512
    * The server could not read the AT schedule file.
 
513
    }
 
514
 
 
515
  NELOG_AT_sched_err = ERRLOG_BASE + 75;
 
516
  {$EXTERNALSYM NELOG_AT_sched_err}
 
517
 
 
518
    {
 
519
    * The server found an invalid AT schedule record.
 
520
    }
 
521
 
 
522
  NELOG_AT_schedule_file_created = ERRLOG_BASE + 76;
 
523
  {$EXTERNALSYM NELOG_AT_schedule_file_created}
 
524
 
 
525
    {
 
526
    * The server could not find an AT schedule file so it created one.
 
527
    }
 
528
 
 
529
  NELOG_Srvnet_NB_Open = ERRLOG_BASE + 77;
 
530
  {$EXTERNALSYM NELOG_Srvnet_NB_Open}
 
531
 
 
532
    {
 
533
    * The server could not access the %1 network with NetBiosOpen.
 
534
    }
 
535
 
 
536
  NELOG_AT_Exec_Err = ERRLOG_BASE + 78;
 
537
  {$EXTERNALSYM NELOG_AT_Exec_Err}
 
538
 
 
539
    {
 
540
    * The AT command processor could not run %1.
 
541
   }
 
542
 
 
543
//
 
544
//      Cache Lazy Write and HPFS386 specific error log messages from 80 to 89
 
545
//
 
546
 
 
547
  NELOG_Lazy_Write_Err = ERRLOG_BASE + 80;
 
548
  {$EXTERNALSYM NELOG_Lazy_Write_Err}
 
549
 
 
550
        {
 
551
        * WARNING:  Because of a lazy-write error, drive %1 now
 
552
        *  contains some corrupted data.  The cache is stopped.
 
553
        }
 
554
 
 
555
  NELOG_HotFix = ERRLOG_BASE + 81;
 
556
  {$EXTERNALSYM NELOG_HotFix}
 
557
 
 
558
    {
 
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.
 
562
    *
 
563
    * The hotfix occurred while processing a remote request.
 
564
    }
 
565
 
 
566
  NELOG_HardErr_From_Server = ERRLOG_BASE + 82;
 
567
  {$EXTERNALSYM NELOG_HardErr_From_Server}
 
568
 
 
569
    {
 
570
    * A disk error occurred on the HPFS volume in drive %1.
 
571
    * The error occurred while processing a remote request.
 
572
    }
 
573
 
 
574
  NELOG_LocalSecFail1 = ERRLOG_BASE + 83;
 
575
  {$EXTERNALSYM NELOG_LocalSecFail1}
 
576
 
 
577
    {
 
578
    * The user accounts database (NET.ACC) is corrupted.  The local security
 
579
    * system is replacing the corrupted NET.ACC with the backup
 
580
    * made at %1.
 
581
    * Any updates made to the database after this time are lost.
 
582
    *
 
583
    }
 
584
 
 
585
  NELOG_LocalSecFail2 = ERRLOG_BASE + 84;
 
586
  {$EXTERNALSYM NELOG_LocalSecFail2}
 
587
 
 
588
    {
 
589
    * The user accounts database (NET.ACC) is missing.  The local
 
590
    * security system is restoring the backup database
 
591
    * made at %1.
 
592
    * Any updates made to the database made after this time are lost.
 
593
    *
 
594
    }
 
595
 
 
596
  NELOG_LocalSecFail3 = ERRLOG_BASE + 85;
 
597
  {$EXTERNALSYM NELOG_LocalSecFail3}
 
598
 
 
599
    {
 
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.
 
603
    *
 
604
    * THE SYSTEM IS NOT SECURE.
 
605
    }
 
606
 
 
607
  NELOG_LocalSecGeneralFail = ERRLOG_BASE + 86;
 
608
  {$EXTERNALSYM NELOG_LocalSecGeneralFail}
 
609
 
 
610
    {
 
611
    * Local security could not be started because an error
 
612
    * occurred during initialization. The error code returned is %1.
 
613
    *
 
614
    * THE SYSTEM IS NOT SECURE.
 
615
    *
 
616
    }
 
617
 
 
618
//
 
619
//  NETWKSTA.SYS specific error log messages from 90 to 99
 
620
//
 
621
 
 
622
  NELOG_NetWkSta_Internal_Error = ERRLOG_BASE + 90;
 
623
  {$EXTERNALSYM NELOG_NetWkSta_Internal_Error}
 
624
 
 
625
    {
 
626
    * A NetWksta internal error has occurred:
 
627
    *  %1
 
628
    }
 
629
 
 
630
  NELOG_NetWkSta_No_Resource = ERRLOG_BASE + 91;
 
631
  {$EXTERNALSYM NELOG_NetWkSta_No_Resource}
 
632
 
 
633
    {
 
634
    * The redirector is out of a resource: %1.
 
635
    }
 
636
 
 
637
  NELOG_NetWkSta_SMB_Err = ERRLOG_BASE + 92;
 
638
  {$EXTERNALSYM NELOG_NetWkSta_SMB_Err}
 
639
 
 
640
    {
 
641
    * A server message block (SMB) error occurred on the connection to %1.
 
642
    *  The SMB header is the data.
 
643
    }
 
644
 
 
645
  NELOG_NetWkSta_VC_Err = ERRLOG_BASE + 93;
 
646
  {$EXTERNALSYM NELOG_NetWkSta_VC_Err}
 
647
 
 
648
    {
 
649
    * A virtual circuit error occurred on the session to %1.
 
650
    *  The network control block (NCB) command and return code is the data.
 
651
    }
 
652
 
 
653
  NELOG_NetWkSta_Stuck_VC_Err = ERRLOG_BASE + 94;
 
654
  {$EXTERNALSYM NELOG_NetWkSta_Stuck_VC_Err}
 
655
 
 
656
    {
 
657
    * Hanging up a stuck session to %1.
 
658
    }
 
659
 
 
660
  NELOG_NetWkSta_NCB_Err = ERRLOG_BASE + 95;
 
661
  {$EXTERNALSYM NELOG_NetWkSta_NCB_Err}
 
662
 
 
663
    {
 
664
    * A network control block (NCB) error occurred (%1).
 
665
    *  The NCB is the data.
 
666
    }
 
667
 
 
668
  NELOG_NetWkSta_Write_Behind_Err = ERRLOG_BASE + 96;
 
669
  {$EXTERNALSYM NELOG_NetWkSta_Write_Behind_Err}
 
670
 
 
671
    {
 
672
    * A write operation to %1 failed.
 
673
    *  Data may have been lost.
 
674
    }
 
675
 
 
676
  NELOG_NetWkSta_Reset_Err = ERRLOG_BASE + 97;
 
677
  {$EXTERNALSYM NELOG_NetWkSta_Reset_Err}
 
678
 
 
679
    {
 
680
    * Reset of driver %1 failed to complete the network control block (NCB).
 
681
    *  The NCB is the data.
 
682
    }
 
683
 
 
684
  NELOG_NetWkSta_Too_Many = ERRLOG_BASE + 98;
 
685
  {$EXTERNALSYM NELOG_NetWkSta_Too_Many}
 
686
 
 
687
    {
 
688
    * The amount of resource %1 requested was more
 
689
    *  than the maximum. The maximum amount was allocated.
 
690
    }
 
691
 
 
692
//
 
693
//  Spooler specific error log messages from 100 to 103
 
694
//
 
695
 
 
696
  NELOG_Srv_Thread_Failure = ERRLOG_BASE + 104;
 
697
  {$EXTERNALSYM NELOG_Srv_Thread_Failure}
 
698
 
 
699
    {
 
700
    * The server could not create a thread.
 
701
    *  The THREADS parameter in the CONFIG.SYS file should be increased.
 
702
    }
 
703
 
 
704
  NELOG_Srv_Close_Failure = ERRLOG_BASE + 105;
 
705
  {$EXTERNALSYM NELOG_Srv_Close_Failure}
 
706
 
 
707
    {
 
708
    * The server could not close %1.
 
709
    *  The file is probably corrupted.
 
710
    }
 
711
 
 
712
  NELOG_ReplUserCurDir = ERRLOG_BASE + 106;
 
713
  {$EXTERNALSYM NELOG_ReplUserCurDir}
 
714
 
 
715
    {
 
716
    *The replicator cannot update directory %1. It has tree integrity
 
717
    * and is the current directory for some process.
 
718
    }
 
719
 
 
720
  NELOG_ReplCannotMasterDir = ERRLOG_BASE + 107;
 
721
  {$EXTERNALSYM NELOG_ReplCannotMasterDir}
 
722
 
 
723
    {
 
724
    *The server cannot export directory %1 to client %2.
 
725
    * It is exported from another server.
 
726
    }
 
727
 
 
728
  NELOG_ReplUpdateError = ERRLOG_BASE + 108;
 
729
  {$EXTERNALSYM NELOG_ReplUpdateError}
 
730
 
 
731
    {
 
732
    *The replication server could not update directory %2 from the source
 
733
    * on %3 due to error %1.
 
734
    }
 
735
 
 
736
  NELOG_ReplLostMaster = ERRLOG_BASE + 109;
 
737
  {$EXTERNALSYM NELOG_ReplLostMaster}
 
738
 
 
739
    {
 
740
    *Master %1 did not send an update notice for directory %2 at the expected
 
741
    * time.
 
742
    }
 
743
 
 
744
  NELOG_NetlogonAuthDCFail = ERRLOG_BASE + 110;
 
745
  {$EXTERNALSYM NELOG_NetlogonAuthDCFail}
 
746
 
 
747
    {
 
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
 
753
    * administrator.
 
754
    }
 
755
 
 
756
  NELOG_ReplLogonFailed = ERRLOG_BASE + 111;
 
757
  {$EXTERNALSYM NELOG_ReplLogonFailed}
 
758
 
 
759
    {
 
760
    *The replicator attempted to log on at %2 as %1 and failed.
 
761
    }
 
762
 
 
763
  NELOG_ReplNetErr = ERRLOG_BASE + 112;
 
764
  {$EXTERNALSYM NELOG_ReplNetErr}
 
765
 
 
766
    {
 
767
    *  Network error %1 occurred.
 
768
    }
 
769
 
 
770
  NELOG_ReplMaxFiles = ERRLOG_BASE + 113;
 
771
  {$EXTERNALSYM NELOG_ReplMaxFiles}
 
772
 
 
773
    {
 
774
    *  Replicator limit for files in a directory has been exceeded.
 
775
    }
 
776
 
 
777
  NELOG_ReplMaxTreeDepth = ERRLOG_BASE + 114;
 
778
  {$EXTERNALSYM NELOG_ReplMaxTreeDepth}
 
779
 
 
780
    {
 
781
    *  Replicator limit for tree depth has been exceeded.
 
782
    }
 
783
 
 
784
  NELOG_ReplBadMsg = ERRLOG_BASE + 115;
 
785
  {$EXTERNALSYM NELOG_ReplBadMsg}
 
786
 
 
787
    {
 
788
    *  Unrecognized message received in mailslot.
 
789
    }
 
790
 
 
791
  NELOG_ReplSysErr = ERRLOG_BASE + 116;
 
792
  {$EXTERNALSYM NELOG_ReplSysErr}
 
793
 
 
794
    {
 
795
    *  System error %1 occurred.
 
796
    }
 
797
 
 
798
  NELOG_ReplUserLoged = ERRLOG_BASE + 117;
 
799
  {$EXTERNALSYM NELOG_ReplUserLoged}
 
800
 
 
801
    {
 
802
    *  Cannot log on. User is currently logged on and argument TRYUSER
 
803
    *  is set to NO.
 
804
    }
 
805
 
 
806
  NELOG_ReplBadImport = ERRLOG_BASE + 118;
 
807
  {$EXTERNALSYM NELOG_ReplBadImport}
 
808
 
 
809
    {
 
810
    *  IMPORT path %1 cannot be found.
 
811
    }
 
812
 
 
813
  NELOG_ReplBadExport = ERRLOG_BASE + 119;
 
814
  {$EXTERNALSYM NELOG_ReplBadExport}
 
815
 
 
816
    {
 
817
    *  EXPORT path %1 cannot be found.
 
818
    }
 
819
 
 
820
  NELOG_ReplSignalFileErr = ERRLOG_BASE + 120;
 
821
  {$EXTERNALSYM NELOG_ReplSignalFileErr}
 
822
 
 
823
    {
 
824
    *  Replicator failed to update signal file in directory %2 due to
 
825
    *  %1 system error.
 
826
    }
 
827
 
 
828
  NELOG_DiskFT = (ERRLOG_BASE+121);
 
829
  {$EXTERNALSYM NELOG_DiskFT}
 
830
 
 
831
    {
 
832
    * Disk Fault Tolerance Error
 
833
    *
 
834
    * %1
 
835
    }
 
836
 
 
837
  NELOG_ReplAccessDenied = ERRLOG_BASE + 122;
 
838
  {$EXTERNALSYM NELOG_ReplAccessDenied}
 
839
 
 
840
    {
 
841
    *  Replicator could not access %2
 
842
    *  on %3 due to system error %1.
 
843
    }
 
844
 
 
845
  NELOG_NetlogonFailedPrimary = ERRLOG_BASE + 123;
 
846
  {$EXTERNALSYM NELOG_NetlogonFailedPrimary}
 
847
 
 
848
    {
 
849
    *The primary domain controller for domain %1 has apparently failed.
 
850
    }
 
851
 
 
852
  NELOG_NetlogonPasswdSetFailed = ERRLOG_BASE + 124;
 
853
  {$EXTERNALSYM NELOG_NetlogonPasswdSetFailed}
 
854
 
 
855
    {
 
856
    * Changing machine account password for account %1 failed with
 
857
    * the following error: %n%2
 
858
    }
 
859
 
 
860
  NELOG_NetlogonTrackingError = ERRLOG_BASE + 125;
 
861
  {$EXTERNALSYM NELOG_NetlogonTrackingError}
 
862
 
 
863
    {
 
864
    *An error occurred while updating the logon or logoff information for %1.
 
865
    }
 
866
 
 
867
  NELOG_NetlogonSyncError = ERRLOG_BASE + 126;
 
868
  {$EXTERNALSYM NELOG_NetlogonSyncError}
 
869
 
 
870
    {
 
871
    *An error occurred while synchronizing with primary domain controller %1
 
872
    }
 
873
 
 
874
  NELOG_NetlogonRequireSignOrSealError = ERRLOG_BASE + 127;
 
875
  {$EXTERNALSYM NELOG_NetlogonRequireSignOrSealError}
 
876
 
 
877
    {
 
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
 
880
    * session.
 
881
    *
 
882
    * Either upgrade the Domain controller or set the RequireSignOrSeal
 
883
    * registry entry on this machine to 0.
 
884
    }
 
885
 
 
886
//
 
887
//  UPS service specific error log messages from 130 to 135
 
888
//
 
889
 
 
890
  NELOG_UPS_PowerOut = ERRLOG_BASE + 130;
 
891
  {$EXTERNALSYM NELOG_UPS_PowerOut}
 
892
 
 
893
    {
 
894
    * A power failure was detected at the server.
 
895
    }
 
896
 
 
897
  NELOG_UPS_Shutdown = ERRLOG_BASE + 131;
 
898
  {$EXTERNALSYM NELOG_UPS_Shutdown}
 
899
 
 
900
    {
 
901
    * The UPS service performed server shut down.
 
902
    }
 
903
 
 
904
  NELOG_UPS_CmdFileError = ERRLOG_BASE + 132;
 
905
  {$EXTERNALSYM NELOG_UPS_CmdFileError}
 
906
 
 
907
    {
 
908
    * The UPS service did not complete execution of the
 
909
    * user specified shut down command file.
 
910
    }
 
911
 
 
912
  NELOG_UPS_CannotOpenDriver = (ERRLOG_BASE+133);
 
913
  {$EXTERNALSYM NELOG_UPS_CannotOpenDriver}
 
914
 
 
915
    {
 
916
    * The UPS driver could not be opened.  The error code is
 
917
    * the data.
 
918
    }
 
919
 
 
920
  NELOG_UPS_PowerBack = ERRLOG_BASE + 134;
 
921
  {$EXTERNALSYM NELOG_UPS_PowerBack}
 
922
 
 
923
    {
 
924
    * Power has been restored.
 
925
    }
 
926
 
 
927
  NELOG_UPS_CmdFileConfig = ERRLOG_BASE + 135;
 
928
  {$EXTERNALSYM NELOG_UPS_CmdFileConfig}
 
929
 
 
930
    {
 
931
    * There is a problem with a configuration of user specified
 
932
    * shut down command file.
 
933
    }
 
934
 
 
935
  NELOG_UPS_CmdFileExec = ERRLOG_BASE + 136;
 
936
  {$EXTERNALSYM NELOG_UPS_CmdFileExec}
 
937
 
 
938
    {
 
939
    * The UPS service failed to execute a user specified shutdown
 
940
    * command file %1.  The error code is the data.
 
941
    }
 
942
 
 
943
//
 
944
//  Remoteboot server specific error log messages are from 150 to 157
 
945
//
 
946
 
 
947
  NELOG_Missing_Parameter = ERRLOG_BASE + 150;
 
948
  {$EXTERNALSYM NELOG_Missing_Parameter}
 
949
 
 
950
    {
 
951
    * Initialization failed because of an invalid or missing
 
952
    *  parameter in the configuration file %1.
 
953
    }
 
954
 
 
955
  NELOG_Invalid_Config_Line = ERRLOG_BASE + 151;
 
956
  {$EXTERNALSYM NELOG_Invalid_Config_Line}
 
957
 
 
958
    {
 
959
    * Initialization failed because of an invalid line in the
 
960
    *  configuration file %1. The invalid line is the data.
 
961
    }
 
962
 
 
963
  NELOG_Invalid_Config_File = ERRLOG_BASE + 152;
 
964
  {$EXTERNALSYM NELOG_Invalid_Config_File}
 
965
 
 
966
    {
 
967
    * Initialization failed because of an error in the configuration
 
968
    *  file %1.
 
969
    }
 
970
 
 
971
  NELOG_File_Changed = ERRLOG_BASE + 153;
 
972
  {$EXTERNALSYM NELOG_File_Changed}
 
973
 
 
974
    {
 
975
    * The file %1 has been changed after initialization.
 
976
    *  The boot-block loading was temporarily terminated.
 
977
    }
 
978
 
 
979
  NELOG_Files_Dont_Fit = ERRLOG_BASE + 154;
 
980
  {$EXTERNALSYM NELOG_Files_Dont_Fit}
 
981
 
 
982
    {
 
983
    * The files do not fit to the boot-block configuration
 
984
    * file %1. Change the BASE and ORG definitions or the order
 
985
    * of the files.
 
986
    }
 
987
 
 
988
  NELOG_Wrong_DLL_Version = ERRLOG_BASE + 155;
 
989
  {$EXTERNALSYM NELOG_Wrong_DLL_Version}
 
990
 
 
991
    {
 
992
    * Initialization failed because the dynamic-link
 
993
    *  library %1 returned an incorrect version number.
 
994
    }
 
995
 
 
996
  NELOG_Error_in_DLL = ERRLOG_BASE + 156;
 
997
  {$EXTERNALSYM NELOG_Error_in_DLL}
 
998
 
 
999
    {
 
1000
    * There was an unrecoverable error in the dynamic-
 
1001
    *  link library of the service.
 
1002
    }
 
1003
 
 
1004
  NELOG_System_Error = ERRLOG_BASE + 157;
 
1005
  {$EXTERNALSYM NELOG_System_Error}
 
1006
 
 
1007
    {
 
1008
    * The system returned an unexpected error code.
 
1009
    *  The error code is the data.
 
1010
    }
 
1011
 
 
1012
  NELOG_FT_ErrLog_Too_Large = ERRLOG_BASE + 158;
 
1013
  {$EXTERNALSYM NELOG_FT_ErrLog_Too_Large}
 
1014
 
 
1015
    {
 
1016
    * The fault-tolerance error log file, LANROOT\LOGS\FT.LOG,
 
1017
    *  is more than 64K.
 
1018
    }
 
1019
 
 
1020
  NELOG_FT_Update_In_Progress = ERRLOG_BASE + 159;
 
1021
  {$EXTERNALSYM NELOG_FT_Update_In_Progress}
 
1022
 
 
1023
    {
 
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.
 
1027
    }
 
1028
 
 
1029
  NELOG_Joined_Domain = ERRLOG_BASE + 160;
 
1030
  {$EXTERNALSYM NELOG_Joined_Domain}
 
1031
 
 
1032
    {
 
1033
    * This computer has been successfully joined to %1 '%2'.
 
1034
    }
 
1035
 
 
1036
  NELOG_Joined_Workgroup = ERRLOG_BASE + 161;
 
1037
  {$EXTERNALSYM NELOG_Joined_Workgroup}
 
1038
 
 
1039
    (*
 
1040
    * This computer has been successfully joined to workgroup '%1'.
 
1041
    *)
 
1042
 
 
1043
//
 
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.".
 
1049
//
 
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 #)
 
1055
// %5 - % 9:  Text.
 
1056
//
 
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.
 
1060
//
 
1061
 
 
1062
  NELOG_OEM_Code = ERRLOG_BASE + 199;
 
1063
  {$EXTERNALSYM NELOG_OEM_Code}
 
1064
 
 
1065
    {
 
1066
    * %1 %2 %3 %4 %5 %6 %7 %8 %9.
 
1067
    }
 
1068
 
 
1069
//
 
1070
// another error log range defined for NT Lanman.
 
1071
//
 
1072
 
 
1073
  ERRLOG2_BASE = 5700        { New NT NELOG errors start here };
 
1074
  {$EXTERNALSYM ERRLOG2_BASE}
 
1075
 
 
1076
  NELOG_NetlogonSSIInitError = ERRLOG2_BASE + 0;
 
1077
  {$EXTERNALSYM NELOG_NetlogonSSIInitError}
 
1078
 
 
1079
    {
 
1080
     * The Netlogon service could not initialize the replication data
 
1081
     * structures successfully. The service was terminated.  The following
 
1082
     * error occurred: %n%1
 
1083
     }
 
1084
 
 
1085
  NELOG_NetlogonFailedToUpdateTrustList = ERRLOG2_BASE + 1;
 
1086
  {$EXTERNALSYM NELOG_NetlogonFailedToUpdateTrustList}
 
1087
 
 
1088
    {
 
1089
     * The Netlogon service failed to update the domain trust list.  The
 
1090
     * following error occurred: %n%1
 
1091
     }
 
1092
 
 
1093
  NELOG_NetlogonFailedToAddRpcInterface = ERRLOG2_BASE + 2;
 
1094
  {$EXTERNALSYM NELOG_NetlogonFailedToAddRpcInterface}
 
1095
 
 
1096
    {
 
1097
     * The Netlogon service could not add the RPC interface.  The
 
1098
     * service was terminated. The following error occurred: %n%1
 
1099
     }
 
1100
 
 
1101
  NELOG_NetlogonFailedToReadMailslot = ERRLOG2_BASE + 3;
 
1102
  {$EXTERNALSYM NELOG_NetlogonFailedToReadMailslot}
 
1103
 
 
1104
    {
 
1105
     * The Netlogon service could not read a mailslot message from %1 due
 
1106
     * to the following error: %n%2
 
1107
     }
 
1108
 
 
1109
  NELOG_NetlogonFailedToRegisterSC = ERRLOG2_BASE + 4;
 
1110
  {$EXTERNALSYM NELOG_NetlogonFailedToRegisterSC}
 
1111
 
 
1112
    (*
 
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
 
1116
     *)
 
1117
 
 
1118
  NELOG_NetlogonChangeLogCorrupt = ERRLOG2_BASE + 5;
 
1119
  {$EXTERNALSYM NELOG_NetlogonChangeLogCorrupt}
 
1120
 
 
1121
    {
 
1122
     * The change log cache maintained by the Netlogon service for %1
 
1123
     * database changes is inconsistent. The Netlogon service is resetting
 
1124
     * the change log.
 
1125
     }
 
1126
 
 
1127
  NELOG_NetlogonFailedToCreateShare = ERRLOG2_BASE + 6;
 
1128
  {$EXTERNALSYM NELOG_NetlogonFailedToCreateShare}
 
1129
 
 
1130
    {
 
1131
     * The Netlogon service could not create server share %1.  The following
 
1132
     * error occurred: %n%2
 
1133
     }
 
1134
 
 
1135
  NELOG_NetlogonDownLevelLogonFailed = ERRLOG2_BASE + 7;
 
1136
  {$EXTERNALSYM NELOG_NetlogonDownLevelLogonFailed}
 
1137
 
 
1138
    {
 
1139
     * The down-level logon request for the user %1 from %2 failed.
 
1140
     }
 
1141
 
 
1142
  NELOG_NetlogonDownLevelLogoffFailed = ERRLOG2_BASE + 8;
 
1143
  {$EXTERNALSYM NELOG_NetlogonDownLevelLogoffFailed}
 
1144
 
 
1145
    {
 
1146
     * The down-level logoff request for the user %1 from %2 failed.
 
1147
     }
 
1148
 
 
1149
  NELOG_NetlogonNTLogonFailed = ERRLOG2_BASE + 9;
 
1150
  {$EXTERNALSYM NELOG_NetlogonNTLogonFailed}
 
1151
 
 
1152
    {
 
1153
     * The Windows NT or Windows 2000 %1 logon request for the user %2\%3 from %4 (via %5)
 
1154
     * failed.
 
1155
     }
 
1156
 
 
1157
  NELOG_NetlogonNTLogoffFailed = ERRLOG2_BASE + 10;
 
1158
  {$EXTERNALSYM NELOG_NetlogonNTLogoffFailed}
 
1159
 
 
1160
    {
 
1161
     * The Windows NT or Windows 2000 %1 logoff request for the user %2\%3 from %4
 
1162
     * failed.
 
1163
     }
 
1164
 
 
1165
  NELOG_NetlogonPartialSyncCallSuccess = ERRLOG2_BASE + 11;
 
1166
  {$EXTERNALSYM NELOG_NetlogonPartialSyncCallSuccess}
 
1167
 
 
1168
    {
 
1169
     * The partial synchronization request from the server %1 completed
 
1170
     * successfully. %2 changes(s) has(have) been returned to the
 
1171
     * caller.
 
1172
     }
 
1173
 
 
1174
  NELOG_NetlogonPartialSyncCallFailed = ERRLOG2_BASE + 12;
 
1175
  {$EXTERNALSYM NELOG_NetlogonPartialSyncCallFailed}
 
1176
 
 
1177
    {
 
1178
     * The partial synchronization request from the server %1 failed with
 
1179
     * the following error: %n%2
 
1180
     }
 
1181
 
 
1182
  NELOG_NetlogonFullSyncCallSuccess = ERRLOG2_BASE + 13;
 
1183
  {$EXTERNALSYM NELOG_NetlogonFullSyncCallSuccess}
 
1184
 
 
1185
    {
 
1186
     * The full synchronization request from the server %1 completed
 
1187
     * successfully. %2 object(s) has(have) been returned to
 
1188
     * the caller.
 
1189
     }
 
1190
 
 
1191
  NELOG_NetlogonFullSyncCallFailed = ERRLOG2_BASE + 14;
 
1192
  {$EXTERNALSYM NELOG_NetlogonFullSyncCallFailed}
 
1193
 
 
1194
    {
 
1195
     * The full synchronization request from the server %1 failed with
 
1196
     * the following error: %n%2
 
1197
     }
 
1198
 
 
1199
  NELOG_NetlogonPartialSyncSuccess = ERRLOG2_BASE + 15;
 
1200
  {$EXTERNALSYM NELOG_NetlogonPartialSyncSuccess}
 
1201
 
 
1202
    {
 
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.
 
1206
     }
 
1207
 
 
1208
  NELOG_NetlogonPartialSyncFailed = ERRLOG2_BASE + 16;
 
1209
  {$EXTERNALSYM NELOG_NetlogonPartialSyncFailed}
 
1210
 
 
1211
    {
 
1212
     * The partial synchronization replication of the %1 database from the
 
1213
     * primary domain controller %2 failed with the following error: %n%3
 
1214
     }
 
1215
 
 
1216
  NELOG_NetlogonFullSyncSuccess = ERRLOG2_BASE + 17;
 
1217
  {$EXTERNALSYM NELOG_NetlogonFullSyncSuccess}
 
1218
 
 
1219
    {
 
1220
     * The full synchronization replication of the %1 database from the
 
1221
     * primary domain controller %2 completed successfully.
 
1222
     }
 
1223
 
 
1224
  NELOG_NetlogonFullSyncFailed = ERRLOG2_BASE + 18;
 
1225
  {$EXTERNALSYM NELOG_NetlogonFullSyncFailed}
 
1226
 
 
1227
    {
 
1228
     * The full synchronization replication of the %1 database from the
 
1229
     * primary domain controller %2 failed with the following error: %n%3
 
1230
     }
 
1231
 
 
1232
  NELOG_NetlogonAuthNoDomainController = ERRLOG2_BASE + 19;
 
1233
  {$EXTERNALSYM NELOG_NetlogonAuthNoDomainController}
 
1234
 
 
1235
    {
 
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.
 
1241
     *
 
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.
 
1247
     }
 
1248
 
 
1249
  NELOG_NetlogonAuthNoTrustLsaSecret = ERRLOG2_BASE + 20;
 
1250
  {$EXTERNALSYM NELOG_NetlogonAuthNoTrustLsaSecret}
 
1251
 
 
1252
    {
 
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.
 
1255
     }
 
1256
 
 
1257
  NELOG_NetlogonAuthNoTrustSamAccount = ERRLOG2_BASE + 21;
 
1258
  {$EXTERNALSYM NELOG_NetlogonAuthNoTrustSamAccount}
 
1259
 
 
1260
    {
 
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.
 
1264
     *
 
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.
 
1269
     }
 
1270
 
 
1271
  NELOG_NetlogonServerAuthFailed = ERRLOG2_BASE + 22;
 
1272
  {$EXTERNALSYM NELOG_NetlogonServerAuthFailed}
 
1273
 
 
1274
    {
 
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
 
1278
     }
 
1279
 
 
1280
  NELOG_NetlogonServerAuthNoTrustSamAccount = ERRLOG2_BASE + 23;
 
1281
  {$EXTERNALSYM NELOG_NetlogonServerAuthNoTrustSamAccount}
 
1282
 
 
1283
    {
 
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.
 
1286
     *
 
1287
     * %n%nUSER ACTION
 
1288
     *
 
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:
 
1292
     *
 
1293
     * %n%nIf '%2' is a legitimate machine account for the computer '%1', then '%1'
 
1294
     * should be rejoined to the domain.
 
1295
     *
 
1296
     * %n%nIf '%2' is a legitimate interdomain trust account, then the trust should
 
1297
     * be recreated.
 
1298
     *
 
1299
     * %n%nOtherwise, assuming that '%2' is not a legitimate account, the following
 
1300
     * action should be taken on '%1':
 
1301
     *
 
1302
     * %n%nIf '%1' is a Domain Controller, then the trust associated with '%2' should be deleted.
 
1303
     *
 
1304
     * %n%nIf '%1' is not a Domain Controller, it should be disjoined from the domain.
 
1305
     }
 
1306
 
 
1307
//
 
1308
// General log messages for NT services.
 
1309
//
 
1310
 
 
1311
  NELOG_FailedToRegisterSC = ERRLOG2_BASE + 24;
 
1312
  {$EXTERNALSYM NELOG_FailedToRegisterSC}
 
1313
 
 
1314
    {
 
1315
     * Could not register control handler with service controller %1.
 
1316
     }
 
1317
 
 
1318
  NELOG_FailedToSetServiceStatus = ERRLOG2_BASE + 25;
 
1319
  {$EXTERNALSYM NELOG_FailedToSetServiceStatus}
 
1320
 
 
1321
    {
 
1322
     * Could not set service status with service controller %1.
 
1323
     }
 
1324
 
 
1325
  NELOG_FailedToGetComputerName = ERRLOG2_BASE + 26;
 
1326
  {$EXTERNALSYM NELOG_FailedToGetComputerName}
 
1327
 
 
1328
    {
 
1329
     * Could not find the computer name %1.
 
1330
     }
 
1331
 
 
1332
  NELOG_DriverNotLoaded = ERRLOG2_BASE + 27;
 
1333
  {$EXTERNALSYM NELOG_DriverNotLoaded}
 
1334
 
 
1335
    {
 
1336
     * Could not load %1 device driver.
 
1337
     }
 
1338
 
 
1339
  NELOG_NoTranportLoaded = ERRLOG2_BASE + 28;
 
1340
  {$EXTERNALSYM NELOG_NoTranportLoaded}
 
1341
 
 
1342
    {
 
1343
     * Could not load any transport.
 
1344
     }
 
1345
 
 
1346
//
 
1347
// More Netlogon service events
 
1348
//
 
1349
 
 
1350
  NELOG_NetlogonFailedDomainDelta = ERRLOG2_BASE + 29;
 
1351
  {$EXTERNALSYM NELOG_NetlogonFailedDomainDelta}
 
1352
 
 
1353
    {
 
1354
     * Replication of the %1 Domain Object "%2" from primary domain controller
 
1355
     * %3 failed with the following error: %n%4
 
1356
     }
 
1357
 
 
1358
  NELOG_NetlogonFailedGlobalGroupDelta = ERRLOG2_BASE + 30;
 
1359
  {$EXTERNALSYM NELOG_NetlogonFailedGlobalGroupDelta}
 
1360
 
 
1361
    {
 
1362
     * Replication of the %1 Global Group "%2" from primary domain controller
 
1363
     * %3 failed with the following error: %n%4
 
1364
     }
 
1365
 
 
1366
  NELOG_NetlogonFailedLocalGroupDelta = ERRLOG2_BASE + 31;
 
1367
  {$EXTERNALSYM NELOG_NetlogonFailedLocalGroupDelta}
 
1368
 
 
1369
    {
 
1370
     * Replication of the %1 Local Group "%2" from primary domain controller
 
1371
     * %3 failed with the following error: %n%4
 
1372
     }
 
1373
 
 
1374
  NELOG_NetlogonFailedUserDelta = ERRLOG2_BASE + 32;
 
1375
  {$EXTERNALSYM NELOG_NetlogonFailedUserDelta}
 
1376
 
 
1377
    {
 
1378
     * Replication of the %1 User "%2" from primary domain controller
 
1379
     * %3 failed with the following error: %n%4
 
1380
     }
 
1381
 
 
1382
  NELOG_NetlogonFailedPolicyDelta = ERRLOG2_BASE + 33;
 
1383
  {$EXTERNALSYM NELOG_NetlogonFailedPolicyDelta}
 
1384
 
 
1385
    {
 
1386
     * Replication of the %1 Policy Object "%2" from primary domain controller
 
1387
     * %3 failed with the following error: %n%4
 
1388
     }
 
1389
 
 
1390
  NELOG_NetlogonFailedTrustedDomainDelta = ERRLOG2_BASE + 34;
 
1391
  {$EXTERNALSYM NELOG_NetlogonFailedTrustedDomainDelta}
 
1392
 
 
1393
    {
 
1394
     * Replication of the %1 Trusted Domain Object "%2" from primary domain controller
 
1395
     * %3 failed with the following error: %n%4
 
1396
     }
 
1397
 
 
1398
  NELOG_NetlogonFailedAccountDelta = ERRLOG2_BASE + 35;
 
1399
  {$EXTERNALSYM NELOG_NetlogonFailedAccountDelta}
 
1400
 
 
1401
    {
 
1402
     * Replication of the %1 Account Object "%2" from primary domain controller
 
1403
     * %3 failed with the following error: %n%4
 
1404
     }
 
1405
 
 
1406
  NELOG_NetlogonFailedSecretDelta = ERRLOG2_BASE + 36;
 
1407
  {$EXTERNALSYM NELOG_NetlogonFailedSecretDelta}
 
1408
 
 
1409
    {
 
1410
     * Replication of the %1 Secret "%2" from primary domain controller
 
1411
     * %3 failed with the following error: %n%4
 
1412
     }
 
1413
 
 
1414
  NELOG_NetlogonSystemError = ERRLOG2_BASE + 37;
 
1415
  {$EXTERNALSYM NELOG_NetlogonSystemError}
 
1416
 
 
1417
    {
 
1418
    * The system returned the following unexpected error code: %n%1
 
1419
    }
 
1420
 
 
1421
  NELOG_NetlogonDuplicateMachineAccounts = ERRLOG2_BASE + 38;
 
1422
  {$EXTERNALSYM NELOG_NetlogonDuplicateMachineAccounts}
 
1423
 
 
1424
    {
 
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.
 
1429
    }
 
1430
 
 
1431
  NELOG_NetlogonTooManyGlobalGroups = ERRLOG2_BASE + 39;
 
1432
  {$EXTERNALSYM NELOG_NetlogonTooManyGlobalGroups}
 
1433
 
 
1434
    {
 
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.
 
1438
    }
 
1439
 
 
1440
  NELOG_NetlogonBrowserDriver = ERRLOG2_BASE + 40;
 
1441
  {$EXTERNALSYM NELOG_NetlogonBrowserDriver}
 
1442
 
 
1443
    {
 
1444
    * The Browser driver returned the following error to Netlogon: %n%1
 
1445
    }
 
1446
 
 
1447
  NELOG_NetlogonAddNameFailure = ERRLOG2_BASE + 41;
 
1448
  {$EXTERNALSYM NELOG_NetlogonAddNameFailure}
 
1449
 
 
1450
    {
 
1451
    * Netlogon could not register the %1<1B> name for the following reason: %n%2
 
1452
    }
 
1453
 
 
1454
//
 
1455
//  More Remoteboot service events.
 
1456
//
 
1457
  NELOG_RplMessages = ERRLOG2_BASE + 42;
 
1458
  {$EXTERNALSYM NELOG_RplMessages}
 
1459
 
 
1460
    {
 
1461
    * Service failed to retrieve messages needed to boot remote boot clients.
 
1462
    }
 
1463
 
 
1464
  NELOG_RplXnsBoot = ERRLOG2_BASE + 43;
 
1465
  {$EXTERNALSYM NELOG_RplXnsBoot}
 
1466
 
 
1467
    {
 
1468
    * Service experienced a severe error and can no longer provide remote boot
 
1469
    * for 3Com 3Start remote boot clients.
 
1470
    }
 
1471
 
 
1472
  NELOG_RplSystem = ERRLOG2_BASE + 44;
 
1473
  {$EXTERNALSYM NELOG_RplSystem}
 
1474
 
 
1475
    {
 
1476
    * Service experienced a severe system error and will shut itself down.
 
1477
    }
 
1478
 
 
1479
  NELOG_RplWkstaTimeout = ERRLOG2_BASE + 45;
 
1480
  {$EXTERNALSYM NELOG_RplWkstaTimeout}
 
1481
 
 
1482
    {
 
1483
    * Client with computer name %1 failed to acknowledge receipt of the
 
1484
    * boot data.  Remote boot of this client was not completed.
 
1485
    }
 
1486
 
 
1487
  NELOG_RplWkstaFileOpen = ERRLOG2_BASE + 46;
 
1488
  {$EXTERNALSYM NELOG_RplWkstaFileOpen}
 
1489
 
 
1490
    {
 
1491
    * Client with computer name %1 was not booted due to an error in opening
 
1492
    * file %2.
 
1493
    }
 
1494
 
 
1495
  NELOG_RplWkstaFileRead = ERRLOG2_BASE + 47;
 
1496
  {$EXTERNALSYM NELOG_RplWkstaFileRead}
 
1497
 
 
1498
    {
 
1499
    * Client with computer name %1 was not booted due to an error in reading
 
1500
    * file %2.
 
1501
    }
 
1502
 
 
1503
  NELOG_RplWkstaMemory = ERRLOG2_BASE + 48;
 
1504
  {$EXTERNALSYM NELOG_RplWkstaMemory}
 
1505
 
 
1506
    {
 
1507
    * Client with computer name %1 was not booted due to insufficient memory
 
1508
    * at the remote boot server.
 
1509
    }
 
1510
 
 
1511
  NELOG_RplWkstaFileChecksum = ERRLOG2_BASE + 49;
 
1512
  {$EXTERNALSYM NELOG_RplWkstaFileChecksum}
 
1513
 
 
1514
    {
 
1515
    * Client with computer name %1 will be booted without using checksums
 
1516
    * because checksum for file %2 could not be calculated.
 
1517
    }
 
1518
 
 
1519
  NELOG_RplWkstaFileLineCount = ERRLOG2_BASE + 50;
 
1520
  {$EXTERNALSYM NELOG_RplWkstaFileLineCount}
 
1521
 
 
1522
    {
 
1523
    * Client with computer name %1 was not booted due to too many lines in
 
1524
    * file %2.
 
1525
    }
 
1526
 
 
1527
  NELOG_RplWkstaBbcFile = ERRLOG2_BASE + 51;
 
1528
  {$EXTERNALSYM NELOG_RplWkstaBbcFile}
 
1529
 
 
1530
    {
 
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.
 
1534
    }
 
1535
 
 
1536
  NELOG_RplWkstaFileSize = ERRLOG2_BASE + 52;
 
1537
  {$EXTERNALSYM NELOG_RplWkstaFileSize}
 
1538
 
 
1539
    {
 
1540
    * Client with computer name %1 was not booted due to a bad size of
 
1541
    * file %2.
 
1542
    }
 
1543
 
 
1544
  NELOG_RplWkstaInternal = ERRLOG2_BASE + 53;
 
1545
  {$EXTERNALSYM NELOG_RplWkstaInternal}
 
1546
 
 
1547
    {
 
1548
    * Client with computer name %1 was not booted due to remote boot
 
1549
    * service internal error.
 
1550
    }
 
1551
 
 
1552
  NELOG_RplWkstaWrongVersion = ERRLOG2_BASE + 54;
 
1553
  {$EXTERNALSYM NELOG_RplWkstaWrongVersion}
 
1554
 
 
1555
    {
 
1556
    * Client with computer name %1 was not booted because file %2 has an
 
1557
    * invalid boot header.
 
1558
    }
 
1559
 
 
1560
  NELOG_RplWkstaNetwork = ERRLOG2_BASE + 55;
 
1561
  {$EXTERNALSYM NELOG_RplWkstaNetwork}
 
1562
 
 
1563
    {
 
1564
    * Client with computer name %1 was not booted due to network error.
 
1565
    }
 
1566
 
 
1567
  NELOG_RplAdapterResource = ERRLOG2_BASE + 56;
 
1568
  {$EXTERNALSYM NELOG_RplAdapterResource}
 
1569
 
 
1570
    {
 
1571
    * Client with adapter id %1 was not booted due to lack of resources.
 
1572
    }
 
1573
 
 
1574
  NELOG_RplFileCopy = ERRLOG2_BASE + 57;
 
1575
  {$EXTERNALSYM NELOG_RplFileCopy}
 
1576
 
 
1577
    {
 
1578
    * Service experienced error copying file or directory %1.
 
1579
    }
 
1580
 
 
1581
  NELOG_RplFileDelete = ERRLOG2_BASE + 58;
 
1582
  {$EXTERNALSYM NELOG_RplFileDelete}
 
1583
 
 
1584
    {
 
1585
    * Service experienced error deleting file or directory %1.
 
1586
    }
 
1587
 
 
1588
  NELOG_RplFilePerms = ERRLOG2_BASE + 59;
 
1589
  {$EXTERNALSYM NELOG_RplFilePerms}
 
1590
 
 
1591
    {
 
1592
    * Service experienced error setting permissions on file or directory %1.
 
1593
    }
 
1594
  NELOG_RplCheckConfigs = ERRLOG2_BASE + 60;
 
1595
  {$EXTERNALSYM NELOG_RplCheckConfigs}
 
1596
 
 
1597
    {
 
1598
    * Service experienced error evaluating RPL configurations.
 
1599
    }
 
1600
  NELOG_RplCreateProfiles = ERRLOG2_BASE + 61;
 
1601
  {$EXTERNALSYM NELOG_RplCreateProfiles}
 
1602
 
 
1603
    {
 
1604
    * Service experienced error creating RPL profiles for all configurations.
 
1605
    }
 
1606
  NELOG_RplRegistry = ERRLOG2_BASE + 62;
 
1607
  {$EXTERNALSYM NELOG_RplRegistry}
 
1608
 
 
1609
    {
 
1610
    * Service experienced error accessing registry.
 
1611
    }
 
1612
  NELOG_RplReplaceRPLDISK = ERRLOG2_BASE + 63;
 
1613
  {$EXTERNALSYM NELOG_RplReplaceRPLDISK}
 
1614
 
 
1615
    {
 
1616
    * Service experienced error replacing possibly outdated RPLDISK.SYS.
 
1617
    }
 
1618
  NELOG_RplCheckSecurity = ERRLOG2_BASE + 64;
 
1619
  {$EXTERNALSYM NELOG_RplCheckSecurity}
 
1620
 
 
1621
    {
 
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.
 
1625
    }
 
1626
  NELOG_RplBackupDatabase = ERRLOG2_BASE + 65;
 
1627
  {$EXTERNALSYM NELOG_RplBackupDatabase}
 
1628
 
 
1629
    {
 
1630
    * Service failed to back up its database.
 
1631
    }
 
1632
  NELOG_RplInitDatabase = ERRLOG2_BASE + 66;
 
1633
  {$EXTERNALSYM NELOG_RplInitDatabase}
 
1634
 
 
1635
    {
 
1636
    * Service failed to initialize from its database.  The database may be
 
1637
    * missing or corrupted.  Service will attempt restoring the database
 
1638
    * from the backup.
 
1639
    }
 
1640
  NELOG_RplRestoreDatabaseFailure = ERRLOG2_BASE + 67;
 
1641
  {$EXTERNALSYM NELOG_RplRestoreDatabaseFailure}
 
1642
 
 
1643
    {
 
1644
    * Service failed to restore its database from the backup.  Service
 
1645
    * will not start.
 
1646
    }
 
1647
  NELOG_RplRestoreDatabaseSuccess = ERRLOG2_BASE + 68;
 
1648
  {$EXTERNALSYM NELOG_RplRestoreDatabaseSuccess}
 
1649
 
 
1650
    {
 
1651
    * Service successfully restored its database from the backup.
 
1652
    }
 
1653
  NELOG_RplInitRestoredDatabase = ERRLOG2_BASE + 69;
 
1654
  {$EXTERNALSYM NELOG_RplInitRestoredDatabase}
 
1655
 
 
1656
    {
 
1657
    * Service failed to initialize from its restored database.  Service
 
1658
    * will not start.
 
1659
    }
 
1660
 
 
1661
//
 
1662
// More Netlogon and RPL service events
 
1663
//
 
1664
  NELOG_NetlogonSessionTypeWrong = ERRLOG2_BASE + 70;
 
1665
  {$EXTERNALSYM NELOG_NetlogonSessionTypeWrong}
 
1666
 
 
1667
    {
 
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.
 
1673
     }
 
1674
  NELOG_RplUpgradeDBTo40 = ERRLOG2_BASE + 71;
 
1675
  {$EXTERNALSYM NELOG_RplUpgradeDBTo40}
 
1676
 
 
1677
    {
 
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.
 
1681
    }
 
1682
  NELOG_NetlogonLanmanBdcsNotAllowed = ERRLOG2_BASE + 72;
 
1683
  {$EXTERNALSYM NELOG_NetlogonLanmanBdcsNotAllowed}
 
1684
 
 
1685
    {
 
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.
 
1689
     }
 
1690
  NELOG_NetlogonNoDynamicDns = ERRLOG2_BASE + 73;
 
1691
  {$EXTERNALSYM NELOG_NetlogonNoDynamicDns}
 
1692
 
 
1693
    {
 
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:
 
1696
     *
 
1697
     * %n%nDNS server IP address: %1
 
1698
     * %nReturned Response Code (RCODE): %2
 
1699
     * %nReturned Status Code: %3
 
1700
     *
 
1701
     * %n%nUSER ACTION
 
1702
     *
 
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.
 
1705
     }
 
1706
 
 
1707
  NELOG_NetlogonDynamicDnsRegisterFailure = ERRLOG2_BASE + 74;
 
1708
  {$EXTERNALSYM NELOG_NetlogonDynamicDnsRegisterFailure}
 
1709
 
 
1710
    {
 
1711
      *
 
1712
      * The dynamic registration of the DNS record '%1' failed on the following DNS server:
 
1713
      *
 
1714
      * %n%nDNS server IP address: %3
 
1715
      * %nReturned Response Code (RCODE): %4
 
1716
      * %nReturned Status Code: %5
 
1717
      *
 
1718
      * %n%nFor computers and users to locate this domain controller, this record must be
 
1719
      * registered in DNS.
 
1720
      *
 
1721
      * %n%nUSER ACTION
 
1722
      *
 
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
 
1731
      * recommended.
 
1732
      *
 
1733
      * %n%nADDITIONAL DATA
 
1734
      * %nError Value: %2
 
1735
      *
 
1736
     }
 
1737
 
 
1738
  NELOG_NetlogonDynamicDnsDeregisterFailure = ERRLOG2_BASE + 75;
 
1739
  {$EXTERNALSYM NELOG_NetlogonDynamicDnsDeregisterFailure}
 
1740
 
 
1741
    {
 
1742
      * The dynamic deletion of the DNS record '%1' failed on the following DNS server:
 
1743
      *
 
1744
      * %n%nDNS server IP address: %3
 
1745
      * %nReturned Response Code (RCODE): %4
 
1746
      * %nReturned Status Code: %5
 
1747
      *
 
1748
      * %n%nUSER ACTION
 
1749
      *
 
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.
 
1753
      *
 
1754
      * %n%nADDITIONAL DATA
 
1755
      * %nError Value: %2
 
1756
     }
 
1757
 
 
1758
  NELOG_NetlogonFailedFileCreate = ERRLOG2_BASE + 76;
 
1759
  {$EXTERNALSYM NELOG_NetlogonFailedFileCreate}
 
1760
 
 
1761
    {
 
1762
     * Failed to create/open file %1 with the following error: %n%2
 
1763
     }
 
1764
 
 
1765
  NELOG_NetlogonGetSubnetToSite = ERRLOG2_BASE + 77;
 
1766
  {$EXTERNALSYM NELOG_NetlogonGetSubnetToSite}
 
1767
 
 
1768
    {
 
1769
     * Netlogon got the following error while trying to get the subnet to site
 
1770
     * mapping information from the DS: %n%1
 
1771
     }
 
1772
 
 
1773
  NELOG_NetlogonNoSiteForClient = ERRLOG2_BASE + 78;
 
1774
  {$EXTERNALSYM NELOG_NetlogonNoSiteForClient}
 
1775
 
 
1776
   {
 
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.
 
1780
    }
 
1781
 
 
1782
  NELOG_NetlogonBadSiteName = ERRLOG2_BASE + 79;
 
1783
  {$EXTERNALSYM NELOG_NetlogonBadSiteName}
 
1784
 
 
1785
    {
 
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.
 
1789
     }
 
1790
 
 
1791
  NELOG_NetlogonBadSubnetName = ERRLOG2_BASE + 80;
 
1792
  {$EXTERNALSYM NELOG_NetlogonBadSubnetName}
 
1793
 
 
1794
    {
 
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.
 
1799
     *
 
1800
     * Correct the name of the subnet object.
 
1801
     }
 
1802
 
 
1803
  NELOG_NetlogonDynamicDnsServerFailure = ERRLOG2_BASE + 81;
 
1804
  {$EXTERNALSYM NELOG_NetlogonDynamicDnsServerFailure}
 
1805
 
 
1806
    {
 
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).
 
1811
     *
 
1812
     * %n%nPossible causes of failure include:
 
1813
     *
 
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
 
1819
     *
 
1820
     * %n%nUSER ACTION
 
1821
     *
 
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.
 
1825
     }
 
1826
 
 
1827
  NELOG_NetlogonDynamicDnsFailure = ERRLOG2_BASE + 82;
 
1828
  {$EXTERNALSYM NELOG_NetlogonDynamicDnsFailure}
 
1829
 
 
1830
    {
 
1831
     * Dynamic registration or deregistration of one or more DNS records failed with the following error: %n%1
 
1832
     }
 
1833
 
 
1834
  NELOG_NetlogonRpcCallCancelled = ERRLOG2_BASE + 83;
 
1835
  {$EXTERNALSYM NELOG_NetlogonRpcCallCancelled}
 
1836
 
 
1837
    {
 
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.
 
1840
     }
 
1841
 
 
1842
  NELOG_NetlogonDcSiteCovered = ERRLOG2_BASE + 84;
 
1843
  {$EXTERNALSYM NELOG_NetlogonDcSiteCovered}
 
1844
 
 
1845
    {
 
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.
 
1850
     }
 
1851
 
 
1852
  NELOG_NetlogonDcSiteNotCovered = ERRLOG2_BASE + 85;
 
1853
  {$EXTERNALSYM NELOG_NetlogonDcSiteNotCovered}
 
1854
 
 
1855
    {
 
1856
     * This Domain Controller no longer automatically covers site '%1' for domain '%2'.
 
1857
     }
 
1858
 
 
1859
  NELOG_NetlogonGcSiteCovered = ERRLOG2_BASE + 86;
 
1860
  {$EXTERNALSYM NELOG_NetlogonGcSiteCovered}
 
1861
 
 
1862
    {
 
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.
 
1867
     }
 
1868
 
 
1869
  NELOG_NetlogonGcSiteNotCovered = ERRLOG2_BASE + 87;
 
1870
  {$EXTERNALSYM NELOG_NetlogonGcSiteNotCovered}
 
1871
 
 
1872
    {
 
1873
     * This Global Catalog server no longer automatically covers site '%1' for forest '%2'.
 
1874
     }
 
1875
 
 
1876
  NELOG_NetlogonFailedSpnUpdate = ERRLOG2_BASE + 88;
 
1877
  {$EXTERNALSYM NELOG_NetlogonFailedSpnUpdate}
 
1878
 
 
1879
    {
 
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
 
1883
     }
 
1884
 
 
1885
  NELOG_NetlogonFailedDnsHostNameUpdate = ERRLOG2_BASE + 89;
 
1886
  {$EXTERNALSYM NELOG_NetlogonFailedDnsHostNameUpdate}
 
1887
 
 
1888
    {
 
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
 
1892
     }
 
1893
 
 
1894
  NELOG_NetlogonAuthNoUplevelDomainController = ERRLOG2_BASE + 90;
 
1895
  {$EXTERNALSYM NELOG_NetlogonAuthNoUplevelDomainController}
 
1896
 
 
1897
    {
 
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
 
1903
     }
 
1904
 
 
1905
  NELOG_NetlogonAuthDomainDowngraded = ERRLOG2_BASE + 91;
 
1906
  {$EXTERNALSYM NELOG_NetlogonAuthDomainDowngraded}
 
1907
 
 
1908
    {
 
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
 
1912
     * the domain.
 
1913
     * The following error occurred:%n%2
 
1914
     }
 
1915
 
 
1916
  NELOG_NetlogonNdncSiteCovered = ERRLOG2_BASE + 92;
 
1917
  {$EXTERNALSYM NELOG_NetlogonNdncSiteCovered}
 
1918
 
 
1919
    {
 
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.
 
1924
     }
 
1925
 
 
1926
  NELOG_NetlogonNdncSiteNotCovered = ERRLOG2_BASE + 93;
 
1927
  {$EXTERNALSYM NELOG_NetlogonNdncSiteNotCovered}
 
1928
 
 
1929
    {
 
1930
     * This LDAP server no longer automatically covers site '%1' for non-domain NC '%2'.
 
1931
     }
 
1932
 
 
1933
  NELOG_NetlogonDcOldSiteCovered = ERRLOG2_BASE + 94;
 
1934
  {$EXTERNALSYM NELOG_NetlogonDcOldSiteCovered}
 
1935
 
 
1936
    {
 
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.
 
1943
     }
 
1944
 
 
1945
  NELOG_NetlogonDcSiteNotCoveredAuto = ERRLOG2_BASE + 95;
 
1946
  {$EXTERNALSYM NELOG_NetlogonDcSiteNotCoveredAuto}
 
1947
 
 
1948
    {
 
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.
 
1952
     }
 
1953
 
 
1954
  NELOG_NetlogonGcOldSiteCovered = ERRLOG2_BASE + 96;
 
1955
  {$EXTERNALSYM NELOG_NetlogonGcOldSiteCovered}
 
1956
 
 
1957
    {
 
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.
 
1964
     }
 
1965
 
 
1966
  NELOG_NetlogonGcSiteNotCoveredAuto = ERRLOG2_BASE + 97;
 
1967
  {$EXTERNALSYM NELOG_NetlogonGcSiteNotCoveredAuto}
 
1968
 
 
1969
    {
 
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.
 
1973
     }
 
1974
 
 
1975
  NELOG_NetlogonNdncOldSiteCovered = ERRLOG2_BASE + 98;
 
1976
  {$EXTERNALSYM NELOG_NetlogonNdncOldSiteCovered}
 
1977
 
 
1978
    {
 
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.
 
1985
     }
 
1986
 
 
1987
  NELOG_NetlogonNdncSiteNotCoveredAuto = ERRLOG2_BASE + 99;
 
1988
  {$EXTERNALSYM NELOG_NetlogonNdncSiteNotCoveredAuto}
 
1989
 
 
1990
    {
 
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.
 
1994
     }
 
1995
 
 
1996
  NELOG_NetlogonSpnMultipleSamAccountNames = ERRLOG2_BASE + 100;
 
1997
  {$EXTERNALSYM NELOG_NetlogonSpnMultipleSamAccountNames}
 
1998
 
 
1999
    {
 
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
 
2005
     * collision.
 
2006
     }
 
2007
 
 
2008
  NELOG_NetlogonSpnCrackNamesFailure = ERRLOG2_BASE + 101;
 
2009
  {$EXTERNALSYM NELOG_NetlogonSpnCrackNamesFailure}
 
2010
 
 
2011
    {
 
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.
 
2019
     }
 
2020
 
 
2021
  NELOG_NetlogonNoAddressToSiteMapping = ERRLOG2_BASE + 102;
 
2022
  {$EXTERNALSYM NELOG_NetlogonNoAddressToSiteMapping}
 
2023
 
 
2024
    {
 
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.
 
2033
     }
 
2034
 
 
2035
  NELOG_NetlogonInvalidGenericParameterValue = ERRLOG2_BASE + 103;
 
2036
  {$EXTERNALSYM NELOG_NetlogonInvalidGenericParameterValue}
 
2037
 
 
2038
    {
 
2039
     * The following error occurred while reading a parameter '%2' in the
 
2040
     * Netlogon %1 registry section:%n%3
 
2041
     }
 
2042
 
 
2043
  NELOG_NetlogonInvalidDwordParameterValue = ERRLOG2_BASE + 104;
 
2044
  {$EXTERNALSYM NELOG_NetlogonInvalidDwordParameterValue}
 
2045
 
 
2046
    {
 
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.
 
2050
     }
 
2051
 
 
2052
  NELOG_NetlogonServerAuthFailedNoAccount = ERRLOG2_BASE + 105;
 
2053
  {$EXTERNALSYM NELOG_NetlogonServerAuthFailedNoAccount}
 
2054
 
 
2055
    {
 
2056
     * The session setup from the computer %1 failed to authenticate.
 
2057
     * The following error occurred: %n%2
 
2058
     }
 
2059
 
 
2060
  NELOG_NetlogonNoDynamicDnsManual = ERRLOG2_BASE + 106;
 
2061
  {$EXTERNALSYM NELOG_NetlogonNoDynamicDnsManual}
 
2062
 
 
2063
    (*
 
2064
     * Dynamic DNS updates have been manually disabled on this domain controller.
 
2065
     *
 
2066
     * %n%nUSER ACTION
 
2067
     *
 
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.
 
2070
     *)
 
2071
 
 
2072
  NELOG_NetlogonNoSiteForClients = ERRLOG2_BASE + 107;
 
2073
  {$EXTERNALSYM NELOG_NetlogonNoSiteForClients}
 
2074
 
 
2075
    {
 
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.
 
2097
     }
 
2098
 
 
2099
  NELOG_NetlogonDnsDeregAborted               = ERRLOG2_BASE + 108;
 
2100
  {$EXTERNALSYM NELOG_NetlogonDnsDeregAborted}
 
2101
 
 
2102
    (*
 
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
 
2105
     * took too long.
 
2106
     *
 
2107
     * %n%nUSER ACTION
 
2108
     *
 
2109
     * %nManually delete the DNS records listed in the file
 
2110
     * '%SystemRoot%\System32\Config\Netlogon.dns' from the DNS database.
 
2111
     *)
 
2112
 
 
2113
  NELOG_NetlogonRpcPortRequestFailure         = ERRLOG2_BASE + 109;
 
2114
  {$EXTERNALSYM NELOG_NetlogonRpcPortRequestFailure}
 
2115
 
 
2116
    (*
 
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.
 
2123
     *
 
2124
     * %n%nUSER ACTION
 
2125
     *
 
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.
 
2134
     *)
 
2135
 
 
2136
implementation
 
2137
 
 
2138
{$IFDEF DYNAMIC_LINK}
 
2139
 
 
2140
var
 
2141
  _NetErrorLogClear: Pointer;
 
2142
 
 
2143
function NetErrorLogClear;
 
2144
begin
 
2145
  GetProcedureAddress(_NetErrorLogClear, netapi32, 'NetErrorLogClear');
 
2146
  asm
 
2147
        MOV     ESP, EBP
 
2148
        POP     EBP
 
2149
        JMP     [_NetErrorLogClear]
 
2150
  end;
 
2151
end;
 
2152
 
 
2153
var
 
2154
  _NetErrorLogRead: Pointer;
 
2155
 
 
2156
function NetErrorLogRead;
 
2157
begin
 
2158
  GetProcedureAddress(_NetErrorLogRead, netapi32, 'NetErrorLogRead');
 
2159
  asm
 
2160
        MOV     ESP, EBP
 
2161
        POP     EBP
 
2162
        JMP     [_NetErrorLogRead]
 
2163
  end;
 
2164
end;
 
2165
 
 
2166
var
 
2167
  _NetErrorLogWrite: Pointer;
 
2168
 
 
2169
function NetErrorLogWrite;
 
2170
begin
 
2171
  GetProcedureAddress(_NetErrorLogWrite, netapi32, 'NetErrorLogWrite');
 
2172
  asm
 
2173
        MOV     ESP, EBP
 
2174
        POP     EBP
 
2175
        JMP     [_NetErrorLogWrite]
 
2176
  end;
 
2177
end;
 
2178
 
 
2179
{$ELSE}
 
2180
 
 
2181
function NetErrorLogClear; external netapi32 name 'NetErrorLogClear';
 
2182
function NetErrorLogRead; external netapi32 name 'NetErrorLogRead';
 
2183
function NetErrorLogWrite; external netapi32 name 'NetErrorLogWrite';
 
2184
 
 
2185
{$ENDIF DYNAMIC_LINK}
 
2186
 
 
2187
end.