From 97ba4f6efdcdb1e4f5d43ddeadfd06c7d96213f4 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 14 Jun 2009 12:41:46 +0200 Subject: Make winbindd_cli_state->response a pointer instead of a struct member Same comment as in baa6084378e530b: This is just a preparatory checkin. Volker --- source3/winbindd/winbindd_ccache_access.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'source3/winbindd/winbindd_ccache_access.c') diff --git a/source3/winbindd/winbindd_ccache_access.c b/source3/winbindd/winbindd_ccache_access.c index 479c114eb8..ffb20ac6c4 100644 --- a/source3/winbindd/winbindd_ccache_access.c +++ b/source3/winbindd/winbindd_ccache_access.c @@ -246,7 +246,7 @@ enum winbindd_result winbindd_dual_ccache_ntlm_auth(struct winbindd_domain *doma if (initial_blob_len == 0 && challenge_blob_len == 0) { /* this is just a probe to see if credentials are available. */ result = NT_STATUS_OK; - state->response.data.ccache_ntlm_auth.auth_blob_len = 0; + state->response->data.ccache_ntlm_auth.auth_blob_len = 0; goto process_result; } @@ -269,14 +269,14 @@ enum winbindd_result winbindd_dual_ccache_ntlm_auth(struct winbindd_domain *doma goto process_result; } - state->response.extra_data.data = talloc_memdup( + state->response->extra_data.data = talloc_memdup( state->mem_ctx, auth.data, auth.length); - if (!state->response.extra_data.data) { + if (!state->response->extra_data.data) { result = NT_STATUS_NO_MEMORY; goto process_result; } - state->response.length += auth.length; - state->response.data.ccache_ntlm_auth.auth_blob_len = auth.length; + state->response->length += auth.length; + state->response->data.ccache_ntlm_auth.auth_blob_len = auth.length; data_blob_free(&auth); -- cgit