smbtorture: extend rpc.lsa to lookup machine over forest-wide LookupNames
commit38876ad4ef46fc3cf6a12329236918a87c2e2c65
authorAlexander Bokovoy <ab@samba.org>
Sat, 10 Aug 2019 08:53:12 +0000 (10 11:53 +0300)
committerKarolin Seeger <kseeger@samba.org>
Mon, 19 Aug 2019 12:36:22 +0000 (19 12:36 +0000)
tree5198e35fe736f69cc3b4b545eb2eb63e357ed49b
parent60d222327343599d13643ee54e041cd65373a7eb
smbtorture: extend rpc.lsa to lookup machine over forest-wide LookupNames

Add a simple test to resolve DOMAIN\MACHINE$ via LSA LookupNames3
using LSA_LOOKUP_NAMES_UPLEVEL_TRUSTS_ONLY2 level. This level would pass
zero lookup flags to lookup_name().

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14091

Signed-off-by: Alexander Bokovoy <ab@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Alexander Bokovoy <ab@samba.org>
Autobuild-Date(master): Wed Aug 14 13:07:42 UTC 2019 on sn-devel-184

(cherry picked from commit 4d276a93fc624dc04d880f5b4157f272d3555be6)

Autobuild-User(v4-11-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-11-test): Mon Aug 19 12:36:22 UTC 2019 on sn-devel-184
source4/torture/rpc/lsa.c