diff options
author | Sumit Bose <sbose@redhat.com> | 2012-08-24 14:46:05 +0200 |
---|---|---|
committer | Martin Kosek <mkosek@redhat.com> | 2012-09-06 09:24:58 +0200 |
commit | 973aad9db3a2a5e4cdd9d0c300e9ae1a826c1b41 (patch) | |
tree | 781e7e613c32bae99d5f0b9a5fe6095d8fcd14d2 /util/ipa_pwd.h | |
parent | d90fb0a590211dae6177e1a7e39cd661269a85a4 (diff) | |
download | freeipa-973aad9db3a2a5e4cdd9d0c300e9ae1a826c1b41.tar.gz freeipa-973aad9db3a2a5e4cdd9d0c300e9ae1a826c1b41.tar.xz freeipa-973aad9db3a2a5e4cdd9d0c300e9ae1a826c1b41.zip |
Make encode_ntlm_keys() public
Diffstat (limited to 'util/ipa_pwd.h')
-rw-r--r-- | util/ipa_pwd.h | 11 |
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 |