git.samba.org
/
vlendec
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36029a0
)
wintest Allow changing the telnet settings to fail, we might not be admin
author
Andrew Bartlett
<abartlet@samba.org>
Thu, 7 Apr 2011 02:25:30 +0000
(12:25 +1000)
committer
Andrew Bartlett
<abartlet@samba.org>
Thu, 7 Apr 2011 04:35:36 +0000
(14:35 +1000)
This allows us to test logging in as non-admin users over telnet
wintest/wintest.py
patch
|
blob
|
history
diff --git
a/wintest/wintest.py
b/wintest/wintest.py
index 2a6da7d6567abc065bb5d8a4a13106eff075f7e4..e4419beb0c31322ddb1b51837fb76fd1cef9a08c 100644
(file)
--- 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):