From 973aad9db3a2a5e4cdd9d0c300e9ae1a826c1b41 Mon Sep 17 00:00:00 2001 From: Sumit Bose Date: Fri, 24 Aug 2012 14:46:05 +0200 Subject: Make encode_ntlm_keys() public --- util/ipa_pwd.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'util/ipa_pwd.h') 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 -- cgit