Skip to content

Commit

Permalink
adds another common error code.
Browse files Browse the repository at this point in the history
  • Loading branch information
stgmsa committed Dec 20, 2024
1 parent 48fa3cc commit d11214c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/pyntlm_auth/rpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ def init_secure_connection():
if error_code == 0xc0000022:
log.warning("Are you using a wrong password for a machine account?")
log.warning("If you are in a cluster, did you re-used the machine account and reset with another password?")
if error_code == 0xc0000122:
log.warning(f"This is usually due to a incorrect AD FQDN. The current AD FQDN you are using is: {server_name}")

log.debug("Parameter used in establish secure channel are:")
log.debug(f" lp.netbios_name: {netbios_name}")
Expand Down

0 comments on commit d11214c

Please sign in to comment.