summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2018-07-23 00:17:35 +0200
committerKarolin Seeger <kseeger@samba.org>2018-08-13 12:56:34 +0200
commite9494f9b096f6469a3ce0c5c628577ae7e011b96 (patch)
tree8a204693ee95672a26a73d22e9466ece898016f8 /python
parent94ab84fff490bdcd96bc26e920c8813976869c54 (diff)
downloadsamba-e9494f9b096f6469a3ce0c5c628577ae7e011b96.tar.gz
python/tests: use explicit "client ipc max protocol = NT1" for samba.tests.net_join_no_spnego
The tests rely on SMB1. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13308 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org> (cherry picked from commit 802e43bf742e756896fa73fcd139feca9ae293dd)
Diffstat (limited to 'python')
-rw-r--r--python/samba/tests/net_join_no_spnego.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/samba/tests/net_join_no_spnego.py b/python/samba/tests/net_join_no_spnego.py
index 09a2856c9b5..0f45913f215 100644
--- a/python/samba/tests/net_join_no_spnego.py
+++ b/python/samba/tests/net_join_no_spnego.py
@@ -42,6 +42,7 @@ class NetJoinNoSpnegoTests(samba.tests.TestCaseInTempDir):
super(NetJoinNoSpnegoTests, self).tearDown()
def test_net_join_no_spnego(self):
+ self.lp.set("client ipc max protocol", "NT1")
self.lp.set("client use spnego", "no")
netbios_name = "NetJoinNoSpnego"
machinepass = "abcdefghij"
@@ -65,6 +66,7 @@ class NetJoinNoSpnegoTests(samba.tests.TestCaseInTempDir):
self.fail("Shoud have rejected NTLMv2 without SPNEGO")
def test_net_join_no_spnego_ntlmv1(self):
+ self.lp.set("client ipc max protocol", "NT1")
self.lp.set("client use spnego", "no")
self.lp.set("client ntlmv2 auth", "no")
netbios_name = "NetJoinNoSpnego"