diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-02-16 13:51:32 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-02-16 15:20:09 +1100 |
commit | 032a2c4ce3ec275379b1de37dccb0040071254c4 (patch) | |
tree | b40806a2df7a2ee3d2e35599d123879174638ee9 /wintest/wintest.py | |
parent | 00f86a36e076130c2c34a49b8dc820f34bf65d85 (diff) | |
download | samba-032a2c4ce3ec275379b1de37dccb0040071254c4.tar.gz samba-032a2c4ce3ec275379b1de37dccb0040071254c4.tar.bz2 samba-032a2c4ce3ec275379b1de37dccb0040071254c4.zip |
wintest: connect to correct hostname in test_net_use
Diffstat (limited to 'wintest/wintest.py')
-rw-r--r-- | wintest/wintest.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wintest/wintest.py b/wintest/wintest.py index d5728a883b..325da964e2 100644 --- a/wintest/wintest.py +++ b/wintest/wintest.py @@ -845,11 +845,11 @@ RebootOnCompletion=No self.cmd_contains("bin/smbclient --version", ["${SAMBA_VERSION}"]) self.retry_cmd('bin/smbclient -L ${WIN_HOSTNAME} -U%s%%%s %s' % (username, password, args), ["IPC"]) - def test_net_use(self, vm, domain, username, password): + def test_net_use(self, vm, realm, domain, username, password): self.setwinvars(vm) self.info('Testing net use against Samba3 member') child = self.open_telnet("${WIN_HOSTNAME}", "%s\\%s" % (domain, username), password) - child.sendline("net use t: \\\\${HOSTNAME}.${LCREALM}\\test") + child.sendline("net use t: \\\\${HOSTNAME}.%s\\test" % realm) child.expect("The command completed successfully") |