git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
auth: Remove support for HAVE_TRUNCATED_SALT from pass_check.c
[nivanova/samba-autobuild/.git]
/
source4
/
auth
/
ntlm
/
auth_unix.c
diff --git
a/source4/auth/ntlm/auth_unix.c
b/source4/auth/ntlm/auth_unix.c
index 00abc44f376539b034ba4c63c8cd4b1c65c28c30..526b65509339818b0bf4d7a14be31b0867804e64 100644
(file)
--- 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)) {