summaryrefslogtreecommitdiff
path: root/source3/selftest
diff options
context:
space:
mode:
authorAlexander Bokovoy <ab@samba.org>2020-04-28 21:59:46 +0300
committerKarolin Seeger <kseeger@samba.org>2020-05-04 13:06:07 +0000
commit21cf1419c543047085e1acf1a125ad6c0e561423 (patch)
tree115776303316076061b004e52d3d279cbe54bb5e /source3/selftest
parentd2e0eafa92b7d4e12551bf46a8ee77438403cec6 (diff)
downloadsamba-21cf1419c543047085e1acf1a125ad6c0e561423.tar.gz
s3: pass DCE RPC handle type to create_policy_hnd
Various RPC services expect policy handles of a specific type. s3 RPC server did not allow to create policy handles with a specific type while actually requiring that policy handle type itself in some places. Make sure we are able to specify the policy on-wire handle type when creating the policy handle. The changes follow s4 DCE RPC server implementation. The original logic to always set on-wire handle type to 0 can be tracked down to commit fdeea341ed1bae670382e45eb731db1b5838ad21 when we didn't really know about differences in on-wire handle types. All but LSA trusted domain RPC calls do not check the on-wire handle type in s3 RPC server. Fixes trusted domain operations when Samba RPC client attempts to call s3 RPC server to perform lsa_lsaRSetForestTrustInformation in FreeIPA. This fix is a pre-requisite for FreeIPA-FreeIPA forest trust. BUG: https://bugzilla.samba.org/show_bug.cgi?id=14359 Signed-off-by: Alexander Bokovoy <ab@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Tue Apr 28 22:55:29 UTC 2020 on sn-devel-184 (cherry picked from commit c7a4578d06427a82ead287f0c5248c1a54cc9336) Autobuild-User(v4-12-test): Karolin Seeger <kseeger@samba.org> Autobuild-Date(v4-12-test): Mon May 4 13:06:07 UTC 2020 on sn-devel-184
Diffstat (limited to 'source3/selftest')
0 files changed, 0 insertions, 0 deletions