diff options
author | Andreas Schneider <asn@samba.org> | 2018-04-20 11:20:44 +0200 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2018-05-24 11:29:22 +0200 |
commit | a52b06751c2dec3d3b04be2b1a969fad24f86a7b (patch) | |
tree | 518fa1531643892add0da34ff50bad8669e41b52 /source3 | |
parent | 5c946ebf9f4141db5e2b6eec6a9912919e712874 (diff) | |
download | samba-a52b06751c2dec3d3b04be2b1a969fad24f86a7b.tar.gz |
nsswitch:tests: Add test for wbinfo --user-info
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13369
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit 2715f52f54e66a73131a92d752a8c2447da1fd33)
Diffstat (limited to 'source3')
-rwxr-xr-x | source3/selftest/tests.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/source3/selftest/tests.py b/source3/selftest/tests.py index a5acab2792a..ac21284b88b 100755 --- a/source3/selftest/tests.py +++ b/source3/selftest/tests.py @@ -211,6 +211,20 @@ plantestsuite("samba3.wbinfo_name_lookup", env, [ os.path.join(srcdir(), "nsswitch/tests/test_wbinfo_name_lookup.sh"), '$DOMAIN', '$REALM', '$DC_USERNAME' ]) + +env = "ad_member:local" +plantestsuite("samba3.wbinfo_user_info", env, + [ os.path.join(srcdir(), + "nsswitch/tests/test_wbinfo_user_info.sh"), + '$DOMAIN', '$REALM', 'alice', 'alice', 'jane', 'jane.doe' ]) + +env = "fl2008r2dc:local" +plantestsuite("samba3.wbinfo_user_info", env, + [ os.path.join(srcdir(), + "nsswitch/tests/test_wbinfo_user_info.sh"), + '$TRUST_DOMAIN', '$TRUST_REALM', 'alice', 'alice', 'jane', 'jane.doe' ]) + +env = "ad_member" t = "WBCLIENT-MULTI-PING" plantestsuite("samba3.smbtorture_s3.%s" % t, env, [os.path.join(samba3srcdir, "script/tests/test_smbtorture_s3.sh"), t, '//foo/bar', '""', '""', smbtorture3, ""]) plantestsuite("samba3.substitutions", env, [os.path.join(samba3srcdir, "script/tests/test_substitutions.sh"), "$SERVER", "alice", "Secret007", "$PREFIX"]) |