]> git.ipfire.org Git - thirdparty/samba.git/commit
winbindd: idmap_rid: don't rely on the static domain list
authorRalph Boehme <slow@samba.org>
Mon, 25 Sep 2017 13:42:08 +0000 (15:42 +0200)
committerKarolin Seeger <kseeger@samba.org>
Thu, 14 Dec 2017 11:21:09 +0000 (12:21 +0100)
commitd85e691a0b64918753d57966e39160e77af7c3ce
tree17069a4fa32006e92bd202d96da40f603ca1af13
parent96cc7e0fe30a747bf5cb49dcbf4953b4d659e038
winbindd: idmap_rid: don't rely on the static domain list

The domain list in the idmap child is inherited from the parent winbindd
process and may not contain all domains in case enumerating trusted
domains didn't finish before the first winbind request that triggers the
idmap child fork comes along.

The previous commits added the domain SID as an additional argument to
the wbint_UnixIDs2Sids request, storing the domain SID in struct
idmap_domain.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=13052

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit 108675c4cf4c3d5bd29468255743423a56bd1471)
source3/winbindd/idmap_rid.c