From 0387684df699d9efe5c35637ff97d234bb18e8db Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 14 Jun 2004 12:31:04 +0000 Subject: r1142: I think this should fix the interactive logins for tridge - don't take sizeof() a pointer... Andrew Bartlett (This used to be commit c1019e6df6aa4fcce7dc2ccbd404a4254ab5d1fb) --- source4/auth/auth_util.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source4/auth/auth_util.c') diff --git a/source4/auth/auth_util.c b/source4/auth/auth_util.c index 24a419586d..ba13fceab3 100644 --- a/source4/auth/auth_util.c +++ b/source4/auth/auth_util.c @@ -208,13 +208,13 @@ NTSTATUS make_user_info_netlogon_interactive(struct auth_usersupplied_info **use local_lm_blob = data_blob(local_lm_response, sizeof(local_lm_response)); - lm_interactive_blob = data_blob(lm_interactive_password, - sizeof(lm_interactive_password)); + lm_interactive_blob = data_blob(lm_interactive_password->hash, + sizeof(lm_interactive_password->hash)); local_nt_blob = data_blob(local_nt_response, sizeof(local_nt_response)); - nt_interactive_blob = data_blob(nt_interactive_password, - sizeof(nt_interactive_password)); + nt_interactive_blob = data_blob(nt_interactive_password->hash, + sizeof(nt_interactive_password->hash)); nt_status = make_user_info_map(user_info, smb_name, client_domain, -- cgit