1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

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
This commit is contained in:
Andrew Bartlett 2011-04-07 12:25:30 +10:00
parent 36029a0343
commit 9ced0df379

View File

@ -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):