diff options
author | Andreas Schneider <asn@samba.org> | 2018-04-20 11:20:44 +0200 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2018-05-24 12:50:13 +0200 |
commit | 6a8939ccd46ba02d775760a40b4c8441951eeaaf (patch) | |
tree | df134d091981a364e6b5215b5174047a3616b1ae /source3 | |
parent | 0c8b0b00ec1675c371d135a53de27aad2ebdc6f9 (diff) | |
download | samba-6a8939ccd46ba02d775760a40b4c8441951eeaaf.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 24ebd7fd98f..cd5b49b87dc 100755 --- a/source3/selftest/tests.py +++ b/source3/selftest/tests.py @@ -202,6 +202,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"]) |