summaryrefslogtreecommitdiffstats
path: root/private/inc/alertmsg.h
blob: bb7fd926afbb663fc09bf16bdcc1920042601c34 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
/*++ BUILD Version: 0001    // Increment this if a change has global effects

Copyright (c) 1991-1993  Microsoft Corporation

Module Name:

    alertmsg.h


Abstract:

    This file contains the number and text of alert messages.

Author:

    Ported LAN Manager 2.0

[Environment:]

    User Mode - Win32

[Notes:]

    This file is included by lmalert.h

Revision History:

    22-July-1991 ritaw
        Converted to NT style.
--*/

#ifndef _ALERTMSG_
#define _ALERTMSG_


//
//      ALERT_BASE is the base of alert log codes.
//

#define ALERT_BASE      3000

// Entries between 3000-3050 are full. So, we created ALERT2_BASE
// for future expansion.
//


#define ALERT_Disk_Full         (ALERT_BASE + 0)
    /*
     *  Drive %1 is nearly full. %2 bytes are available.
     *  Please warn users and delete unneeded files.
     */

#define ALERT_ErrorLog          (ALERT_BASE + 1)
    /*
     *  %1 errors were logged in the last %2 minutes.
     *  Please review the server's error log.
     */

#define ALERT_NetIO             (ALERT_BASE + 2)
    /*
     *  %1 network errors occurred in the last %2 minutes.
     *  Please review the server's error log.  The server and/or
     *  network hardware may need service.
     */

#define ALERT_Logon             (ALERT_BASE + 3)
    /*
     *  There were %1 bad password attempts in the last %2 minutes.
     *  Please review the server's audit trail.
     */

#define ALERT_Access            (ALERT_BASE + 4)
    /*
     *  There were %1 access-denied errors in the last %2 minutes.
     *  Please review the server's audit trail.
     */

#define ALERT_ErrorLogFull      (ALERT_BASE + 6)
    /*
     *  The error log is full.  No errors will be logged until
     *  the file is cleared or the limit is raised.
     */

#define ALERT_ErrorLogFull_W    (ALERT_BASE + 7)
    /*
     *  The error log is 80% full.
     */

#define ALERT_AuditLogFull      (ALERT_BASE + 8)
    /*
     *  The audit log is full.  No audit entries will be logged
     *  until the file is cleared or the limit is raised.
     */

#define ALERT_AuditLogFull_W    (ALERT_BASE + 9)
    /*
     *  The audit log is 80% full.
     */

#define ALERT_CloseBehindError  (ALERT_BASE + 10)
    /*
     *  An error occurred closing file %1.
     *  Please check the file to make sure it is not corrupted.
     */

#define ALERT_AdminClose        (ALERT_BASE + 11)
    /*
     * The administrator has closed %1.
     */

#define ALERT_AccessShareSec    (ALERT_BASE + 12)
    /*
     *  There were %1 access-denied errors in the last %2 minutes.
     */

#define ALERT_PowerOut          (ALERT_BASE + 20)
    /*
     * A power failure was detected at %1.  The server has been paused.
     */

#define ALERT_PowerBack         (ALERT_BASE + 21)
    /*
     * Power has been restored at %1.  The server is no longer paused.
     */

#define ALERT_PowerShutdown     (ALERT_BASE + 22)
    /*
     * The UPS service is starting shut down at %1 due to low battery.
     */

#define ALERT_CmdFileConfig     (ALERT_BASE + 23)
    /*
     * There is a problem with a configuration of user specified
     * shut down command file.  The UPS service started anyway.
     */

#define ALERT_HotFix            (ALERT_BASE + 25)
    /*
     * A defective sector on drive %1 has been replaced (hotfixed).
     * No data was lost.  You should run CHKDSK soon to restore full
     * performance and replenish the volume's spare sector pool.
     *
     * The hotfix occurred while processing a remote request.
     */

#define ALERT_HardErr_Server    (ALERT_BASE + 26)
    /*
     * A disk error occurred on the HPFS volume in drive %1.
     * The error occurred while processing a remote request.
     */

#define ALERT_LocalSecFail1     (ALERT_BASE + 27)
    /*
     * The user accounts database (NET.ACC) is corrupted.  The local security
     * system is replacing the corrupted NET.ACC with the backup
     * made on %1 at %2.
     * Any updates made to the database after this time are lost.
     *
     */

#define ALERT_LocalSecFail2     (ALERT_BASE + 28)
    /*
     * The user accounts database (NET.ACC) is missing. The local
     * security system is restoring the backup database
     * made on %1 at %2.
     * Any updates made to the database after this time are lost.
     *
     */

#define ALERT_LocalSecFail3     (ALERT_BASE + 29)
    /*
     * Local security could not be started because the user accounts database
     * (NET.ACC) was missing or corrupted, and no usable backup
     * database was present.
     *
     * THE SYSTEM IS NOT SECURE.
     *
     */


#define ALERT_ReplCannotMasterDir   (ALERT_BASE + 30)
    /*
     *The server cannot export directory %1, to client %2.
     * It is exported from another server.
     */

#define ALERT_ReplUpdateError       (ALERT_BASE + 31)
    /*
     * The replication server could not update directory %2 from the source
     * on %3 due to error %1.
     */

#define ALERT_ReplLostMaster        (ALERT_BASE + 32)
    /*
     * Master %1 did not send an update notice for directory %2 at the expected
     * time.
     */

#define ALERT_AcctLimitExceeded     (ALERT_BASE + 33)
    /*
     * User %1 has exceeded account limitation %2 on server %3.
     */

#define ALERT_NetlogonFailedPrimary (ALERT_BASE + 34)
    /*
     * The primary domain controller for domain %1 failed.
     */

#define ALERT_NetlogonAuthDCFail    (ALERT_BASE + 35)
    /*
     * Failed to authenticate with %2, a Windows NT Domain Controller for
     * domain %1.
     */

#define ALERT_ReplLogonFailed       (ALERT_BASE + 36)
    /*
     * The replicator attempted to log on at %2 as %1 and failed.
     */

#define ALERT_Logon_Limit           (ALERT_BASE + 37)
    /* @I *LOGON HOURS %0 */

#define ALERT_ReplAccessDenied      (ALERT_BASE + 38)
    /*
     *  Replicator could not access %2
     *  on %3 due to system error %1.
     */

#define ALERT_ReplMaxFiles          (ALERT_BASE + 39)
    /*
     *  Replicator limit for files in a directory has been exceeded.
     */

#define ALERT_ReplMaxTreeDepth       (ALERT_BASE + 40)
    /*
     *  Replicator limit for tree depth has been exceeded.
     */

#define ALERT_ReplUserCurDir         (ALERT_BASE + 41)
    /*
     * The replicator cannot update directory %1. It has tree integrity
     * and is the current directory for some process.
     */

#define ALERT_ReplNetErr            (ALERT_BASE + 42)
    /*
     *  Network error %1 occurred.
     */

#define ALERT_ReplSysErr            (ALERT_BASE + 45)
    /*
     *  System error %1 occurred.
     */

#define ALERT_ReplUserLoged          (ALERT_BASE + 46)
    /*
     *  Cannot log on. User is currently logged on and argument TRYUSER
     *  is set to NO.
     */

#define ALERT_ReplBadImport          (ALERT_BASE + 47)
    /*
     *  IMPORT path %1 cannot be found.
     */

#define ALERT_ReplBadExport          (ALERT_BASE + 48)
    /*
     *  EXPORT path %1 cannot be found.
     */

#define ALERT_ReplDataChanged  (ALERT_BASE + 49)
    /*
     *  Replicated data has changed in directory %1.
     */

#define ALERT_ReplSignalFileErr           (ALERT_BASE + 50)
    /*
     *  Replicator failed to update signal file in directory %2 due to
     *  %1 system error.
     */

//
// IMPORTANT - (ALERT_BASE + 50) is equal to SERVICE_BASE.
//             Do not add any errors beyond this point!!!
//
//

#define ALERT2_BASE      5500

#define ALERT_UpdateLogWarn          (ALERT2_BASE + 0)
    /*
     * The update log on %1 is over 80% capacity. The primary
     * domain controller %2 is not retrieving the updates.
     */

#define ALERT_UpdateLogFull          (ALERT2_BASE + 1)
    /*
     * The update log on %1 is full, and no further updates
     * can be added until the primary domain controller %2
     * retrieves the updates.
     */


#define ALERT_NetlogonTimeDifference (ALERT2_BASE + 2)
    /*
     * The time difference with the primary domain controller %1
     * exceeds the maximum allowed skew of %2 seconds.
     */

#define ALERT_AccountLockout         (ALERT2_BASE + 3)
    /*
     * The account of user %1 has been locked out on %2
     * due to %3 bad password attempts.
     */

#define ALERT_ELF_LogFileNotOpened   (ALERT2_BASE + 4)
    /*
     * The %1 log file cannot be opened.
     */

#define ALERT_ELF_LogFileCorrupt     (ALERT2_BASE + 5)
    /*
     * The %1 log file is corrupted and will be cleared.
     */

#define ALERT_ELF_DefaultLogCorrupt  (ALERT2_BASE + 6)
    /*
     * The Application log file could not be opened.  %1 will be used as the
     * default log file.
     */

#define ALERT_ELF_LogOverflow        (ALERT2_BASE + 7)
    /*
     * The %1 log file is full.
     */

#define ALERT_NetlogonFullSync       (ALERT2_BASE + 8)
    /*
     * The security database full synchronization has been initiated by the server %1.
     */

#define ALERT_SC_IsLastKnownGood     (ALERT2_BASE + 9)
    /*
     * Windows NT could not be started as configured.
     * A previous working configuration was used instead.
     */

#define ALERT_UnhandledException     (ALERT2_BASE + 10)
    /*
     * The exception 0x%1 occurred in the application %2 at location 0x%3.
     */

#define ALERT_NetLogonMismatchSIDInMsg     (ALERT2_BASE + 11)
    /*
     * The servers %1 and  %3 both claim to be an NT Domain Controller for
     * the %2 domain. One of the servers should be removed from the
     * domain because the servers have different security identifiers
     * (SID).
     */


#define ALERT_NetLogonDuplicatePDC         (ALERT2_BASE + 12)
    /*
     * The server %1 and %2 both claim to be the primary domain
     * controller for the %3 domain. One of the servers should be
     * demoted or removed from the domain.
     */

#define ALERT_NetLogonUntrustedClient      (ALERT2_BASE + 13)
    /*
     * The computer %1 tried to connect to the server %2 using
     * the trust relationship established by the %3 domain. However, the
     * computer lost the correct security identifier (SID)
     * when the domain was reconfigured. Reestablish the trust
     * relationship.
     */

#define ALERT_BugCheck               (ALERT2_BASE + 14)
    /*
     * The computer has rebooted from a bugcheck.  The bugcheck was:
     * %1.
     * %2
     * A full dump was not saved.
     */

#define ALERT_BugCheckSaved          (ALERT2_BASE + 15)
    /*
     * The computer has rebooted from a bugcheck.  The bugcheck was:
     * %1.
     * %2
     * A dump was saved in: %3.
     */

#define ALERT_NetLogonSidConflict      (ALERT2_BASE + 16)
    /*
     * The computer or domain %1 trusts domain %2.  (This may be an indirect
     * trust.)  However, %1 and %2 have the same machine security identifier
     * (SID).  NT should be re-installed on either %1 or %2.
     */

#endif // ifdef _ALERTMSG_