|
|
1.1 root 1: /*++ BUILD Version: 0002 // Increment this if a change has global effects
2:
3: Copyright (c) 1991-1993 Microsoft Corporation
4:
5: Module Name:
6:
7: lmerrlog.h
8:
9: Abstract:
10:
11: This module defines the API function prototypes and data structures
12: for the following groups of NT API functions:
13: NetErrorLog
14:
15: Author:
16:
17: Dan Lafferty (danl) 29-Mar-1991
18:
19: Environment:
20:
21: User Mode - Win32
22:
23: Notes:
24:
25: You must include NETCONS.H before this file, since this file depends
26: on values defined in NETCONS.H.
27:
28: Revision History:
29:
30: 28-Mar-1991 Danl
31: Ported from LM2.0 and the LMNETAPI spec.
32: 25-Apr-1991 DanHi
33: Surrounded define for HLOG (used by both audit and error logs),
34: by a protective ifdef since I added the define to lmaudit.h
35: 29-Jul-1991 DanHi
36: Change comments after manifest constants for error messages to a format
37: that is recognized by mapmsg.exe
38: 12-Nov-1991 JohnRo
39: ERROR_LOG structure needs changes to prevent alignment/padding problems.
40: Also change offset fields to pointers where possible.
41: Clarify UNICODE (TCHAR) handling.
42:
43: 28-Jul-1992 Madana
44: Created another range of error log code ERRLOG2_BASE
45: (5800 - 5899) and added several new error log codes for netlogon
46: service.
47:
48: --*/
49:
50: #ifndef _LMERRLOG_
51: #define _LMERRLOG_
52:
53: //
54: // Data Structures - Config
55: //
56:
57: typedef struct _ERROR_LOG {
58: DWORD el_len;
59: DWORD el_reserved;
60: DWORD el_time;
61: DWORD el_error;
62: LPTSTR el_name; // pointer to service name
63: LPTSTR el_text; // pointer to string array
64: LPBYTE el_data; // pointer to BYTE array
65: DWORD el_data_size; // byte count of el_data area
66: DWORD el_nstrings; // number of strings in el_text.
67: } ERROR_LOG, *PERROR_LOG, *LPERROR_LOG;
68:
69:
70: // BUGBUG: Temporary to let users ifdef on this struct layout.
71: #define REVISED_ERROR_LOG_STRUCT
72:
73:
74: #ifndef _LMHLOGDEFINED_
75: #define _LMHLOGDEFINED_
76:
77: typedef struct _HLOG {
78: DWORD time;
79: DWORD last_flags;
80: DWORD offset;
81: DWORD rec_offset;
82: } HLOG, *PHLOG, *LPHLOG;
83:
84: #define LOGFLAGS_FORWARD 0
85: #define LOGFLAGS_BACKWARD 0x1
86: #define LOGFLAGS_SEEK 0x2
87:
88: #endif
89:
90: //
91: // Function Prototypes - ErrorLog
92: //
93:
94: NET_API_STATUS NET_API_FUNCTION
95: NetErrorLogClear (
96: IN LPTSTR server,
97: IN LPTSTR backupfile,
98: IN LPBYTE reserved
99: );
100:
101: NET_API_STATUS NET_API_FUNCTION
102: NetErrorLogRead (
103: IN LPTSTR server,
104: IN LPTSTR reserved1,
105: IN LPHLOG errloghandle,
106: IN DWORD offset,
107: IN LPDWORD reserved2,
108: IN DWORD reserved3,
109: IN DWORD offsetflag,
110: OUT LPBYTE * bufptr,
111: IN DWORD prefmaxlen,
112: OUT LPDWORD bytesread,
113: OUT LPDWORD totalbytes
114: );
115:
116: NET_API_STATUS NET_API_FUNCTION
117: NetErrorLogWrite (
118: IN LPBYTE reserved1,
119: IN DWORD code,
120: IN LPTSTR component,
121: IN LPBYTE buffer,
122: IN DWORD numbytes,
123: IN LPBYTE msgbuf,
124: IN DWORD strcount,
125: IN LPBYTE reserved2
126: );
127:
128: //
129: // Special Values and Constants
130: //
131:
132:
133: //
134: // Generic (could be used by more than one service)
135: // error log messages from 0 to 25
136: //
137: // Do not change the comments following the manifest constants without
138: // understanding how mapmsg works.
139: //
140:
141: #define ERRLOG_BASE 3100 /* NELOG errors start here */
142:
143: #define NELOG_Internal_Error (ERRLOG_BASE + 0)
144: /*
145: * The operation failed because a network software error occurred.
146: */
147:
148: #define NELOG_Resource_Shortage (ERRLOG_BASE + 1)
149: /*
150: * The system ran out of a resource controlled by the %1 option.
151: */
152:
153: #define NELOG_Unable_To_Lock_Segment (ERRLOG_BASE + 2)
154: /*
155: * The service failed to obtain a long-term lock on the
156: * segment for network control blocks (NCBs). The error code is the data.
157: */
158:
159: #define NELOG_Unable_To_Unlock_Segment (ERRLOG_BASE + 3)
160: /*
161: * The service failed to release the long-term lock on the
162: * segment for network control blocks (NCBs). The error code is the data.
163: */
164:
165: #define NELOG_Uninstall_Service (ERRLOG_BASE + 4)
166: /*
167: * There was an error stopping service %1.
168: * The error code from NetServiceControl is the data.
169: */
170:
171: #define NELOG_Init_Exec_Fail (ERRLOG_BASE + 5)
172: /*
173: * Initialization failed because of a system execution failure on
174: * path %1. The system error code is the data.
175: */
176:
177: #define NELOG_Ncb_Error (ERRLOG_BASE + 6)
178: /*
179: * An unexpected network control block (NCB) was received. The NCB is the data.
180: */
181:
182: #define NELOG_Net_Not_Started (ERRLOG_BASE + 7)
183: /*
184: * The network is not started.
185: */
186:
187: #define NELOG_Ioctl_Error (ERRLOG_BASE + 8)
188: /*
189: * A DosDevIoctl or DosFsCtl to NETWKSTA.SYS failed.
190: * The data shown is in this format:
191: * DWORD approx CS:IP of call to ioctl or fsctl
192: * WORD error code
193: * WORD ioctl or fsctl number
194: */
195:
196: #define NELOG_System_Semaphore (ERRLOG_BASE + 9)
197: /*
198: * Unable to create or open system semaphore %1.
199: * The error code is the data.
200: */
201:
202: #define NELOG_Init_OpenCreate_Err (ERRLOG_BASE + 10)
203: /*
204: * Initialization failed because of an open/create error on the
205: * file %1. The system error code is the data.
206: */
207:
208: #define NELOG_NetBios (ERRLOG_BASE + 11)
209: /*
210: * An unexpected NetBIOS error occurred.
211: * The error code is the data.
212: */
213:
214: #define NELOG_SMB_Illegal (ERRLOG_BASE + 12)
215: /*
216: * An illegal server message block (SMB) was received.
217: * The SMB is the data.
218: */
219:
220: #define NELOG_Service_Fail (ERRLOG_BASE + 13)
221: /*
222: * Initialization failed because the requested service %1
223: * could not be started.
224: */
225:
226: #define NELOG_Entries_Lost (ERRLOG_BASE + 14)
227: /*
228: * Some entries in the error log were lost because of a buffer
229: * overflow.
230: */
231:
232:
233: //
234: // Server specific error log messages from 20 to 40
235: //
236:
237: #define NELOG_Init_Seg_Overflow (ERRLOG_BASE + 20)
238: /*
239: * Initialization parameters controlling resource usage other
240: * than net buffers are sized so that too much memory is needed.
241: */
242:
243: #define NELOG_Srv_No_Mem_Grow (ERRLOG_BASE + 21)
244: /*
245: * The server cannot increase the size of a memory segment.
246: */
247:
248: #define NELOG_Access_File_Bad (ERRLOG_BASE + 22)
249: /*
250: * Initialization failed because account file %1 is either incorrect
251: * or not present.
252: */
253:
254: #define NELOG_Srvnet_Not_Started (ERRLOG_BASE + 23)
255: /*
256: * Initialization failed because network %1 was not started.
257: */
258:
259: #define NELOG_Init_Chardev_Err (ERRLOG_BASE + 24)
260: /*
261: * The server failed to start. Either all three chdev
262: * parameters must be zero or all three must be nonzero.
263: */
264:
265: #define NELOG_Remote_API (ERRLOG_BASE + 25)
266: /* A remote API request was halted due to the following
267: * invalid description string: %1.
268: */
269:
270: #define NELOG_Ncb_TooManyErr (ERRLOG_BASE + 26)
271: /* The network %1 ran out of network control blocks (NCBs). You may need to increase NCBs
272: * for this network. The following information includes the
273: * number of NCBs submitted by the server when this error occurred:
274: */
275:
276: #define NELOG_Mailslot_err (ERRLOG_BASE + 27)
277: /* The server cannot create the %1 mailslot needed to send
278: * the ReleaseMemory alert message. The error received is:
279: */
280:
281: #define NELOG_ReleaseMem_Alert (ERRLOG_BASE + 28)
282: /* The server failed to register for the ReleaseMemory alert,
283: * with recipient %1. The error code from
284: * NetAlertStart is the data.
285: */
286:
287: #define NELOG_AT_cannot_write (ERRLOG_BASE + 29)
288: /* The server cannot update the AT schedule file. The file
289: * is corrupted.
290: */
291:
292: #define NELOG_Cant_Make_Msg_File (ERRLOG_BASE + 30)
293: /* The server encountered an error when calling
294: * NetIMakeLMFileName. The error code is the data.
295: */
296:
297: #define NELOG_Exec_Netservr_NoMem (ERRLOG_BASE + 31)
298: /* Initialization failed because of a system execution failure on
299: * path %1. There is not enough memory to start the process.
300: * The system error code is the data.
301: */
302:
303: #define NELOG_Server_Lock_Failure (ERRLOG_BASE + 32)
304: /* Longterm lock of the server buffers failed.
305: * Check swap disk's free space and restart the system to start the server.
306: */
307:
308: //
309: // Message service and POPUP specific error log messages from 40 to 55
310: //
311:
312: #define NELOG_Msg_Shutdown (ERRLOG_BASE + 40)
313: /*
314: * The service has stopped due to repeated consecutive
315: * occurrences of a network control block (NCB) error. The last bad NCB follows
316: * in raw data.
317: */
318:
319: #define NELOG_Msg_Sem_Shutdown (ERRLOG_BASE + 41)
320: /*
321: * The Message server has stopped due to a lock on the
322: * Message server shared data segment.
323: */
324:
325: #define NELOG_Msg_Log_Err (ERRLOG_BASE + 50)
326: /*
327: * A file system error occurred while opening or writing to the
328: * system message log file %1. Message logging has been
329: * switched off due to the error. The error code is the data.
330: */
331:
332:
333:
334: #define NELOG_VIO_POPUP_ERR (ERRLOG_BASE + 51)
335: /*
336: * Unable to display message POPUP due to system VIO call error.
337: * The error code is the data.
338: */
339:
340: #define NELOG_Msg_Unexpected_SMB_Type (ERRLOG_BASE + 52)
341: /*
342: * An illegal server message block (SMB) was received. The SMB is the data.
343: */
344:
345: //
346: // Workstation specific error log messages from 60 to 75
347: //
348:
349:
350: #define NELOG_Wksta_Infoseg (ERRLOG_BASE + 60)
351: /*
352: * The workstation information segment is bigger than 64K.
353: * The size follows, in DWORD format:
354: */
355:
356: #define NELOG_Wksta_Compname (ERRLOG_BASE + 61)
357: /*
358: * The workstation was unable to get the name-number of the computer.
359: */
360:
361: #define NELOG_Wksta_BiosThreadFailure (ERRLOG_BASE + 62)
362: /*
363: * The workstation could not initialize the Async NetBIOS Thread.
364: * The error code is the data.
365: */
366:
367: #define NELOG_Wksta_IniSeg (ERRLOG_BASE + 63)
368: /*
369: * The workstation could not open the initial shared segment.
370: * The error code is the data.
371: */
372:
373: #define NELOG_Wksta_HostTab_Full (ERRLOG_BASE + 64)
374: /*
375: * The workstation host table is full.
376: */
377:
378: #define NELOG_Wksta_Bad_Mailslot_SMB (ERRLOG_BASE + 65)
379: /*
380: * A bad mailslot server message block (SMB) was received. The SMB is the data.
381: */
382:
383: #define NELOG_Wksta_UASInit (ERRLOG_BASE + 66)
384: /*
385: * The workstation encountered an error while trying to start the user accounts database.
386: * The error code is the data.
387: */
388:
389: #define NELOG_Wksta_SSIRelogon (ERRLOG_BASE + 67)
390: /*
391: * The workstation encountered an error while responding to an SSI revalidation request.
392: * The function code and the error codes are the data.
393: */
394:
395: //
396: // Alerter service specific error log messages from 70 to 79
397: //
398:
399:
400: #define NELOG_Build_Name (ERRLOG_BASE + 70)
401: /*
402: * The Alerter service had a problem creating the list of
403: * alert recipients. The error code is %1.
404: */
405:
406: #define NELOG_Name_Expansion (ERRLOG_BASE + 71)
407: /*
408: * There was an error expanding %1 as a group name. Try
409: * splitting the group into two or more smaller groups.
410: */
411:
412: #define NELOG_Message_Send (ERRLOG_BASE + 72)
413: /*
414: * There was an error sending %2 the alert message -
415: * (
416: * %3 )
417: * The error code is %1.
418: */
419:
420: #define NELOG_Mail_Slt_Err (ERRLOG_BASE + 73)
421: /*
422: * There was an error in creating or reading the alerter mailslot.
423: * The error code is %1.
424: */
425:
426: #define NELOG_AT_cannot_read (ERRLOG_BASE + 74)
427: /*
428: * The server could not read the AT schedule file.
429: */
430:
431: #define NELOG_AT_sched_err (ERRLOG_BASE + 75)
432: /*
433: * The server found an invalid AT schedule record.
434: */
435:
436: #define NELOG_AT_schedule_file_created (ERRLOG_BASE + 76)
437: /*
438: * The server could not find an AT schedule file so it created one.
439: */
440:
441: #define NELOG_Srvnet_NB_Open (ERRLOG_BASE + 77)
442: /*
443: * The server could not access the %1 network with NetBiosOpen.
444: */
445:
446: #define NELOG_AT_Exec_Err (ERRLOG_BASE + 78)
447: /*
448: * The AT command processor could not run %1.
449: */
450:
451: //
452: // Cache Lazy Write and HPFS386 specific error log messages from 80 to 89
453: //
454:
455: #define NELOG_Lazy_Write_Err (ERRLOG_BASE + 80)
456: /*
457: * WARNING: Because of a lazy-write error, drive %1 now
458: * contains some corrupted data. The cache is stopped.
459: */
460:
461: #define NELOG_HotFix (ERRLOG_BASE + 81)
462: /*
463: * A defective sector on drive %1 has been replaced (hotfixed).
464: * No data was lost. You should run CHKDSK soon to restore full
465: * performance and replenish the volume's spare sector pool.
466: *
467: * The hotfix occurred while processing a remote request.
468: */
469:
470: #define NELOG_HardErr_From_Server (ERRLOG_BASE + 82)
471: /*
472: * A disk error occurred on the HPFS volume in drive %1.
473: * The error occurred while processing a remote request.
474: */
475:
476: #define NELOG_LocalSecFail1 (ERRLOG_BASE + 83)
477: /*
478: * The user accounts database (NET.ACC) is corrupted. The local security
479: * system is replacing the corrupted NET.ACC with the backup
480: * made at %1.
481: * Any updates made to the database after this time are lost.
482: *
483: */
484:
485: #define NELOG_LocalSecFail2 (ERRLOG_BASE + 84)
486: /*
487: * The user accounts database (NET.ACC) is missing. The local
488: * security system is restoring the backup database
489: * made at %1.
490: * Any updates made to the database made after this time are lost.
491: *
492: */
493:
494: #define NELOG_LocalSecFail3 (ERRLOG_BASE + 85)
495: /*
496: * Local security could not be started because the user accounts database
497: * (NET.ACC) was missing or corrupted, and no usable backup
498: * database was present.
499: *
500: * THE SYSTEM IS NOT SECURE.
501: */
502:
503: #define NELOG_LocalSecGeneralFail (ERRLOG_BASE + 86)
504: /*
505: * Local security could not be started because an error
506: * occurred during initialization. The error code returned is %1.
507: *
508: * THE SYSTEM IS NOT SECURE.
509: *
510: */
511:
512: //
513: // NETWKSTA.SYS specific error log messages from 90 to 99
514: //
515:
516: #define NELOG_NetWkSta_Internal_Error (ERRLOG_BASE + 90)
517: /*
518: * A NetWksta internal error has occurred:
519: * %1
520: */
521:
522: #define NELOG_NetWkSta_No_Resource (ERRLOG_BASE + 91)
523: /*
524: * The redirector is out of a resource: %1.
525: */
526:
527: #define NELOG_NetWkSta_SMB_Err (ERRLOG_BASE + 92)
528: /*
529: * A server message block (SMB) error occurred on the connection to %1.
530: * The SMB header is the data.
531: */
532:
533: #define NELOG_NetWkSta_VC_Err (ERRLOG_BASE + 93)
534: /*
535: * A virtual circuit error occurred on the session to %1.
536: * The network control block (NCB) command and return code is the data.
537: */
538:
539: #define NELOG_NetWkSta_Stuck_VC_Err (ERRLOG_BASE + 94)
540: /*
541: * Hanging up a stuck session to %1.
542: */
543:
544: #define NELOG_NetWkSta_NCB_Err (ERRLOG_BASE + 95)
545: /*
546: * A network control block (NCB) error occurred (%1).
547: * The NCB is the data.
548: */
549:
550: #define NELOG_NetWkSta_Write_Behind_Err (ERRLOG_BASE + 96)
551: /*
552: * A write operation to %1 failed.
553: * Data may have been lost.
554: */
555:
556: #define NELOG_NetWkSta_Reset_Err (ERRLOG_BASE + 97)
557: /*
558: * Reset of driver %1 failed to complete the network control block (NCB).
559: * The NCB is the data.
560: */
561:
562: #define NELOG_NetWkSta_Too_Many (ERRLOG_BASE + 98)
563: /*
564: * The amount of resource %1 requested was more
565: * than the maximum. The maximum amount was allocated.
566: */
567:
568: //
569: // Spooler specific error log messages from 100 to 103
570: //
571:
572: #define NELOG_Srv_Thread_Failure (ERRLOG_BASE + 104)
573: /*
574: * The server could not create a thread.
575: * The THREADS parameter in the CONFIG.SYS file should be increased.
576: */
577:
578: #define NELOG_Srv_Close_Failure (ERRLOG_BASE + 105)
579: /*
580: * The server could not close %1.
581: * The file is probably corrupted.
582: */
583:
584: #define NELOG_ReplUserCurDir (ERRLOG_BASE + 106)
585: /*
586: *The replicator cannot update directory %1. It has tree integrity
587: * and is the current directory for some process.
588: */
589:
590: #define NELOG_ReplCannotMasterDir (ERRLOG_BASE + 107)
591: /*
592: *The server cannot export directory %1 to client %2.
593: * It is exported from another server.
594: */
595:
596: #define NELOG_ReplUpdateError (ERRLOG_BASE + 108)
597: /*
598: *The replication server could not update directory %2 from the source
599: * on %3 due to error %1.
600: */
601:
602: #define NELOG_ReplLostMaster (ERRLOG_BASE + 109)
603: /*
604: *Master %1 did not send an update notice for directory %2 at the expected
605: * time.
606: */
607:
608: #define NELOG_NetlogonAuthDCFail (ERRLOG_BASE + 110)
609: /*
610: *Failed to authenticate with %2, a Windows NT Advanced Server for domain %1.
611: */
612:
613: #define NELOG_ReplLogonFailed (ERRLOG_BASE + 111)
614: /*
615: *The replicator attempted to log on at %2 as %1 and failed.
616: */
617:
618: #define NELOG_ReplNetErr (ERRLOG_BASE + 112)
619: /*
620: * Network error %1 occurred.
621: */
622:
623: #define NELOG_ReplMaxFiles (ERRLOG_BASE + 113)
624: /*
625: * Replicator limit for files in a directory has been exceeded.
626: */
627:
628:
629: #define NELOG_ReplMaxTreeDepth (ERRLOG_BASE + 114)
630: /*
631: * Replicator limit for tree depth has been exceeded.
632: */
633:
634: #define NELOG_ReplBadMsg (ERRLOG_BASE + 115)
635: /*
636: * Unrecognized message received in mailslot.
637: */
638:
639: #define NELOG_ReplSysErr (ERRLOG_BASE + 116)
640: /*
641: * System error %1 occurred.
642: */
643:
644: #define NELOG_ReplUserLoged (ERRLOG_BASE + 117)
645: /*
646: * Cannot log on. User is currently logged on and argument TRYUSER
647: * is set to NO.
648: */
649:
650: #define NELOG_ReplBadImport (ERRLOG_BASE + 118)
651: /*
652: * IMPORT path %1 cannot be found.
653: */
654:
655: #define NELOG_ReplBadExport (ERRLOG_BASE + 119)
656: /*
657: * EXPORT path %1 cannot be found.
658: */
659:
660: #define NELOG_ReplSignalFileErr (ERRLOG_BASE + 120)
661: /*
662: * Replicator failed to update signal file in directory %2 due to
663: * %1 system error.
664: */
665:
666: #define NELOG_DiskFT (ERRLOG_BASE+121)
667: /*
668: * Disk Fault Tolerance Error
669: *
670: * %1
671: */
672:
673: #define NELOG_ReplAccessDenied (ERRLOG_BASE + 122)
674: /*
675: * Replicator could not access %2
676: * on %3 due to system error %1.
677: */
678:
679: #define NELOG_NetlogonFailedPrimary (ERRLOG_BASE + 123)
680: /*
681: *The domain controller for domain %1 has apparently failed.
682: */
683:
684: #define NELOG_NetlogonPasswdSetFailed (ERRLOG_BASE + 124)
685: /*
686: * An error occurred while changing this computer's password.
687: */
688:
689: #define NELOG_NetlogonTrackingError (ERRLOG_BASE + 125)
690: /*
691: *An error occurred while updating the logon or logoff information for %1.
692: */
693:
694: #define NELOG_NetlogonSyncError (ERRLOG_BASE + 126)
695: /*
696: *An error occurred while synchronizing with domain controller %1
697: */
698:
699: //
700: // UPS service specific error log messages from 130 to 135
701: //
702:
703: #define NELOG_UPS_PowerOut (ERRLOG_BASE + 130)
704: /*
705: * A power failure was detected at the server.
706: */
707:
708: #define NELOG_UPS_Shutdown (ERRLOG_BASE + 131)
709: /*
710: * The UPS service performed server shut down.
711: */
712:
713: #define NELOG_UPS_CmdFileError (ERRLOG_BASE + 132)
714: /*
715: * The UPS service did not complete execution of the
716: * user specified shut down command file.
717: */
718:
719: #define NELOG_UPS_CannotOpenDriver (ERRLOG_BASE+133)
720: /*
721: * The UPS driver could not be opened. The error code is
722: * the data.
723: */
724:
725: #define NELOG_UPS_PowerBack (ERRLOG_BASE + 134)
726: /*
727: * Power has been restored.
728: */
729:
730: #define NELOG_UPS_CmdFileConfig (ERRLOG_BASE + 135)
731: /*
732: * There is a problem with a configuration of user specified
733: * shut down command file.
734: */
735:
736: #define NELOG_UPS_CmdFileExec (ERRLOG_BASE + 136)
737: /*
738: * The UPS service failed to execute a user specified shutdown
739: * command file %1. The error code is the data.
740: */
741:
742: //
743: // Remote boot server specific error log messages are from 150 to 164
744: //
745:
746: #define NELOG_Missing_Parameter (ERRLOG_BASE + 150)
747: /*
748: * Initialization failed because of an invalid or missing
749: * parameter in the configuration file %1.
750: */
751:
752: #define NELOG_Invalid_Config_Line (ERRLOG_BASE + 151)
753: /*
754: * Initialization failed because of an invalid line in the
755: * configuration file %1. The invalid line is the data.
756: */
757:
758: #define NELOG_Invalid_Config_File (ERRLOG_BASE + 152)
759: /*
760: * Initialization failed because of an error in the configuration
761: * file %1.
762: */
763:
764: #define NELOG_File_Changed (ERRLOG_BASE + 153)
765: /*
766: * The file %1 has been changed after initialization.
767: * The boot-block loading was temporarily terminated.
768: */
769:
770: #define NELOG_Files_Dont_Fit (ERRLOG_BASE + 154)
771: /*
772: * The files do not fit to the boot-block configuration
773: * file %1. Change the BASE and ORG definitions or the order
774: * of the files.
775: */
776:
777: #define NELOG_Wrong_DLL_Version (ERRLOG_BASE + 155)
778: /*
779: * Initialization failed because the dynamic-link
780: * library %1 returned an incorrect version number.
781: */
782:
783: #define NELOG_Error_in_DLL (ERRLOG_BASE + 156)
784: /*
785: * There was an unrecoverable error in the dynamic-
786: * link library of the service.
787: */
788:
789: #define NELOG_System_Error (ERRLOG_BASE + 157)
790: /*
791: * The system returned an unexpected error code.
792: * The error code is the data.
793: */
794:
795: #define NELOG_FT_ErrLog_Too_Large (ERRLOG_BASE + 158)
796: /*
797: * The fault-tolerance error log file, LANROOT\LOGS\FT.LOG,
798: * is more than 64K.
799: */
800:
801: #define NELOG_FT_Update_In_Progress (ERRLOG_BASE + 159)
802: /*
803: * The fault-tolerance error-log file, LANROOT\LOGS\FT.LOG, had the
804: * update in progress bit set upon opening, which means that the
805: * system crashed while working on the error log.
806: */
807:
808:
809: //
810: // Microsoft has created a generic error log entry for OEMs to use to
811: // log errors from OEM value added services. The code, which is the
812: // 2nd arg to NetErrorLogWrite, is 3299. This value is manifest in
813: // NET/H/ERRLOG.H as NELOG_OEM_Code. The text for error log entry
814: // NELOG_OEM_Code is: "%1 %2 %3 %4 %5 %6 %7 %8 %9.".
815: //
816: // Microsoft suggests that OEMs use the insertion strings as follows:
817: // %1: OEM System Name (e.g. 3+Open)
818: // %2: OEM Service Name (e.g. 3+Mail)
819: // %3: Severity level (e.g. error, warning, etc.)
820: // %4: OEM error log entry sub-identifier (e.g. error code #)
821: // %5 - % 9: Text.
822: //
823: // The call to NetErrorWrite must set nstrings = 9, and provide 9
824: // ASCIIZ strings. If the caller does not have 9 insertion strings,
825: // provide null strings for the empty insertion strings.
826: //
827:
828: #define NELOG_OEM_Code (ERRLOG_BASE + 199)
829: /*
830: * %1 %2 %3 %4 %5 %6 %7 %8 %9.
831: */
832:
833: //
834: // another error log range defined for NT Lanman.
835: //
836:
837: #define ERRLOG2_BASE 5700 /* New NT NELOG errors start here */
838:
839: #define NELOG_NetlogonSSIInitError (ERRLOG2_BASE + 0)
840: /*
841: * The Netlogon service could not initialize the replication data
842: * structures successfully. The service is terminated.
843: */
844:
845: #define NELOG_NetlogonFailedToUpdateTrustList (ERRLOG2_BASE + 1)
846: /*
847: * The Netlogon service failed to update the domain trust list.
848: */
849:
850: #define NELOG_NetlogonFailedToAddRpcInterface (ERRLOG2_BASE + 2)
851: /*
852: * The Netlogon service could not add the RPC interface. The
853: * service is terminated.
854: */
855:
856: #define NELOG_NetlogonFailedToReadMailslot (ERRLOG2_BASE + 3)
857: /*
858: * The Netlogon service could not read a mailslot message from %1.
859: */
860:
861: #define NELOG_NetlogonFailedToRegisterSC (ERRLOG2_BASE + 4)
862: /*
863: * The Netlogon service failed to register the service with the
864: * service controller. The service is terminated.
865: */
866:
867: #define NELOG_NetlogonChangeLogCorrupt (ERRLOG2_BASE + 5)
868: /*
869: * The change log cache maintained by the Netlogon service for
870: * database changes is corrupted. The Netlogon service is resetting
871: * the change log.
872: */
873:
874: #define NELOG_NetlogonFaliedToCreateShare (ERRLOG2_BASE + 6)
875: /*
876: * The Netlogon service could not create server share %1.
877: */
878:
879: #define NELOG_NetlogonDownLevelLogonFailed (ERRLOG2_BASE + 7)
880: /*
881: * The down-level logon request for the user %1 from %2 failed.
882: */
883:
884: #define NELOG_NetlogonDownLevelLogoffFailed (ERRLOG2_BASE + 8)
885: /*
886: * The down-level logoff request for the user %1 from %2 failed.
887: */
888:
889: #define NELOG_NetlogonNTLogonFailed (ERRLOG2_BASE + 9)
890: /*
891: * The Windows NT %1 logon request for the user %2\%3 from %4 (via %5)
892: * failed.
893: */
894:
895: #define NELOG_NetlogonNTLogoffFailed (ERRLOG2_BASE + 10)
896: /*
897: * The Windows NT %1 logoff request for the user %2\%3 from %4
898: * failed.
899: */
900:
901: #define NELOG_NetlogonPartialSyncCallSuccess (ERRLOG2_BASE + 11)
902: /*
903: * The partial synchronization request from the server %1 completed
904: * successfully. %2 changes(s) has(have) been returned to the
905: * caller.
906: */
907:
908: #define NELOG_NetlogonPartialSyncCallFailed (ERRLOG2_BASE + 12)
909: /*
910: * The partial synchronization request from the server %1 failed.
911: */
912:
913: #define NELOG_NetlogonFullSyncCallSuccess (ERRLOG2_BASE + 13)
914: /*
915: * The full synchronization request from the server %1 completed
916: * successfully. %2 object(s) has(have) been returned to
917: * the caller.
918: */
919:
920: #define NELOG_NetlogonFullSyncCallFailed (ERRLOG2_BASE + 14)
921: /*
922: * The full synchronization request from the server %1 failed.
923: */
924:
925: #define NELOG_NetlogonPartialSyncSuccess (ERRLOG2_BASE + 15)
926: /*
927: * The partial synchronization replication of the %1 database from the
928: * domain controller %2 completed successfully. %3 change(s) is(are)
929: * applied to the database.
930: */
931:
932:
933: #define NELOG_NetlogonPartialSyncFailed (ERRLOG2_BASE + 16)
934: /*
935: * The partial synchronization replication of the %1 database from the
936: * domain controller %2 failed.
937: */
938:
939: #define NELOG_NetlogonFullSyncSuccess (ERRLOG2_BASE + 17)
940: /*
941: * The full synchronization replication of the %1 database from the
942: * domain controller %2 completed successfully.
943: */
944:
945:
946: #define NELOG_NetlogonFullSyncFailed (ERRLOG2_BASE + 18)
947: /*
948: * The full synchronization replication of the %1 database from the
949: * domain controller %2 failed.
950: */
951:
952: #define NELOG_NetlogonAuthNoDomainController (ERRLOG2_BASE + 19)
953: /*
954: * No Windows NT Advanced Server for the domain %1 is available.
955: */
956:
957: #define NELOG_NetlogonAuthNoTrustLsaSecret (ERRLOG2_BASE + 20)
958: /*
959: * The session setup to the Windows NT Advanced Server %1 for the domain %2
960: * failed because the computer %3 does not have a local security database account.
961: */
962:
963: #define NELOG_NetlogonAuthNoTrustSamAccount (ERRLOG2_BASE + 21)
964: /*
965: * The session setup to the Windows NT Advanced Server %1 for the domain %2
966: * failed because the Windows NT Advanced Server does not have an account
967: * for the computer %3.
968: */
969:
970: #define NELOG_NetlogonServerAuthFailed (ERRLOG2_BASE + 22)
971: /*
972: * The session setup from the computer %1 failed to authenticate.
973: * The name of the account referenced in the security database is
974: * %2.
975: */
976:
977: #define NELOG_NetlogonServerAuthNoTrustSamAccount (ERRLOG2_BASE + 23)
978: /*
979: * The session setup from the computer %1 failed because there is
980: * no trust account in the security database for this computer. The name of
981: * the account referenced in the security database is %2.
982: */
983:
984: //
985: // General log messages for NT services.
986: //
987:
988: #define NELOG_FailedToRegisterSC (ERRLOG2_BASE + 24)
989: /*
990: * Could not register control handler with service controller %1.
991: */
992:
993: #define NELOG_FailedToSetServiceStatus (ERRLOG2_BASE + 25)
994: /*
995: * Could not set service status with service controller %1.
996: */
997:
998: #define NELOG_FailedToGetComputerName (ERRLOG2_BASE + 26)
999: /*
1000: * Could not find the computer name %1.
1001: */
1002:
1003: #define NELOG_DriverNotLoaded (ERRLOG2_BASE + 27)
1004: /*
1005: * Could not load %1 device driver.
1006: */
1007:
1008: #define NELOG_NoTranportLoaded (ERRLOG2_BASE + 28)
1009: /*
1010: * Could not load any transport.
1011: */
1012:
1013: #endif // _LMERRLOG_
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.