diff options
author | Andrew Bartlett <abartlet@samba.org> | 2014-01-22 16:03:57 +1300 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2014-04-15 12:32:09 +0200 |
commit | d7ce127de9ae2e065f46694b90c45b3eb40d0c7a (patch) | |
tree | 5a9387d85c722d6fc7bc306f55655632d73e5091 /source4/auth/ntlm/auth_unix.c | |
parent | 634cc8fdffbf83e339844a8da2812fae3964cd31 (diff) | |
download | samba-d7ce127de9ae2e065f46694b90c45b3eb40d0c7a.tar.gz samba-d7ce127de9ae2e065f46694b90c45b3eb40d0c7a.tar.xz samba-d7ce127de9ae2e065f46694b90c45b3eb40d0c7a.zip |
auth: Remove support for HAVE_TRUNCATED_SALT from pass_check.c
The comments indicate that this was needed for HP-UX at one point, but
the configure code was never ported to WAF.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Tue Apr 15 12:32:09 CEST 2014 on sn-devel-104
Diffstat (limited to 'source4/auth/ntlm/auth_unix.c')
-rw-r--r-- | source4/auth/ntlm/auth_unix.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/source4/auth/ntlm/auth_unix.c b/source4/auth/ntlm/auth_unix.c index 00abc44f37..526b655093 100644 --- a/source4/auth/ntlm/auth_unix.c +++ b/source4/auth/ntlm/auth_unix.c @@ -661,11 +661,6 @@ static NTSTATUS check_unix_password(TALLOC_CTX *ctx, struct loadparm_context *lp } #endif -#if defined(HAVE_TRUNCATED_SALT) - /* crypt on some platforms (HPUX in particular) - won't work with more than 2 salt characters. */ - salt[2] = 0; -#endif if (crypted[0] == '\0') { if (!lpcfg_null_passwords(lp_ctx)) { |