diff options
author | Simo Sorce <ssorce@redhat.com> | 2010-10-01 12:13:43 -0400 |
---|---|---|
committer | Simo Sorce <ssorce@redhat.com> | 2010-10-05 08:52:43 -0400 |
commit | fea9181eafc0ab797c7909d33b8626db6cb4c09c (patch) | |
tree | d97961e2673671cf983d5a5930b36d5e97a22025 /daemons/ipa-slapi-plugins | |
parent | 9ca7ea71b1bacdc2c31076f155b157945406169d (diff) | |
download | freeipa-fea9181eafc0ab797c7909d33b8626db6cb4c09c.tar.gz freeipa-fea9181eafc0ab797c7909d33b8626db6cb4c09c.tar.xz freeipa-fea9181eafc0ab797c7909d33b8626db6cb4c09c.zip |
pwd-plugin: Remove 14 chars limitation from the NT hash
Diffstat (limited to 'daemons/ipa-slapi-plugins')
-rw-r--r-- | daemons/ipa-slapi-plugins/ipa-pwd-extop/ipapwd_encoding.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/daemons/ipa-slapi-plugins/ipa-pwd-extop/ipapwd_encoding.c b/daemons/ipa-slapi-plugins/ipa-pwd-extop/ipapwd_encoding.c index e6468a515..1b1e6d914 100644 --- a/daemons/ipa-slapi-plugins/ipa-pwd-extop/ipapwd_encoding.c +++ b/daemons/ipa-slapi-plugins/ipa-pwd-extop/ipapwd_encoding.c @@ -717,10 +717,6 @@ static int encode_ntlm_keys(char *newPasswd, /* get the final ucs2 string length */ sl -= ol; - /* we are interested only in the first 14 wchars for the nt password */ - if (sl > 28) { - sl = 28; - } ret = MD4_Init(&md4ctx); if (ret == 0) { |