summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-04-07 12:25:30 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-04-07 14:35:36 +1000
commit9ced0df3794901b65d6329ba0d2f9d82f759cdac (patch)
tree69bbca4cc53059a52289dc724856966cf2e8ecef
parent36029a0343c1c4221b84b3b1ee0e7c841f75d1d6 (diff)
downloadsamba-9ced0df3794901b65d6329ba0d2f9d82f759cdac.tar.gz
samba-9ced0df3794901b65d6329ba0d2f9d82f759cdac.tar.bz2
samba-9ced0df3794901b65d6329ba0d2f9d82f759cdac.zip
wintest Allow changing the telnet settings to fail, we might not be admin
This allows us to test logging in as non-admin users over telnet
-rw-r--r--wintest/wintest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wintest/wintest.py b/wintest/wintest.py
index 2a6da7d656..e4419beb0c 100644
--- a/wintest/wintest.py
+++ b/wintest/wintest.py
@@ -571,7 +571,7 @@ options {
def run_tlntadmn(self, child):
'''remove the annoying telnet restrictions'''
child.sendline('tlntadmn config maxconn=1024')
- child.expect("The settings were successfully updated")
+ child.expect(["The settings were successfully updated", "Access is denied"])
child.expect("C:")
def disable_firewall(self, child):