diff options
author | Christof Schmitt <cs@samba.org> | 2018-02-28 13:10:43 -0700 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2018-04-11 11:52:25 +0200 |
commit | 40ee7863a558568c69ee990fb8405ab51febae34 (patch) | |
tree | cf7fae6d3e575e6fbe83fe689623f06ddfd81ded /source3 | |
parent | 80560167956cde78652d804cdf26385f759ba39b (diff) | |
download | samba-40ee7863a558568c69ee990fb8405ab51febae34.tar.gz |
Add test for wbinfo name lookup
This demonstrates that wbinfo -n / --name-to-sid returns information
instead of failing the request. More specifically the query for
INVALIDDOMAIN//user returns the user SID for the joined domain, instead
of failing the request.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13312
Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 552a00ec1f6795b9025298931a6cc50ebe552052)
Diffstat (limited to 'source3')
-rwxr-xr-x | source3/selftest/tests.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/selftest/tests.py b/source3/selftest/tests.py index e1b0e35e8d9..092605d50e2 100755 --- a/source3/selftest/tests.py +++ b/source3/selftest/tests.py @@ -207,6 +207,10 @@ for env in ["nt4_member", "ad_member"]: env = "ad_member" t = "--krb5auth=$DOMAIN/$DC_USERNAME%$DC_PASSWORD" plantestsuite("samba3.wbinfo_simple.(%s:local).%s" % (env, t), "%s:local" % env, [os.path.join(srcdir(), "nsswitch/tests/test_wbinfo_simple.sh"), t]) +plantestsuite("samba3.wbinfo_name_lookup", env, + [ os.path.join(srcdir(), + "nsswitch/tests/test_wbinfo_name_lookup.sh"), + '$DOMAIN', '$DC_USERNAME' ]) 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"]) |