git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be033a1
)
s3:winbindd: add explaining comment winbindd_sids_to_xids_send()
author
Michael Adam
<obnox@samba.org>
Fri, 9 Nov 2012 15:09:59 +0000
(16:09 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Mon, 3 Dec 2012 07:48:21 +0000
(08:48 +0100)
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/winbindd/winbindd_sids_to_xids.c
patch
|
blob
|
history
diff --git
a/source3/winbindd/winbindd_sids_to_xids.c
b/source3/winbindd/winbindd_sids_to_xids.c
index 0b040569e79c948584befbddc0a4c96418f15bd5..518606dcde94aa9009ab995c02f7d0a7e77ab043 100644
(file)
--- 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,