From b3bdf4b6c7af8e702ec26c7dd3d8e6f480b07e50 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Fri, 4 May 2018 12:43:05 +0200 Subject: [PATCH] nsswitch: Add a test looking up domain sid BUG: https://bugzilla.samba.org/show_bug.cgi?id=13369 Signed-off-by: Andreas Schneider Reviewed-by: Stefan Metzmacher (cherry picked from commit 0aceca6a94e868f9c01a66f79624ca10d80560ab) --- nsswitch/tests/test_wbinfo_name_lookup.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nsswitch/tests/test_wbinfo_name_lookup.sh b/nsswitch/tests/test_wbinfo_name_lookup.sh index a8fd5ec4d99..c1d39c1a602 100755 --- a/nsswitch/tests/test_wbinfo_name_lookup.sh +++ b/nsswitch/tests/test_wbinfo_name_lookup.sh @@ -23,6 +23,10 @@ testit "name-to-sid.single-separator" \ $wbinfo -n $DOMAIN/$DC_USERNAME || \ failed=$(expr $failed + 1) +testit "name-to-sid.at_domain" \ + $wbinfo -n $DOMAIN/ || \ + failed=$(expr $failed + 1) + testit "name-to-sid.upn" \ $wbinfo -n $DC_USERNAME@$REALM || \ failed=$(expr $failed + 1) -- 2.11.4.GIT