Commit 3020050b authored by Volker Lendecke's avatar Volker Lendecke Committed by Jeremy Allison

winbind: Fix overlapping id ranges

Signed-off-by: default avatarVolker Lendecke <vl@samba.org>
Reviewed-by: default avatarChristof Schmitt <cs@samba.org>
Reviewed-by: default avatarJeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Apr 24 02:25:56 UTC 2019 on sn-devel-184
parent 2577f43a
......@@ -369,4 +369,3 @@
^samba.tests.ntlmdisabled.python\(ktest\).python2.ntlmdisabled.NtlmDisabledTests.test_samr_change_password\(ktest\)
^samba.tests.ntlmdisabled.python\(ad_dc_no_ntlm\).python3.ntlmdisabled.NtlmDisabledTests.test_ntlm_connection\(ad_dc_no_ntlm\)
^samba.tests.ntlmdisabled.python\(ad_dc_no_ntlm\).python2.ntlmdisabled.NtlmDisabledTests.test_ntlm_connection\(ad_dc_no_ntlm\)
^idmap.ad.Test gid lookup of Domain Admins in trusted domain.\(ad_member_idmap_ad\)
......@@ -302,7 +302,11 @@ static struct tevent_req *wb_xids2sids_dom_send(
continue;
}
if (state->cached[i]) {
/* already mapped */
/* already found in cache */
continue;
}
if (!is_null_sid(&state->all_sids[i])) {
/* already mapped in a previously asked domain */
continue;
}
state->dom_xids[state->num_dom_xids++] = id;
......@@ -369,7 +373,11 @@ static void wb_xids2sids_dom_done(struct tevent_req *subreq)
continue;
}
if (state->cached[i]) {
/* already mapped */
/* already found in cache */
continue;
}
if (!is_null_sid(&state->all_sids[i])) {
/* already mapped in a previously asked domain */
continue;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment