summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorChristof Schmitt <cs@samba.org>2014-09-11 16:39:21 -0700
committerVolker Lendecke <vl@samba.org>2014-09-29 13:15:18 +0200
commit9c9216410faf707edc4ba05f2b715d45f7f51ca4 (patch)
tree9805817b957e4ee574647fc10a00bd1a8860e788 /python
parent16594e7fc0a46249a48d0d0635de0c1050ecd340 (diff)
downloadsamba-9c9216410faf707edc4ba05f2b715d45f7f51ca4.tar.gz
samba-9c9216410faf707edc4ba05f2b715d45f7f51ca4.tar.xz
samba-9c9216410faf707edc4ba05f2b715d45f7f51ca4.zip
s3-winbindd: Do not use domain SID from LookupSids for Sids2UnixIDs call
Create a new lsa_RefDomainList and populate it with the domain SID from the original query. That avoids the problem that for migrated objects, LookupSids returns the SID of the new domain, and combining that with the RID from the input results in an invalid SID. A better fix would be querying the RID of the user in the new domain, but the approach here at least avoids id mappings entries for invalid SIDs. Signed-off-by: Christof Schmitt <cs@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Mon Sep 29 13:15:18 CEST 2014 on sn-devel-104
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions