summaryrefslogtreecommitdiffstats
path: root/util/ipa_pwd.h
diff options
context:
space:
mode:
Diffstat (limited to 'util/ipa_pwd.h')
-rw-r--r--util/ipa_pwd.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/util/ipa_pwd.h b/util/ipa_pwd.h
index 2e537753e..00de889ff 100644
--- a/util/ipa_pwd.h
+++ b/util/ipa_pwd.h
@@ -71,4 +71,15 @@ int ipapwd_generate_new_history(char *password,
char ***new_pwd_history,
int *new_pwd_hlen);
+struct ntlm_keys {
+ uint8_t lm[16];
+ uint8_t nt[16];
+};
+
+int encode_ntlm_keys(char *newPasswd,
+ char *upperPasswd,
+ bool do_lm_hash,
+ bool do_nt_hash,
+ struct ntlm_keys *keys);
+
#endif