home *** CD-ROM | disk | FTP | other *** search
/ PC Format (South-Africa) 2001 May / PCFMay2001.iso / Xenon / C++ / FreeCommandLineTools.exe / Include / lmerrlog.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-01-31  |  42.4 KB  |  1,383 lines

  1. /*++ BUILD Version: 0002    // Increment this if a change has global effects
  2.  
  3. Copyright (c) 1991-1999  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. Environment:
  16.  
  17.     User Mode - Win32
  18.  
  19. Notes:
  20.  
  21.     You must include NETCONS.H before this file, since this file depends
  22.     on values defined in NETCONS.H.
  23.  
  24. --*/
  25.  
  26. #ifndef _LMERRLOG_
  27. #pragma option push -b -a8 -pc -A- /*P_O_Push*/
  28. #define _LMERRLOG_
  29.  
  30. #if _MSC_VER > 1000
  31. #pragma once
  32. #endif
  33.  
  34. #ifdef __cplusplus
  35. extern "C" {
  36. #endif
  37.  
  38. //
  39. // Data Structures - Config
  40. //
  41.  
  42. typedef struct _ERROR_LOG {
  43.      DWORD         el_len;
  44.      DWORD         el_reserved;
  45.      DWORD         el_time;
  46.      DWORD         el_error;
  47.      LPWSTR        el_name;             // pointer to service name
  48.      LPWSTR        el_text;             // pointer to string array
  49.      LPBYTE        el_data;             // pointer to BYTE array
  50.      DWORD         el_data_size;        // byte count of el_data area
  51.      DWORD         el_nstrings;         // number of strings in el_text.
  52. } ERROR_LOG, *PERROR_LOG, *LPERROR_LOG;
  53.  
  54.  
  55. #define REVISED_ERROR_LOG_STRUCT
  56.  
  57.  
  58. #ifndef _LMHLOGDEFINED_
  59. #define _LMHLOGDEFINED_
  60.  
  61. typedef struct _HLOG {
  62.      DWORD          time;
  63.      DWORD          last_flags;
  64.      DWORD          offset;
  65.      DWORD          rec_offset;
  66. } HLOG, *PHLOG, *LPHLOG;
  67.  
  68. #define LOGFLAGS_FORWARD    0
  69. #define LOGFLAGS_BACKWARD   0x1
  70. #define LOGFLAGS_SEEK       0x2
  71.  
  72. #endif
  73.  
  74. //
  75. // Function Prototypes - ErrorLog
  76. //
  77.  
  78. NET_API_STATUS NET_API_FUNCTION
  79. NetErrorLogClear (
  80.     IN LPCWSTR server,
  81.     IN LPCWSTR backupfile,
  82.     IN LPBYTE  reserved
  83.     );
  84.  
  85. NET_API_STATUS NET_API_FUNCTION
  86. NetErrorLogRead (
  87.     IN LPCWSTR server,
  88.     IN LPWSTR  reserved1,
  89.     IN LPHLOG  errloghandle,
  90.     IN DWORD   offset,
  91.     IN LPDWORD reserved2,
  92.     IN DWORD   reserved3,
  93.     IN DWORD offsetflag,
  94.     OUT LPBYTE * bufptr,
  95.     IN DWORD prefmaxlen,
  96.     OUT LPDWORD bytesread,
  97.     OUT LPDWORD totalbytes
  98.     );
  99.  
  100. NET_API_STATUS NET_API_FUNCTION
  101. NetErrorLogWrite (
  102.     IN LPBYTE  reserved1,
  103.     IN DWORD   code,
  104.     IN LPCWSTR component,
  105.     IN LPBYTE  buffer,
  106.     IN DWORD numbytes,
  107.     IN LPBYTE msgbuf,
  108.     IN DWORD strcount,
  109.     IN LPBYTE reserved2
  110.     );
  111.  
  112. //
  113. // Special Values and Constants
  114. //
  115.  
  116.  
  117. //
  118. //  Generic (could be used by more than one service)
  119. //   error log messages from 0 to 25
  120. //
  121. // Do not change the comments following the manifest constants without
  122. // understanding how mapmsg works.
  123. //
  124.  
  125. #define ERRLOG_BASE 3100        /* NELOG errors start here */
  126.  
  127. #define NELOG_Internal_Error        (ERRLOG_BASE + 0)
  128.     /*
  129.     * The operation failed because a network software error occurred.
  130.     */
  131.  
  132. #define NELOG_Resource_Shortage     (ERRLOG_BASE + 1)
  133.     /*
  134.     * The system ran out of a resource controlled by the %1 option.
  135.     */
  136.  
  137. #define NELOG_Unable_To_Lock_Segment    (ERRLOG_BASE + 2)
  138.     /*
  139.     * The service failed to obtain a long-term lock on the
  140.     *  segment for network control blocks (NCBs). The error code is the data.
  141.     */
  142.  
  143. #define NELOG_Unable_To_Unlock_Segment  (ERRLOG_BASE + 3)
  144.     /*
  145.     * The service failed to release the long-term lock on the
  146.     *  segment for network control blocks (NCBs). The error code is the data.
  147.     */
  148.  
  149. #define NELOG_Uninstall_Service     (ERRLOG_BASE + 4)
  150.     /*
  151.     * There was an error stopping service %1.
  152.     *  The error code from NetServiceControl is the data.
  153.     */
  154.  
  155. #define NELOG_Init_Exec_Fail        (ERRLOG_BASE + 5)
  156.     /*
  157.     * Initialization failed because of a system execution failure on
  158.     *  path %1. The system error code is the data.
  159.     */
  160.  
  161. #define NELOG_Ncb_Error         (ERRLOG_BASE + 6)
  162.     /*
  163.     * An unexpected network control block (NCB) was received. The NCB is the data.
  164.     */
  165.  
  166. #define NELOG_Net_Not_Started       (ERRLOG_BASE + 7)
  167.     /*
  168.     * The network is not started.
  169.     */
  170.  
  171. #define NELOG_Ioctl_Error       (ERRLOG_BASE + 8)
  172.     /*
  173.     * A DosDevIoctl or DosFsCtl to NETWKSTA.SYS failed.
  174.     * The data shown is in this format:
  175.     *     DWORD  approx CS:IP of call to ioctl or fsctl
  176.     *     WORD   error code
  177.     *     WORD   ioctl or fsctl number
  178.     */
  179.  
  180. #define NELOG_System_Semaphore      (ERRLOG_BASE + 9)
  181.     /*
  182.     * Unable to create or open system semaphore %1.
  183.     *  The error code is the data.
  184.     */
  185.  
  186. #define NELOG_Init_OpenCreate_Err   (ERRLOG_BASE + 10)
  187.     /*
  188.     * Initialization failed because of an open/create error on the
  189.     *  file %1. The system error code is the data.
  190.     */
  191.  
  192. #define NELOG_NetBios           (ERRLOG_BASE + 11)
  193.     /*
  194.     * An unexpected NetBIOS error occurred.
  195.     *  The error code is the data.
  196.     */
  197.  
  198. #define NELOG_SMB_Illegal       (ERRLOG_BASE + 12)
  199.     /*
  200.     * An illegal server message block (SMB) was received.
  201.     *  The SMB is the data.
  202.     */
  203.  
  204. #define NELOG_Service_Fail      (ERRLOG_BASE + 13)
  205.     /*
  206.     * Initialization failed because the requested service %1
  207.     *  could not be started.
  208.    */
  209.  
  210. #define NELOG_Entries_Lost      (ERRLOG_BASE + 14)
  211.     /*
  212.     * Some entries in the error log were lost because of a buffer
  213.     * overflow.
  214.     */
  215.  
  216.  
  217. //
  218. //  Server specific error log messages from 20 to 40
  219. //
  220.  
  221. #define NELOG_Init_Seg_Overflow     (ERRLOG_BASE + 20)
  222.     /*
  223.     * Initialization parameters controlling resource usage other
  224.     *  than net buffers are sized so that too much memory is needed.
  225.     */
  226.  
  227. #define NELOG_Srv_No_Mem_Grow       (ERRLOG_BASE + 21)
  228.     /*
  229.     * The server cannot increase the size of a memory segment.
  230.     */
  231.  
  232. #define NELOG_Access_File_Bad       (ERRLOG_BASE + 22)
  233.     /*
  234.     * Initialization failed because account file %1 is either incorrect
  235.     * or not present.
  236.     */
  237.  
  238. #define NELOG_Srvnet_Not_Started    (ERRLOG_BASE + 23)
  239.     /*
  240.     * Initialization failed because network %1 was not started.
  241.     */
  242.  
  243. #define NELOG_Init_Chardev_Err      (ERRLOG_BASE + 24)
  244.     /*
  245.     * The server failed to start. Either all three chdev
  246.     *  parameters must be zero or all three must be nonzero.
  247.     */
  248.  
  249. #define NELOG_Remote_API        (ERRLOG_BASE + 25)
  250.     /* A remote API request was halted due to the following
  251.     * invalid description string: %1.
  252.     */
  253.  
  254. #define NELOG_Ncb_TooManyErr        (ERRLOG_BASE + 26)
  255.     /* The network %1 ran out of network control blocks (NCBs).  You may need to increase NCBs
  256.     * for this network.  The following information includes the
  257.     * number of NCBs submitted by the server when this error occurred:
  258.     */
  259.  
  260. #define NELOG_Mailslot_err      (ERRLOG_BASE + 27)
  261.     /* The server cannot create the %1 mailslot needed to send
  262.     * the ReleaseMemory alert message.  The error received is:
  263.     */
  264.  
  265. #define NELOG_ReleaseMem_Alert      (ERRLOG_BASE + 28)
  266.     /* The server failed to register for the ReleaseMemory alert,
  267.     * with recipient %1. The error code from
  268.     * NetAlertStart is the data.
  269.     */
  270.  
  271. #define NELOG_AT_cannot_write       (ERRLOG_BASE + 29)
  272.     /* The server cannot update the AT schedule file. The file
  273.     * is corrupted.
  274.     */
  275.  
  276. #define NELOG_Cant_Make_Msg_File    (ERRLOG_BASE + 30)
  277.     /* The server encountered an error when calling
  278.     * NetIMakeLMFileName. The error code is the data.
  279.     */
  280.  
  281. #define NELOG_Exec_Netservr_NoMem   (ERRLOG_BASE + 31)
  282.     /* Initialization failed because of a system execution failure on
  283.     * path %1. There is not enough memory to start the process.
  284.     * The system error code is the data.
  285.     */
  286.  
  287. #define NELOG_Server_Lock_Failure   (ERRLOG_BASE + 32)
  288.     /* Longterm lock of the server buffers failed.
  289.     * Check swap disk's free space and restart the system to start the server.
  290.     */
  291.  
  292. //
  293. //  Message service and POPUP specific error log messages from 40 to 55
  294. //
  295.  
  296. #define NELOG_Msg_Shutdown      (ERRLOG_BASE + 40)
  297.     /*
  298.     * The service has stopped due to repeated consecutive
  299.     *  occurrences of a network control block (NCB) error.  The last bad NCB follows
  300.     *  in raw data.
  301.     */
  302.  
  303. #define NELOG_Msg_Sem_Shutdown      (ERRLOG_BASE + 41)
  304.     /*
  305.     * The Message server has stopped due to a lock on the
  306.     *  Message server shared data segment.
  307.     */
  308.  
  309. #define NELOG_Msg_Log_Err       (ERRLOG_BASE + 50)
  310.     /*
  311.     * A file system error occurred while opening or writing to the
  312.     *  system message log file %1. Message logging has been
  313.     *  switched off due to the error. The error code is the data.
  314.     */
  315.  
  316.  
  317.  
  318. #define NELOG_VIO_POPUP_ERR     (ERRLOG_BASE + 51)
  319.     /*
  320.     * Unable to display message POPUP due to system VIO call error.
  321.     *  The error code is the data.
  322.     */
  323.  
  324. #define NELOG_Msg_Unexpected_SMB_Type   (ERRLOG_BASE + 52)
  325.     /*
  326.     * An illegal server message block (SMB) was received.  The SMB is the data.
  327.     */
  328.  
  329. //
  330. //  Workstation specific error log messages from 60 to 75
  331. //
  332.  
  333.  
  334. #define NELOG_Wksta_Infoseg     (ERRLOG_BASE + 60)
  335.     /*
  336.     * The workstation information segment is bigger than 64K.
  337.     *  The size follows, in DWORD format:
  338.     */
  339.  
  340. #define NELOG_Wksta_Compname        (ERRLOG_BASE + 61)
  341.     /*
  342.     * The workstation was unable to get the name-number of the computer.
  343.     */
  344.  
  345. #define NELOG_Wksta_BiosThreadFailure   (ERRLOG_BASE + 62)
  346.     /*
  347.     * The workstation could not initialize the Async NetBIOS Thread.
  348.     *  The error code is the data.
  349.     */
  350.  
  351. #define NELOG_Wksta_IniSeg      (ERRLOG_BASE + 63)
  352.     /*
  353.     * The workstation could not open the initial shared segment.
  354.     *  The error code is the data.
  355.     */
  356.  
  357. #define NELOG_Wksta_HostTab_Full    (ERRLOG_BASE + 64)
  358.     /*
  359.     * The workstation host table is full.
  360.     */
  361.  
  362. #define NELOG_Wksta_Bad_Mailslot_SMB    (ERRLOG_BASE + 65)
  363.     /*
  364.     * A bad mailslot server message block (SMB) was received.  The SMB is the data.
  365.     */
  366.  
  367. #define NELOG_Wksta_UASInit     (ERRLOG_BASE + 66)
  368.     /*
  369.     * The workstation encountered an error while trying to start the user accounts database.
  370.     *  The error code is the data.
  371.     */
  372.  
  373. #define NELOG_Wksta_SSIRelogon      (ERRLOG_BASE + 67)
  374.     /*
  375.     * The workstation encountered an error while responding to an SSI revalidation request.
  376.     *  The function code and the error codes are the data.
  377.     */
  378.  
  379. //
  380. //  Alerter service specific error log messages from 70 to 79
  381. //
  382.  
  383.  
  384. #define NELOG_Build_Name        (ERRLOG_BASE + 70)
  385.     /*
  386.     * The Alerter service had a problem creating the list of
  387.     * alert recipients.  The error code is %1.
  388.     */
  389.  
  390. #define NELOG_Name_Expansion        (ERRLOG_BASE + 71)
  391.     /*
  392.     * There was an error expanding %1 as a group name. Try
  393.     *  splitting the group into two or more smaller groups.
  394.     */
  395.  
  396. #define NELOG_Message_Send      (ERRLOG_BASE + 72)
  397.     /*
  398.     * There was an error sending %2 the alert message -
  399.     *  (
  400.     *  %3 )
  401.     *  The error code is %1.
  402.     */
  403.  
  404. #define NELOG_Mail_Slt_Err      (ERRLOG_BASE + 73)
  405.     /*
  406.     * There was an error in creating or reading the alerter mailslot.
  407.     *  The error code is %1.
  408.     */
  409.  
  410. #define NELOG_AT_cannot_read        (ERRLOG_BASE + 74)
  411.     /*
  412.     * The server could not read the AT schedule file.
  413.     */
  414.  
  415. #define NELOG_AT_sched_err      (ERRLOG_BASE + 75)
  416.     /*
  417.     * The server found an invalid AT schedule record.
  418.     */
  419.  
  420. #define NELOG_AT_schedule_file_created  (ERRLOG_BASE + 76)
  421.     /*
  422.     * The server could not find an AT schedule file so it created one.
  423.     */
  424.  
  425. #define NELOG_Srvnet_NB_Open        (ERRLOG_BASE + 77)
  426.     /*
  427.     * The server could not access the %1 network with NetBiosOpen.
  428.     */
  429.  
  430. #define NELOG_AT_Exec_Err       (ERRLOG_BASE + 78)
  431.     /*
  432.     * The AT command processor could not run %1.
  433.    */
  434.  
  435. //
  436. //      Cache Lazy Write and HPFS386 specific error log messages from 80 to 89
  437. //
  438.  
  439. #define NELOG_Lazy_Write_Err            (ERRLOG_BASE + 80)
  440.         /*
  441.         * WARNING:  Because of a lazy-write error, drive %1 now
  442.         *  contains some corrupted data.  The cache is stopped.
  443.         */
  444.  
  445. #define NELOG_HotFix            (ERRLOG_BASE + 81)
  446.     /*
  447.     * A defective sector on drive %1 has been replaced (hotfixed).
  448.     * No data was lost.  You should run CHKDSK soon to restore full
  449.     * performance and replenish the volume's spare sector pool.
  450.     *
  451.     * The hotfix occurred while processing a remote request.
  452.     */
  453.  
  454. #define NELOG_HardErr_From_Server   (ERRLOG_BASE + 82)
  455.     /*
  456.     * A disk error occurred on the HPFS volume in drive %1.
  457.     * The error occurred while processing a remote request.
  458.     */
  459.  
  460. #define NELOG_LocalSecFail1 (ERRLOG_BASE + 83)
  461.     /*
  462.     * The user accounts database (NET.ACC) is corrupted.  The local security
  463.     * system is replacing the corrupted NET.ACC with the backup
  464.     * made at %1.
  465.     * Any updates made to the database after this time are lost.
  466.     *
  467.     */
  468.  
  469. #define NELOG_LocalSecFail2 (ERRLOG_BASE + 84)
  470.     /*
  471.     * The user accounts database (NET.ACC) is missing.  The local
  472.     * security system is restoring the backup database
  473.     * made at %1.
  474.     * Any updates made to the database made after this time are lost.
  475.     *
  476.     */
  477.  
  478. #define NELOG_LocalSecFail3 (ERRLOG_BASE + 85)
  479.     /*
  480.     * Local security could not be started because the user accounts database
  481.     * (NET.ACC) was missing or corrupted, and no usable backup
  482.     * database was present.
  483.     *
  484.     * THE SYSTEM IS NOT SECURE.
  485.     */
  486.  
  487. #define NELOG_LocalSecGeneralFail   (ERRLOG_BASE + 86)
  488.     /*
  489.     * Local security could not be started because an error
  490.     * occurred during initialization. The error code returned is %1.
  491.     *
  492.     * THE SYSTEM IS NOT SECURE.
  493.     *
  494.     */
  495.  
  496. //
  497. //  NETWKSTA.SYS specific error log messages from 90 to 99
  498. //
  499.  
  500. #define NELOG_NetWkSta_Internal_Error   (ERRLOG_BASE + 90)
  501.     /*
  502.     * A NetWksta internal error has occurred:
  503.     *  %1
  504.     */
  505.  
  506. #define NELOG_NetWkSta_No_Resource  (ERRLOG_BASE + 91)
  507.     /*
  508.     * The redirector is out of a resource: %1.
  509.     */
  510.  
  511. #define NELOG_NetWkSta_SMB_Err      (ERRLOG_BASE + 92)
  512.     /*
  513.     * A server message block (SMB) error occurred on the connection to %1.
  514.     *  The SMB header is the data.
  515.     */
  516.  
  517. #define NELOG_NetWkSta_VC_Err       (ERRLOG_BASE + 93)
  518.     /*
  519.     * A virtual circuit error occurred on the session to %1.
  520.     *  The network control block (NCB) command and return code is the data.
  521.     */
  522.  
  523. #define NELOG_NetWkSta_Stuck_VC_Err (ERRLOG_BASE + 94)
  524.     /*
  525.     * Hanging up a stuck session to %1.
  526.     */
  527.  
  528. #define NELOG_NetWkSta_NCB_Err      (ERRLOG_BASE + 95)
  529.     /*
  530.     * A network control block (NCB) error occurred (%1).
  531.     *  The NCB is the data.
  532.     */
  533.  
  534. #define NELOG_NetWkSta_Write_Behind_Err (ERRLOG_BASE + 96)
  535.     /*
  536.     * A write operation to %1 failed.
  537.     *  Data may have been lost.
  538.     */
  539.  
  540. #define NELOG_NetWkSta_Reset_Err    (ERRLOG_BASE + 97)
  541.     /*
  542.     * Reset of driver %1 failed to complete the network control block (NCB).
  543.     *  The NCB is the data.
  544.     */
  545.  
  546. #define NELOG_NetWkSta_Too_Many     (ERRLOG_BASE + 98)
  547.     /*
  548.     * The amount of resource %1 requested was more
  549.     *  than the maximum. The maximum amount was allocated.
  550.     */
  551.  
  552. //
  553. //  Spooler specific error log messages from 100 to 103
  554. //
  555.  
  556. #define NELOG_Srv_Thread_Failure        (ERRLOG_BASE + 104)
  557.     /*
  558.     * The server could not create a thread.
  559.     *  The THREADS parameter in the CONFIG.SYS file should be increased.
  560.     */
  561.  
  562. #define NELOG_Srv_Close_Failure         (ERRLOG_BASE + 105)
  563.     /*
  564.     * The server could not close %1.
  565.     *  The file is probably corrupted.
  566.     */
  567.  
  568. #define NELOG_ReplUserCurDir               (ERRLOG_BASE + 106)
  569.     /*
  570.     *The replicator cannot update directory %1. It has tree integrity
  571.     * and is the current directory for some process.
  572.     */
  573.  
  574. #define NELOG_ReplCannotMasterDir       (ERRLOG_BASE + 107)
  575.     /*
  576.     *The server cannot export directory %1 to client %2.
  577.     * It is exported from another server.
  578.     */
  579.  
  580. #define NELOG_ReplUpdateError           (ERRLOG_BASE + 108)
  581.     /*
  582.     *The replication server could not update directory %2 from the source
  583.     * on %3 due to error %1.
  584.     */
  585.  
  586. #define NELOG_ReplLostMaster            (ERRLOG_BASE + 109)
  587.     /*
  588.     *Master %1 did not send an update notice for directory %2 at the expected
  589.     * time.
  590.     */
  591.  
  592. #define NELOG_NetlogonAuthDCFail        (ERRLOG_BASE + 110)
  593.     /*
  594.     *Failed to authenticate with %2, a Windows NT or Windows 2000 domain controller for domain %1.
  595.     */
  596.  
  597. #define NELOG_ReplLogonFailed           (ERRLOG_BASE + 111)
  598.     /*
  599.     *The replicator attempted to log on at %2 as %1 and failed.
  600.     */
  601.  
  602. #define NELOG_ReplNetErr            (ERRLOG_BASE + 112)
  603.     /*
  604.     *  Network error %1 occurred.
  605.     */
  606.  
  607. #define NELOG_ReplMaxFiles            (ERRLOG_BASE + 113)
  608.     /*
  609.     *  Replicator limit for files in a directory has been exceeded.
  610.     */
  611.  
  612.  
  613. #define NELOG_ReplMaxTreeDepth            (ERRLOG_BASE + 114)
  614.     /*
  615.     *  Replicator limit for tree depth has been exceeded.
  616.     */
  617.  
  618. #define NELOG_ReplBadMsg             (ERRLOG_BASE + 115)
  619.     /*
  620.     *  Unrecognized message received in mailslot.
  621.     */
  622.  
  623. #define NELOG_ReplSysErr            (ERRLOG_BASE + 116)
  624.     /*
  625.     *  System error %1 occurred.
  626.     */
  627.  
  628. #define NELOG_ReplUserLoged          (ERRLOG_BASE + 117)
  629.     /*
  630.     *  Cannot log on. User is currently logged on and argument TRYUSER
  631.     *  is set to NO.
  632.     */
  633.  
  634. #define NELOG_ReplBadImport           (ERRLOG_BASE + 118)
  635.     /*
  636.     *  IMPORT path %1 cannot be found.
  637.     */
  638.  
  639. #define NELOG_ReplBadExport           (ERRLOG_BASE + 119)
  640.     /*
  641.     *  EXPORT path %1 cannot be found.
  642.     */
  643.  
  644. #define NELOG_ReplSignalFileErr           (ERRLOG_BASE + 120)
  645.     /*
  646.     *  Replicator failed to update signal file in directory %2 due to
  647.     *  %1 system error.
  648.     */
  649.  
  650. #define NELOG_DiskFT                (ERRLOG_BASE+121)
  651.     /*
  652.     * Disk Fault Tolerance Error
  653.     *
  654.     * %1
  655.     */
  656.  
  657. #define NELOG_ReplAccessDenied           (ERRLOG_BASE + 122)
  658.     /*
  659.     *  Replicator could not access %2
  660.     *  on %3 due to system error %1.
  661.     */
  662.  
  663. #define NELOG_NetlogonFailedPrimary      (ERRLOG_BASE + 123)
  664.     /*
  665.     *The primary domain controller for domain %1 has apparently failed.
  666.     */
  667.  
  668. #define NELOG_NetlogonPasswdSetFailed (ERRLOG_BASE + 124)
  669.     /*
  670.     * Changing machine account password for account %1 failed with
  671.     * the following error: %n%2
  672.     */
  673.  
  674. #define NELOG_NetlogonTrackingError      (ERRLOG_BASE + 125)
  675.     /*
  676.     *An error occurred while updating the logon or logoff information for %1.
  677.     */
  678.  
  679. #define NELOG_NetlogonSyncError          (ERRLOG_BASE + 126)
  680.     /*
  681.     *An error occurred while synchronizing with primary domain controller %1
  682.     */
  683.  
  684. #define NELOG_NetlogonRequireSignOrSealError (ERRLOG_BASE + 127)
  685.     /*
  686.     * The session setup to the Windows NT or Windows 2000 Domain Controller %1 for the domain %2
  687.     * failed because %1 does not support signing or sealing the Netlogon
  688.     * session.
  689.     *
  690.     * Either upgrade the Domain controller or set the RequireSignOrSeal
  691.     * registry entry on this machine to 0.
  692.     */
  693.  
  694. //
  695. //  UPS service specific error log messages from 130 to 135
  696. //
  697.  
  698. #define NELOG_UPS_PowerOut      (ERRLOG_BASE + 130)
  699.     /*
  700.     * A power failure was detected at the server.
  701.     */
  702.  
  703. #define NELOG_UPS_Shutdown      (ERRLOG_BASE + 131)
  704.     /*
  705.     * The UPS service performed server shut down.
  706.     */
  707.  
  708. #define NELOG_UPS_CmdFileError      (ERRLOG_BASE + 132)
  709.     /*
  710.     * The UPS service did not complete execution of the
  711.     * user specified shut down command file.
  712.     */
  713.  
  714. #define NELOG_UPS_CannotOpenDriver  (ERRLOG_BASE+133)
  715.     /*
  716.     * The UPS driver could not be opened.  The error code is
  717.     * the data.
  718.     */
  719.  
  720. #define NELOG_UPS_PowerBack     (ERRLOG_BASE + 134)
  721.     /*
  722.     * Power has been restored.
  723.     */
  724.  
  725. #define NELOG_UPS_CmdFileConfig     (ERRLOG_BASE + 135)
  726.     /*
  727.     * There is a problem with a configuration of user specified
  728.     * shut down command file.
  729.     */
  730.  
  731. #define NELOG_UPS_CmdFileExec       (ERRLOG_BASE + 136)
  732.     /*
  733.     * The UPS service failed to execute a user specified shutdown
  734.     * command file %1.  The error code is the data.
  735.     */
  736.  
  737. //
  738. //  Remoteboot server specific error log messages are from 150 to 157
  739. //
  740.  
  741. #define NELOG_Missing_Parameter     (ERRLOG_BASE + 150)
  742.     /*
  743.     * Initialization failed because of an invalid or missing
  744.     *  parameter in the configuration file %1.
  745.     */
  746.  
  747. #define NELOG_Invalid_Config_Line   (ERRLOG_BASE + 151)
  748.     /*
  749.     * Initialization failed because of an invalid line in the
  750.     *  configuration file %1. The invalid line is the data.
  751.     */
  752.  
  753. #define NELOG_Invalid_Config_File   (ERRLOG_BASE + 152)
  754.     /*
  755.     * Initialization failed because of an error in the configuration
  756.     *  file %1.
  757.     */
  758.  
  759. #define NELOG_File_Changed      (ERRLOG_BASE + 153)
  760.     /*
  761.     * The file %1 has been changed after initialization.
  762.     *  The boot-block loading was temporarily terminated.
  763.     */
  764.  
  765. #define NELOG_Files_Dont_Fit        (ERRLOG_BASE + 154)
  766.     /*
  767.     * The files do not fit to the boot-block configuration
  768.     * file %1. Change the BASE and ORG definitions or the order
  769.     * of the files.
  770.     */
  771.  
  772. #define NELOG_Wrong_DLL_Version     (ERRLOG_BASE + 155)
  773.     /*
  774.     * Initialization failed because the dynamic-link
  775.     *  library %1 returned an incorrect version number.
  776.     */
  777.  
  778. #define NELOG_Error_in_DLL      (ERRLOG_BASE + 156)
  779.     /*
  780.     * There was an unrecoverable error in the dynamic-
  781.     *  link library of the service.
  782.     */
  783.  
  784. #define NELOG_System_Error      (ERRLOG_BASE + 157)
  785.     /*
  786.     * The system returned an unexpected error code.
  787.     *  The error code is the data.
  788.     */
  789.  
  790. #define NELOG_FT_ErrLog_Too_Large (ERRLOG_BASE + 158)
  791.     /*
  792.     * The fault-tolerance error log file, LANROOT\LOGS\FT.LOG,
  793.     *  is more than 64K.
  794.     */
  795.  
  796. #define NELOG_FT_Update_In_Progress (ERRLOG_BASE + 159)
  797.     /*
  798.     * The fault-tolerance error-log file, LANROOT\LOGS\FT.LOG, had the
  799.     * update in progress bit set upon opening, which means that the
  800.     * system crashed while working on the error log.
  801.     */
  802.  
  803.  
  804. //
  805. // Microsoft has created a generic error log entry for OEMs to use to
  806. // log errors from OEM value added services.  The code, which is the
  807. // 2nd arg to NetErrorLogWrite, is 3299.  This value is manifest in
  808. // NET/H/ERRLOG.H as NELOG_OEM_Code.  The text for error log entry
  809. // NELOG_OEM_Code is:  "%1 %2 %3 %4 %5 %6 %7 %8 %9.".
  810. //
  811. // Microsoft suggests that OEMs use the insertion strings as follows:
  812. // %1:  OEM System Name (e.g. 3+Open)
  813. // %2:  OEM Service Name (e.g. 3+Mail)
  814. // %3:  Severity level (e.g.  error, warning, etc.)
  815. // %4:  OEM error log entry sub-identifier  (e.g. error code #)
  816. // %5 - % 9:  Text.
  817. //
  818. // The call to NetErrorWrite must set nstrings = 9, and provide 9
  819. // ASCIIZ strings.  If the caller does not have 9 insertion strings,
  820. // provide null strings for the empty insertion strings.
  821. //
  822.  
  823. #define NELOG_OEM_Code              (ERRLOG_BASE + 199)
  824.     /*
  825.     * %1 %2 %3 %4 %5 %6 %7 %8 %9.
  826.     */
  827.  
  828. //
  829. // another error log range defined for NT Lanman.
  830. //
  831.  
  832. #define ERRLOG2_BASE 5700        /* New NT NELOG errors start here */
  833.  
  834. #define NELOG_NetlogonSSIInitError              (ERRLOG2_BASE + 0)
  835.     /*
  836.      * The Netlogon service could not initialize the replication data
  837.      * structures successfully. The service was terminated.  The following
  838.      * error occurred: %n%1
  839.      */
  840.  
  841. #define NELOG_NetlogonFailedToUpdateTrustList   (ERRLOG2_BASE + 1)
  842.     /*
  843.      * The Netlogon service failed to update the domain trust list.  The
  844.      * following error occurred: %n%1
  845.      */
  846.  
  847. #define NELOG_NetlogonFailedToAddRpcInterface   (ERRLOG2_BASE + 2)
  848.     /*
  849.      * The Netlogon service could not add the RPC interface.  The
  850.      * service was terminated. The following error occurred: %n%1
  851.      */
  852.  
  853. #define NELOG_NetlogonFailedToReadMailslot      (ERRLOG2_BASE + 3)
  854.     /*
  855.      * The Netlogon service could not read a mailslot message from %1 due
  856.      * to the following error: %n%2
  857.      */
  858.  
  859. #define NELOG_NetlogonFailedToRegisterSC        (ERRLOG2_BASE + 4)
  860.     /*
  861.      * The Netlogon service failed to register the service with the
  862.      * service controller. The service was terminated. The following
  863.      * error occurred: %n%1
  864.      */
  865.  
  866. #define NELOG_NetlogonChangeLogCorrupt          (ERRLOG2_BASE + 5)
  867.     /*
  868.      * The change log cache maintained by the Netlogon service for
  869.      * database changes is corrupted. The Netlogon service is resetting
  870.      * the change log.
  871.      */
  872.  
  873. #define NELOG_NetlogonFailedToCreateShare       (ERRLOG2_BASE + 6)
  874.     /*
  875.      * The Netlogon service could not create server share %1.  The following
  876.      * error occurred: %n%2
  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 or Windows 2000 %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 or Windows 2000 %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 with
  911.      * the following error: %n%2
  912.      */
  913.  
  914. #define NELOG_NetlogonFullSyncCallSuccess       (ERRLOG2_BASE + 13)
  915.     /*
  916.      * The full synchronization request from the server %1 completed
  917.      * successfully. %2 object(s) has(have) been returned to
  918.      * the caller.
  919.      */
  920.  
  921. #define NELOG_NetlogonFullSyncCallFailed        (ERRLOG2_BASE + 14)
  922.     /*
  923.      * The full synchronization request from the server %1 failed with
  924.      * the following error: %n%2
  925.      */
  926.  
  927. #define NELOG_NetlogonPartialSyncSuccess        (ERRLOG2_BASE + 15)
  928.     /*
  929.      * The partial synchronization replication of the %1 database from the
  930.      * primary domain controller %2 completed successfully. %3 change(s) is(are)
  931.      * applied to the database.
  932.      */
  933.  
  934.  
  935. #define NELOG_NetlogonPartialSyncFailed         (ERRLOG2_BASE + 16)
  936.     /*
  937.      * The partial synchronization replication of the %1 database from the
  938.      * primary domain controller %2 failed with the following error: %n%3
  939.      */
  940.  
  941. #define NELOG_NetlogonFullSyncSuccess           (ERRLOG2_BASE + 17)
  942.     /*
  943.      * The full synchronization replication of the %1 database from the
  944.      * primary domain controller %2 completed successfully.
  945.      */
  946.  
  947.  
  948. #define NELOG_NetlogonFullSyncFailed            (ERRLOG2_BASE + 18)
  949.     /*
  950.      * The full synchronization replication of the %1 database from the
  951.      * primary domain controller %2 failed with the following error: %n%3
  952.      */
  953.  
  954. #define NELOG_NetlogonAuthNoDomainController    (ERRLOG2_BASE + 19)
  955.     /*
  956.      * No Windows NT or Windows 2000 Domain Controller is available for domain %1.
  957.      * The following error occurred:%n%2
  958.      */
  959.  
  960. #define NELOG_NetlogonAuthNoTrustLsaSecret      (ERRLOG2_BASE + 20)
  961.     /*
  962.      * The session setup to the Windows NT or Windows 2000 Domain Controller %1 for the domain %2
  963.      * failed because the computer %3 does not have a local security database account.
  964.      */
  965.  
  966. #define NELOG_NetlogonAuthNoTrustSamAccount     (ERRLOG2_BASE + 21)
  967.     /*
  968.      * The session setup to the Windows NT or Windows 2000 Domain Controller %1 for the domain %2
  969.      * failed because the Domain Controller does not have an account
  970.      * for the computer %3.
  971.      */
  972.  
  973. #define NELOG_NetlogonServerAuthFailed          (ERRLOG2_BASE + 22)
  974.     /*
  975.      * The session setup from the computer %1 failed to authenticate.
  976.      * The name of the account referenced in the security database is
  977.      * %2.  The following error occurred: %n%3
  978.      */
  979.  
  980. #define NELOG_NetlogonServerAuthNoTrustSamAccount (ERRLOG2_BASE + 23)
  981.     /*
  982.      * The session setup from the computer %1 failed because there is
  983.      * no trust account in the security database for this computer. The name of
  984.      * the account referenced in the security database is %2.
  985.      */
  986.  
  987. //
  988. // General log messages for NT services.
  989. //
  990.  
  991. #define NELOG_FailedToRegisterSC                  (ERRLOG2_BASE + 24)
  992.     /*
  993.      * Could not register control handler with service controller %1.
  994.      */
  995.  
  996. #define NELOG_FailedToSetServiceStatus            (ERRLOG2_BASE + 25)
  997.     /*
  998.      * Could not set service status with service controller %1.
  999.      */
  1000.  
  1001. #define NELOG_FailedToGetComputerName             (ERRLOG2_BASE + 26)
  1002.     /*
  1003.      * Could not find the computer name %1.
  1004.      */
  1005.  
  1006. #define NELOG_DriverNotLoaded                     (ERRLOG2_BASE + 27)
  1007.     /*
  1008.      * Could not load %1 device driver.
  1009.      */
  1010.  
  1011. #define NELOG_NoTranportLoaded                    (ERRLOG2_BASE + 28)
  1012.     /*
  1013.      * Could not load any transport.
  1014.      */
  1015.  
  1016. //
  1017. // More Netlogon service events
  1018. //
  1019.  
  1020. #define NELOG_NetlogonFailedDomainDelta           (ERRLOG2_BASE + 29)
  1021.     /*
  1022.      * Replication of the %1 Domain Object "%2" from primary domain controller
  1023.      * %3 failed with the following error: %n%4
  1024.      */
  1025.  
  1026. #define NELOG_NetlogonFailedGlobalGroupDelta      (ERRLOG2_BASE + 30)
  1027.     /*
  1028.      * Replication of the %1 Global Group "%2" from primary domain controller
  1029.      * %3 failed with the following error: %n%4
  1030.      */
  1031.  
  1032. #define NELOG_NetlogonFailedLocalGroupDelta       (ERRLOG2_BASE + 31)
  1033.     /*
  1034.      * Replication of the %1 Local Group "%2" from primary domain controller
  1035.      * %3 failed with the following error: %n%4
  1036.      */
  1037.  
  1038. #define NELOG_NetlogonFailedUserDelta             (ERRLOG2_BASE + 32)
  1039.     /*
  1040.      * Replication of the %1 User "%2" from primary domain controller
  1041.      * %3 failed with the following error: %n%4
  1042.      */
  1043.  
  1044. #define NELOG_NetlogonFailedPolicyDelta           (ERRLOG2_BASE + 33)
  1045.     /*
  1046.      * Replication of the %1 Policy Object "%2" from primary domain controller
  1047.      * %3 failed with the following error: %n%4
  1048.      */
  1049.  
  1050. #define NELOG_NetlogonFailedTrustedDomainDelta    (ERRLOG2_BASE + 34)
  1051.     /*
  1052.      * Replication of the %1 Trusted Domain Object "%2" from primary domain controller
  1053.      * %3 failed with the following error: %n%4
  1054.      */
  1055.  
  1056. #define NELOG_NetlogonFailedAccountDelta          (ERRLOG2_BASE + 35)
  1057.     /*
  1058.      * Replication of the %1 Account Object "%2" from primary domain controller
  1059.      * %3 failed with the following error: %n%4
  1060.      */
  1061.  
  1062. #define NELOG_NetlogonFailedSecretDelta           (ERRLOG2_BASE + 36)
  1063.     /*
  1064.      * Replication of the %1 Secret "%2" from primary domain controller
  1065.      * %3 failed with the following error: %n%4
  1066.      */
  1067.  
  1068. #define NELOG_NetlogonSystemError                 (ERRLOG2_BASE + 37)
  1069.     /*
  1070.     * The system returned the following unexpected error code: %n%1
  1071.     */
  1072.  
  1073. #define NELOG_NetlogonDuplicateMachineAccounts    (ERRLOG2_BASE + 38)
  1074.     /*
  1075.     * Netlogon has detected two machine accounts for server "%1".
  1076.     * The server can be either a Windows 2000 Server that is a member of the
  1077.     * domain or the server can be a LAN Manager server with an account in the
  1078.     * SERVERS global group.  It cannot be both.
  1079.     */
  1080.  
  1081. #define NELOG_NetlogonTooManyGlobalGroups         (ERRLOG2_BASE + 39)
  1082.     /*
  1083.     * This domain has more global groups than can be replicated to a LanMan
  1084.     * BDC.  Either delete some of your global groups or remove the LanMan
  1085.     * BDCs from the domain.
  1086.     */
  1087.  
  1088. #define NELOG_NetlogonBrowserDriver               (ERRLOG2_BASE + 40)
  1089.     /*
  1090.     * The Browser driver returned the following error to Netlogon: %n%1
  1091.     */
  1092.  
  1093. #define NELOG_NetlogonAddNameFailure              (ERRLOG2_BASE + 41)
  1094.     /*
  1095.     * Netlogon could not register the %1<1B> name for the following reason: %n%2
  1096.     */
  1097.  
  1098. //
  1099. //  More Remoteboot service events.
  1100. //
  1101. #define NELOG_RplMessages                         (ERRLOG2_BASE + 42)
  1102.     /*
  1103.     * Service failed to retrieve messages needed to boot remote boot clients.
  1104.     */
  1105.  
  1106. #define NELOG_RplXnsBoot                          (ERRLOG2_BASE + 43)
  1107.     /*
  1108.     * Service experienced a severe error and can no longer provide remote boot
  1109.     * for 3Com 3Start remote boot clients.
  1110.     */
  1111.  
  1112. #define NELOG_RplSystem                           (ERRLOG2_BASE + 44)
  1113.     /*
  1114.     * Service experienced a severe system error and will shut itself down.
  1115.     */
  1116.  
  1117. #define NELOG_RplWkstaTimeout                     (ERRLOG2_BASE + 45)
  1118.     /*
  1119.     * Client with computer name %1 failed to acknowledge receipt of the
  1120.     * boot data.  Remote boot of this client was not completed.
  1121.     */
  1122.  
  1123. #define NELOG_RplWkstaFileOpen                    (ERRLOG2_BASE + 46)
  1124.     /*
  1125.     * Client with computer name %1 was not booted due to an error in opening
  1126.     * file %2.
  1127.     */
  1128.  
  1129. #define NELOG_RplWkstaFileRead                    (ERRLOG2_BASE + 47)
  1130.     /*
  1131.     * Client with computer name %1 was not booted due to an error in reading
  1132.     * file %2.
  1133.     */
  1134.  
  1135. #define NELOG_RplWkstaMemory                      (ERRLOG2_BASE + 48)
  1136.     /*
  1137.     * Client with computer name %1 was not booted due to insufficent memory
  1138.     * at the remote boot server.
  1139.     */
  1140.  
  1141. #define NELOG_RplWkstaFileChecksum                (ERRLOG2_BASE + 49)
  1142.     /*
  1143.     * Client with computer name %1 will be booted without using checksums
  1144.     * because checksum for file %2 could not be calculated.
  1145.     */
  1146.  
  1147. #define NELOG_RplWkstaFileLineCount               (ERRLOG2_BASE + 50)
  1148.     /*
  1149.     * Client with computer name %1 was not booted due to too many lines in
  1150.     * file %2.
  1151.     */
  1152.  
  1153. #define NELOG_RplWkstaBbcFile                     (ERRLOG2_BASE + 51)
  1154.     /*
  1155.     * Client with computer name %1 was not booted because the boot block
  1156.     * configuration file %2 for this client does not contain boot block
  1157.     * line and/or loader line.
  1158.     */
  1159.  
  1160. #define NELOG_RplWkstaFileSize                    (ERRLOG2_BASE + 52)
  1161.     /*
  1162.     * Client with computer name %1 was not booted due to a bad size of
  1163.     * file %2.
  1164.     */
  1165.  
  1166. #define NELOG_RplWkstaInternal                    (ERRLOG2_BASE + 53)
  1167.     /*
  1168.     * Client with computer name %1 was not booted due to remote boot
  1169.     * service internal error.
  1170.     */
  1171.  
  1172. #define NELOG_RplWkstaWrongVersion                (ERRLOG2_BASE + 54)
  1173.     /*
  1174.     * Client with computer name %1 was not booted because file %2 has an
  1175.     * invalid boot header.
  1176.     */
  1177.  
  1178. #define NELOG_RplWkstaNetwork                     (ERRLOG2_BASE + 55)
  1179.     /*
  1180.     * Client with computer name %1 was not booted due to network error.
  1181.     */
  1182.  
  1183. #define NELOG_RplAdapterResource                  (ERRLOG2_BASE + 56)
  1184.     /*
  1185.     * Client with adapter id %1 was not booted due to lack of resources.
  1186.     */
  1187.  
  1188. #define NELOG_RplFileCopy                         (ERRLOG2_BASE + 57)
  1189.     /*
  1190.     * Service experienced error copying file or directory %1.
  1191.     */
  1192.  
  1193. #define NELOG_RplFileDelete                       (ERRLOG2_BASE + 58)
  1194.     /*
  1195.     * Service experienced error deleting file or directory %1.
  1196.     */
  1197.  
  1198. #define NELOG_RplFilePerms                        (ERRLOG2_BASE + 59)
  1199.     /*
  1200.     * Service experienced error setting permissions on file or directory %1.
  1201.     */
  1202. #define NELOG_RplCheckConfigs                     (ERRLOG2_BASE + 60)
  1203.     /*
  1204.     * Service experienced error evaluating RPL configurations.
  1205.     */
  1206. #define NELOG_RplCreateProfiles                   (ERRLOG2_BASE + 61)
  1207.     /*
  1208.     * Service experienced error creating RPL profiles for all configurations.
  1209.     */
  1210. #define NELOG_RplRegistry                         (ERRLOG2_BASE + 62)
  1211.     /*
  1212.     * Service experienced error accessing registry.
  1213.     */
  1214. #define NELOG_RplReplaceRPLDISK                   (ERRLOG2_BASE + 63)
  1215.     /*
  1216.     * Service experienced error replacing possibly outdated RPLDISK.SYS.
  1217.     */
  1218. #define NELOG_RplCheckSecurity                    (ERRLOG2_BASE + 64)
  1219.     /*
  1220.     * Service experienced error adding security accounts or setting
  1221.     * file permissions.  These accounts are the RPLUSER local group
  1222.     * and the user accounts for the individual RPL workstations.
  1223.     */
  1224. #define NELOG_RplBackupDatabase                   (ERRLOG2_BASE + 65)
  1225.     /*
  1226.     * Service failed to back up its database.
  1227.     */
  1228. #define NELOG_RplInitDatabase                     (ERRLOG2_BASE + 66)
  1229.     /*
  1230.     * Service failed to initialize from its database.  The database may be
  1231.     * missing or corrupted.  Service will attempt restoring the database
  1232.     * from the backup.
  1233.     */
  1234. #define NELOG_RplRestoreDatabaseFailure           (ERRLOG2_BASE + 67)
  1235.     /*
  1236.     * Service failed to restore its database from the backup.  Service
  1237.     * will not start.
  1238.     */
  1239. #define NELOG_RplRestoreDatabaseSuccess           (ERRLOG2_BASE + 68)
  1240.     /*
  1241.     * Service sucessfully restored its database from the backup.
  1242.     */
  1243. #define NELOG_RplInitRestoredDatabase             (ERRLOG2_BASE + 69)
  1244.     /*
  1245.     * Service failed to initialize from its restored database.  Service
  1246.     * will not start.
  1247.     */
  1248.  
  1249. //
  1250. // More Netlogon and RPL service events
  1251. //
  1252. #define NELOG_NetlogonSessionTypeWrong            (ERRLOG2_BASE + 70)
  1253.     /*
  1254.      * The session setup to the Windows NT or Windows 2000 Domain Controller %1 from computer
  1255.      * %2 using account %4 failed.  %2 is declared to be a BDC in domain %3.
  1256.      * However, %2 tried to connect as either a DC in a trusted domain,
  1257.      * a member workstation in domain %3, or as a server in domain %3.
  1258.      * Use the Active Directory Users and Computers tool or Server Manager to remove the BDC account for %2.
  1259.      */
  1260. #define NELOG_RplUpgradeDBTo40                    (ERRLOG2_BASE + 71)
  1261.     /*
  1262.     * The Remoteboot database was in NT 3.5 / NT 3.51 format and NT is
  1263.     * attempting to convert it to NT 4.0 format. The JETCONV converter
  1264.     * will write to the Application event log when it is finished.
  1265.     */
  1266. #define NELOG_NetlogonLanmanBdcsNotAllowed        (ERRLOG2_BASE + 72)
  1267.     /*
  1268.      * Global group SERVERS exists in domain %1 and has members.
  1269.      * This group defines Lan Manager BDCs in the domain.
  1270.      * Lan Manager BDCs are not permitted in NT domains.
  1271.      */
  1272. #define NELOG_NetlogonNoDynamicDns                (ERRLOG2_BASE + 73)
  1273.     /*
  1274.      * The DNS server for this DC does not support dynamic DNS.
  1275.      * Add the DNS records from the file '%SystemRoot%\System32\Config\netlogon.dns'
  1276.      * to the DNS server serving the domain referenced in that file.
  1277.      */
  1278. #define NELOG_NetlogonDynamicDnsRegisterFailure   (ERRLOG2_BASE + 74)
  1279.     /*
  1280.      * Registration of the DNS record '%1' failed with the following error: %n%2
  1281.      */
  1282.  
  1283. #define NELOG_NetlogonDynamicDnsDeregisterFailure (ERRLOG2_BASE + 75)
  1284.     /*
  1285.      * Deregistration of the DNS record '%1' failed with the following error: %n%2
  1286.      */
  1287.  
  1288. #define NELOG_NetlogonFailedFileCreate            (ERRLOG2_BASE + 76)
  1289.     /*
  1290.      * Failed to create/open file %1 with the following error: %n%2
  1291.      */
  1292.  
  1293. #define NELOG_NetlogonGetSubnetToSite             (ERRLOG2_BASE + 77)
  1294.     /*
  1295.      * Netlogon got the following error while trying to get the subnet to site
  1296.      * mapping information from the DS: %n%1
  1297.      */
  1298.  
  1299. #define NELOG_NetlogonNoSiteForClient              (ERRLOG2_BASE + 78)
  1300.     /*
  1301.      * '%1' tried to determine its site by looking up its IP address ('%2')
  1302.      * in the Configuration\Sites\Subnets container in the DS.  No subnet matched
  1303.      * the IP address.  Consider adding a subnet object for this IP address.
  1304.      */
  1305.  
  1306. #define NELOG_NetlogonBadSiteName                  (ERRLOG2_BASE + 79)
  1307.     /*
  1308.      * The site name for this computer is '%1'.  That site name is not a valid
  1309.      * site name.  A site name must be a valid DNS label.
  1310.      * Rename the site to be a valid name.
  1311.      */
  1312.  
  1313. #define NELOG_NetlogonBadSubnetName                (ERRLOG2_BASE + 80)
  1314.     /*
  1315.      * The subnet object '%1' appears in the Configuration\Sites\Subnets
  1316.      * container in the DS.  The name is not syntactically valid.  The valid
  1317.      * syntax is xx.xx.xx.xx/yy where xx.xx.xx.xx is a valid IP subnet number
  1318.      * and yy is the number of bits in the subnet mask.
  1319.      *
  1320.      * Correct the name of the subnet object.
  1321.      */
  1322.  
  1323. #define NELOG_NetlogonDynamicDnsServerFailure      (ERRLOG2_BASE + 81)
  1324.     /*
  1325.      * Dynamic registration or deregistration of one or more DNS records failed because no DNS servers are available.
  1326.      */
  1327.  
  1328. #define NELOG_NetlogonDynamicDnsFailure            (ERRLOG2_BASE + 82)
  1329.     /*
  1330.      * Dynamic registration or deregistration of one or more DNS records failed with the following error: %n%1
  1331.      */
  1332.  
  1333. #define NELOG_NetlogonRpcCallCancelled             (ERRLOG2_BASE + 83)
  1334.     /*
  1335.      * The session setup to the Windows NT or Windows 2000 Domain Controller %1 for the domain %2
  1336.      * is not responsive.  The current RPC call from Netlogon on \\%3 to %1 has been cancelled.
  1337.      */
  1338.  
  1339. #define NELOG_NetlogonDcSiteCovered                (ERRLOG2_BASE + 84)
  1340.     /*
  1341.      * Site '%2' does not have any Domain Controllers for domain '%3'.
  1342.      * Domain Controllers in site '%1' have been automatically
  1343.      * selected to cover site '%2' based on configured Directory Server
  1344.      * replication costs.
  1345.      */
  1346.  
  1347. #define NELOG_NetlogonDcSiteNotCovered             (ERRLOG2_BASE + 85)
  1348.     /*
  1349.      * This Domain Controller no longer automatically covers site '%1'.
  1350.      */
  1351.  
  1352. #define NELOG_NetlogonGcSiteCovered                (ERRLOG2_BASE + 86)
  1353.     /*
  1354.      * Site '%2' does not have any Global Catalog servers.
  1355.      * Global Catalog servers in site '%1' have been automatically
  1356.      * selected to cover site '%2' based on configured Directory Server
  1357.      * replication costs.
  1358.      */
  1359.  
  1360. #define NELOG_NetlogonGcSiteNotCovered             (ERRLOG2_BASE + 87)
  1361.     /*
  1362.      * This Global Catalog server no longer automatically covers site '%1'.
  1363.      */
  1364.  
  1365. #define NELOG_NetlogonFailedSpnUpdate              (ERRLOG2_BASE + 88)
  1366.     /*
  1367.      * Attemp to update Service Principal Name (SPN) of the computer object 
  1368.      * in Active Directory failed.  The following error occurred: %n%1
  1369.      */
  1370.  
  1371. #define NELOG_NetlogonFailedDnsHostNameUpdate      (ERRLOG2_BASE + 89)
  1372.     /*
  1373.      * Attemp to update DNS Host Name of the computer object 
  1374.      * in Active Directory failed.  The following error occurred: %n%1
  1375.      */
  1376.  
  1377. #ifdef __cplusplus
  1378. }
  1379. #endif
  1380.  
  1381. #pragma option pop /*P_O_Pop*/
  1382. #endif // _LMERRLOG_
  1383.