From fea9181eafc0ab797c7909d33b8626db6cb4c09c Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Fri, 1 Oct 2010 12:13:43 -0400 Subject: pwd-plugin: Remove 14 chars limitation from the NT hash --- daemons/ipa-slapi-plugins/ipa-pwd-extop/ipapwd_encoding.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'daemons') 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) { -- cgit