summaryrefslogtreecommitdiffstats
path: root/daemons
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2010-10-01 12:13:43 -0400
committerSimo Sorce <ssorce@redhat.com>2010-10-05 08:52:43 -0400
commitfea9181eafc0ab797c7909d33b8626db6cb4c09c (patch)
treed97961e2673671cf983d5a5930b36d5e97a22025 /daemons
parent9ca7ea71b1bacdc2c31076f155b157945406169d (diff)
downloadfreeipa-fea9181eafc0ab797c7909d33b8626db6cb4c09c.tar.gz
freeipa-fea9181eafc0ab797c7909d33b8626db6cb4c09c.tar.xz
freeipa-fea9181eafc0ab797c7909d33b8626db6cb4c09c.zip
pwd-plugin: Remove 14 chars limitation from the NT hash
Diffstat (limited to 'daemons')
-rw-r--r--daemons/ipa-slapi-plugins/ipa-pwd-extop/ipapwd_encoding.c4
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) {