summaryrefslogtreecommitdiff
path: root/nsswitch
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2018-05-04 12:43:05 +0200
committerKarolin Seeger <kseeger@samba.org>2018-05-24 11:29:22 +0200
commita28d7c4110f74f615a2ca7ba7e67db3a74ce3ff0 (patch)
tree0a34d75c29808956759cd77f7c5a9dc2767da43d /nsswitch
parentee22c6fb26182d8f8aca7f82b9b85debe864b3b2 (diff)
downloadsamba-a28d7c4110f74f615a2ca7ba7e67db3a74ce3ff0.tar.gz
nsswitch: Add a test looking up domain sid
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 0aceca6a94e868f9c01a66f79624ca10d80560ab)
Diffstat (limited to 'nsswitch')
-rwxr-xr-xnsswitch/tests/test_wbinfo_name_lookup.sh4
1 files changed, 4 insertions, 0 deletions
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)