From: Kurt Zeilenga Date: Wed, 25 Sep 2002 16:08:16 +0000 (+0000) Subject: NT/NS MTA MD5 fix X-Git-Tag: OPENLDAP_REL_ENG_2_1_6~40 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6bb8a8788c7910aeb84982b6586a9fa5bd7a1fe3;p=openldap NT/NS MTA MD5 fix --- diff --git a/libraries/liblutil/passwd.c b/libraries/liblutil/passwd.c index 50f526f04e..a2235c45f5 100644 --- a/libraries/liblutil/passwd.c +++ b/libraries/liblutil/passwd.c @@ -125,8 +125,8 @@ static int chk_lanman( const struct berval *cred ); #endif -#ifdef SLAPD_NT_MTA_MD5 -static int chk_nt_mta_md5( +#ifdef SLAPD_NS_MTA_MD5 +static int chk_ns_mta_md5( const struct pw_scheme *scheme, const struct berval *passwd, const struct berval *cred ); @@ -212,9 +212,9 @@ static const struct pw_scheme pw_schemes[] = { BER_BVC("{LANMAN}"), chk_lanman, hash_lanman }, #endif /* SLAPD_LMHASH */ -#ifdef SLAPD_NT_MTA_MD5 - { BER_BVC("{NT-MTA-MD5}"), chk_nt_mta_md5, NULL }, -#endif /* SLAPD_NT_MTA_MD5 */ +#ifdef SLAPD_NS_MTA_MD5 + { BER_BVC("{NS-MTA-MD5}"), chk_ns_mta_md5, NULL }, +#endif /* SLAPD_NS_MTA_MD5 */ #ifdef SLAPD_SPASSWD { BER_BVC("{SASL}"), chk_sasl, NULL }, @@ -637,8 +637,8 @@ static int chk_lanman( } #endif /* SLAPD_LMHASH */ -#ifdef SLAPD_NT_MTA_MD5 -static int chk_nt_mta_md5( +#ifdef SLAPD_NS_MTA_MD5 +static int chk_ns_mta_md5( const struct pw_scheme *scheme, const struct berval *passwd, const struct berval *cred )