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_idmap.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'source3/winbindd/winbindd_idmap.c') diff --git a/source3/winbindd/winbindd_idmap.c b/source3/winbindd/winbindd_idmap.c index d142be2b6ec..6e24a9c2127 100644 --- a/source3/winbindd/winbindd_idmap.c +++ b/source3/winbindd/winbindd_idmap.c @@ -299,11 +299,11 @@ enum winbindd_result winbindd_dual_sid2uid(struct winbindd_domain *domain, } result = idmap_sid_to_uid(state->request->domain_name, &sid, - &state->response.data.uid); + &state->response->data.uid); DEBUG(10, ("winbindd_dual_sid2uid: 0x%08x - %s - %u\n", NT_STATUS_V(result), sid_string_dbg(&sid), - (unsigned int)state->response.data.uid)); + (unsigned int)state->response->data.uid)); return NT_STATUS_IS_OK(result) ? WINBINDD_OK : WINBINDD_ERROR; } @@ -372,11 +372,11 @@ enum winbindd_result winbindd_dual_sid2gid(struct winbindd_domain *domain, /* Find gid for this sid and return it, possibly ask the slow remote idmap */ result = idmap_sid_to_gid(state->request->domain_name, &sid, - &state->response.data.gid); + &state->response->data.gid); DEBUG(10, ("winbindd_dual_sid2gid: 0x%08x - %s - %u\n", NT_STATUS_V(result), sid_string_dbg(&sid), - (unsigned int)state->response.data.gid)); + (unsigned int)state->response->data.gid)); return NT_STATUS_IS_OK(result) ? WINBINDD_OK : WINBINDD_ERROR; } @@ -444,8 +444,8 @@ enum winbindd_result winbindd_dual_uid2sid(struct winbindd_domain *domain, state->request->data.uid); if (NT_STATUS_IS_OK(result)) { - sid_to_fstring(state->response.data.sid.sid, &sid); - state->response.data.sid.type = SID_NAME_USER; + sid_to_fstring(state->response->data.sid.sid, &sid); + state->response->data.sid.type = SID_NAME_USER; return WINBINDD_OK; } @@ -512,11 +512,11 @@ enum winbindd_result winbindd_dual_gid2sid(struct winbindd_domain *domain, state->request->data.gid); if (NT_STATUS_IS_OK(result)) { - sid_to_fstring(state->response.data.sid.sid, &sid); + sid_to_fstring(state->response->data.sid.sid, &sid); DEBUG(10, ("[%5lu]: retrieved sid: %s\n", (unsigned long)state->pid, - state->response.data.sid.sid)); - state->response.data.sid.type = SID_NAME_DOM_GRP; + state->response->data.sid.sid)); + state->response->data.sid.type = SID_NAME_DOM_GRP; return WINBINDD_OK; } -- cgit