diff options
author | Volker Lendecke <vl@samba.org> | 2008-07-13 09:59:57 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-08-12 11:28:29 +0200 |
commit | 8d4bd2d960ebf11bc85891210c6f72a371e08417 (patch) | |
tree | f98fff33bcc3d943f973cbcbda211fb71be63e94 /source3/winbindd/winbindd_sid.c | |
parent | 0c1e27abf69855abef396e4c93989964b70fcf1f (diff) | |
download | samba-8d4bd2d960ebf11bc85891210c6f72a371e08417.tar.gz samba-8d4bd2d960ebf11bc85891210c6f72a371e08417.tar.bz2 samba-8d4bd2d960ebf11bc85891210c6f72a371e08417.zip |
Remove the multi-ID lookup code and the 3.2.0 version of idmap_cache
(This used to be commit 1bd98521dc3f16ad77ccccd3979288c58e03ebe8)
Diffstat (limited to 'source3/winbindd/winbindd_sid.c')
-rw-r--r-- | source3/winbindd/winbindd_sid.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/source3/winbindd/winbindd_sid.c b/source3/winbindd/winbindd_sid.c index 2869c7c8e1..5f5972fb05 100644 --- a/source3/winbindd/winbindd_sid.c +++ b/source3/winbindd/winbindd_sid.c @@ -369,32 +369,6 @@ void winbindd_sid_to_gid(struct winbindd_cli_state *state) winbindd_lookupsid_async( state->mem_ctx, &sid, sid2gid_lookupsid_recv, state ); } -static void sids2xids_recv(void *private_data, bool success, void *data, int len) -{ - struct winbindd_cli_state *state = - talloc_get_type_abort(private_data, struct winbindd_cli_state); - - if (!success) { - DEBUG(5, ("Could not convert sids to xids\n")); - request_error(state); - return; - } - - state->response.extra_data.data = data; - state->response.length = sizeof(state->response) + len; - request_ok(state); -} - -void winbindd_sids_to_unixids(struct winbindd_cli_state *state) -{ - DEBUG(3, ("[%5lu]: sids to xids\n", (unsigned long)state->pid)); - - winbindd_sids2xids_async(state->mem_ctx, - state->request.extra_data.data, - state->request.extra_len, - sids2xids_recv, state); -} - static void set_mapping_recv(void *private_data, bool success) { struct winbindd_cli_state *state = |