mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 06:40:48 +00:00
Changing account status strings for consistency. Adding two new account states, LOCKED_VALID & LOCKED_DISABLED.
This commit is contained in:
parent
726022d23f
commit
198fd3b3bb
1 changed files with 10 additions and 7 deletions
|
|
@ -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',
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue