Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1692 lines
58 KiB

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