summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-04-11 11:14:24 +0200
committerVolker Lendecke <vl@samba.org>2010-04-11 11:15:44 +0200
commitb91484a1a075c2913ebb50ee034f36580387bfa8 (patch)
tree5788ea19250dbf457041c07f1b058f39b88028a7
parent2c193fe91af60f29ed4d560496842073097469bb (diff)
downloadsamba-b91484a1a075c2913ebb50ee034f36580387bfa8.tar.gz
samba-b91484a1a075c2913ebb50ee034f36580387bfa8.tar.bz2
samba-b91484a1a075c2913ebb50ee034f36580387bfa8.zip
s3: Cosmetics -- I could not spot where "chal" was initialized
-rw-r--r--source3/winbindd/winbindd_pam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_pam.c b/source3/winbindd/winbindd_pam.c
index e151b1a1e3..d5650d9cc5 100644
--- a/source3/winbindd/winbindd_pam.c
+++ b/source3/winbindd/winbindd_pam.c
@@ -1218,8 +1218,8 @@ static NTSTATUS winbindd_dual_pam_auth_samlogon(struct winbindd_domain *domain,
/* do password magic */
-
generate_random_buffer(chal, 8);
+
if (lp_client_ntlmv2_auth()) {
DATA_BLOB server_chal;
DATA_BLOB names_blob;