1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-27 22:50:26 +03:00

test: Test rpcclient ncacn_ip_tcp:<ip-address>

Right now connecting to an IP address is broken.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
Volker Lendecke 2022-01-09 13:39:12 +01:00
parent 23fbf0bad0
commit 03734be1d6
2 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1 @@
.*samba3.blackbox.rpcclient.*ncacn_ip_tcp.*

View File

@ -1054,6 +1054,14 @@ for s in signseal_options:
"none",
f'ncalrpc:[{a}{s}{e}] -c epmmap',
configuration])
if s != ",connect":
plantestsuite(
f'samba3.blackbox.rpcclient over ncacn_ip_tcp with [{a}{s}{e}] ',
"nt4_dc:local",
[os.path.join(samba3srcdir, "script/tests/test_rpcclient.sh"),
"none",
f'ncacn_ip_tcp:"$SERVER_IP"[{a}{s}{e}] -c epmmap -U"$USERNAME"%"$PASSWORD"',
configuration])
# We should try more combinations in future, but this is all
# the pre-calculated credentials cache supports at the moment