Add STATUS_NO_SUCH_FILE to success status

When the remote server returns a STATUS_NO_SUCH_FILE message, cme
interprets the login credentials as wrong. However, impackets
smbserver.py proves that this can be wrong.
main
TNeitzel 2022-03-03 21:52:37 +01:00
parent b1308da93e
commit 4dc4fd72c2
1 changed files with 2 additions and 1 deletions

View File

@ -51,7 +51,8 @@ smb_error_status = [
"STATUS_LOGON_TYPE_NOT_GRANTED",
"STATUS_PASSWORD_EXPIRED",
"STATUS_PASSWORD_MUST_CHANGE",
"STATUS_ACCESS_DENIED"
"STATUS_ACCESS_DENIED",
"STATUS_NO_SUCH_FILE"
]
def requires_smb_server(func):