summaryrefslogtreecommitdiff
path: root/source4/auth/credentials
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-03-31 05:33:35 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:59:25 -0500
commite7dc4c79ad4bf2317d89633b6e6bb965f629667f (patch)
tree1b342a6606281cbd1dcc3d0f7a14e912851b7975 /source4/auth/credentials
parent69c5cd509bbab25e0c69db28b047173b7ff3e8af (diff)
downloadsamba-e7dc4c79ad4bf2317d89633b6e6bb965f629667f.tar.gz
samba-e7dc4c79ad4bf2317d89633b6e6bb965f629667f.tar.bz2
samba-e7dc4c79ad4bf2317d89633b6e6bb965f629667f.zip
r14837: fixed build error
(This used to be commit 23724bfd24b051c4096ac49c52c2cd31389340be)
Diffstat (limited to 'source4/auth/credentials')
-rw-r--r--source4/auth/credentials/credentials_ntlm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/auth/credentials/credentials_ntlm.c b/source4/auth/credentials/credentials_ntlm.c
index 1d181ae958..23838da888 100644
--- a/source4/auth/credentials/credentials_ntlm.c
+++ b/source4/auth/credentials/credentials_ntlm.c
@@ -185,11 +185,12 @@ NTSTATUS cli_credentials_get_ntlm_response(struct cli_credentials *cred, TALLOC_
}
}
} else {
+ const char *password;
+
/* LM Key is incompatible... */
lm_response = nt_response;
*flags &= ~CLI_CRED_LANMAN_AUTH;
- const char *password;
password = cli_credentials_get_password(cred);
if (password) {
E_deshash(password, lm_hash);