diff options
author | Michael Adam <obnox@samba.org> | 2012-11-09 16:09:59 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-12-03 08:48:21 +0100 |
commit | 349b9ac05242f87fa5afcc06c72ccc02bdb05d8b (patch) | |
tree | edd142e53584579ac6bbcf0998c8a542d8e4df02 | |
parent | be033a1d165f815bbddceda46384be1f9c0c2b7f (diff) | |
download | samba-349b9ac05242f87fa5afcc06c72ccc02bdb05d8b.tar.gz samba-349b9ac05242f87fa5afcc06c72ccc02bdb05d8b.tar.bz2 samba-349b9ac05242f87fa5afcc06c72ccc02bdb05d8b.zip |
s3:winbindd: add explaining comment winbindd_sids_to_xids_send()
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
-rw-r--r-- | source3/winbindd/winbindd_sids_to_xids.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/winbindd/winbindd_sids_to_xids.c b/source3/winbindd/winbindd_sids_to_xids.c index 0b040569e7..518606dcde 100644 --- a/source3/winbindd/winbindd_sids_to_xids.c +++ b/source3/winbindd/winbindd_sids_to_xids.c @@ -91,6 +91,11 @@ struct tevent_req *winbindd_sids_to_xids_send(TALLOC_CTX *mem_ctx, return tevent_req_post(req, ev); } + /* + * Extract those sids that can not be resolved from cache + * into a separate list to be handed to id mapping, keeping + * the same index. + */ for (i=0; i<state->num_sids; i++) { DEBUG(10, ("SID %d: %s\n", (int)i, |