summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-11-18 19:29:37 +0100
committerStefan Metzmacher <metze@samba.org>2012-12-03 08:48:22 +0100
commit75a752473f932f84d15ba043c9b9167db10dd572 (patch)
tree57e9490c97b5f0d1a67662329087f62914e6f55e
parent3e7f04b70f89d528aacfdc420b635d8aff0f4af6 (diff)
downloadsamba-75a752473f932f84d15ba043c9b9167db10dd572.tar.gz
samba-75a752473f932f84d15ba043c9b9167db10dd572.tar.bz2
samba-75a752473f932f84d15ba043c9b9167db10dd572.zip
s3:winbindd: add an explanatory comment to _wbint_Sids2UnixIDs()
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
-rw-r--r--source3/winbindd/winbindd_dual_srv.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/winbindd/winbindd_dual_srv.c b/source3/winbindd/winbindd_dual_srv.c
index d39454399e..bb0f2253ba 100644
--- a/source3/winbindd/winbindd_dual_srv.c
+++ b/source3/winbindd/winbindd_dual_srv.c
@@ -189,6 +189,11 @@ NTSTATUS _wbint_Sids2UnixIDs(struct pipes_struct *p,
num_ids = 0;
+ /*
+ * Convert the input data into a list of
+ * id_map structs suitable for handing in
+ * to the idmap sids_to_unixids method.
+ */
for (j=0; j<r->in.ids->num_ids; j++) {
struct wbint_TransID *id = &r->in.ids->ids[j];