Add test for wbinfo name lookup
commit40ee7863a558568c69ee990fb8405ab51febae34
authorChristof Schmitt <cs@samba.org>
Wed, 28 Feb 2018 20:10:43 +0000 (28 13:10 -0700)
committerKarolin Seeger <kseeger@samba.org>
Wed, 11 Apr 2018 09:52:25 +0000 (11 11:52 +0200)
treecf7fae6d3e575e6fbe83fe689623f06ddfd81ded
parent80560167956cde78652d804cdf26385f759ba39b
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)
nsswitch/tests/test_wbinfo_name_lookup.sh [new file with mode: 0755]
selftest/knownfail
source3/selftest/tests.py