1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-02 04:49:02 +00:00

Changing account status strings for consistency. Adding two new account states, LOCKED_VALID & LOCKED_DISABLED.

This commit is contained in:
tomsellers
2011-09-11 21:23:34 +00:00
parent 726022d23f
commit 198fd3b3bb

View File

@@ -107,16 +107,19 @@ State = {
EXPIRED = 32,
TIME_RESTRICTED = 64,
HOST_RESTRICTED = 128,
LOCKED_VALID = 256,
}
StateMsg = {
[State.LOCKED] = 'Account is locked',
[State.VALID] = 'Account is valid',
[State.DISABLED] = 'Account is disabled',
[State.CHANGEPW] = 'Password needs to be changed at next logon',
[State.EXPIRED] = 'Account has expired',
[State.TIME_RESTRICTED] = 'Account has logon time restrictions',
[State.HOST_RESTRICTED] = 'Account has logon host restrictions',
[State.LOCKED] = 'Account is locked',
[State.VALID] = 'Valid credentials',
[State.DISABLED] = 'Account is disabled',
[State.CHANGEPW] = 'Valid credentials, password must be changed at next logon',
[State.EXPIRED] = 'Valid credentials, account expired',
[State.TIME_RESTRICTED] = 'Valid credentials, account cannot log in at current time',
[State.HOST_RESTRICTED] = 'Valid credentials, account cannot log in from current host',
[State.LOCKED_VALID] = 'Valid credentials, account locked',
[State.DISABLED_VALID] = 'Valid credentials, account disabled',
}