diff options
author | Andrew Bartlett <abartlet@samba.org> | 2010-11-30 12:48:51 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-12-01 16:09:59 +1100 |
commit | a565eff9699b7061236b753b6dc09bc36b837563 (patch) | |
tree | 13c879ea93373f9eef67e3a64041bfa9a970d90d | |
parent | c1fa6be92514cec35033fa8486e30316de13319a (diff) | |
download | samba-a565eff9699b7061236b753b6dc09bc36b837563.tar.gz |
wintest Allow 'samba-tool newuser' to run a few times waiting for the RID Set
Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
-rwxr-xr-x | wintest/test-s4-howto.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wintest/test-s4-howto.py b/wintest/test-s4-howto.py index d04cabbb3e6..df2f253f4aa 100755 --- a/wintest/test-s4-howto.py +++ b/wintest/test-s4-howto.py @@ -404,7 +404,7 @@ def test_dcpromo(t, vm): child.expect("was successful") t.info("Checking if new users propogate to windows") - t.run_cmd('bin/samba-tool newuser test2 ${PASSWORD2}') + t.retry_cmd('bin/samba-tool newuser test2 ${PASSWORD2}', ["created successfully"]) t.retry_cmd("bin/smbclient -L ${WIN_HOSTNAME}.${LCREALM} -Utest2%${PASSWORD2} -k no", ['Sharename', 'Remote IPC']) t.retry_cmd("bin/smbclient -L ${WIN_HOSTNAME}.${LCREALM} -Utest2%${PASSWORD2} -k yes", ['Sharename', 'Remote IPC']) |