summaryrefslogtreecommitdiff
path: root/nsswitch/tests
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2018-05-04 12:43:05 +0200
committerAndreas Schneider <asn@cryptomilk.org>2018-05-11 09:07:36 +0200
commit0aceca6a94e868f9c01a66f79624ca10d80560ab (patch)
tree74c9c38cc2934e1452714979112d13f8bc55d4d8 /nsswitch/tests
parent0d2f743d826b87b369e25fc6bb9ff61f2b0896aa (diff)
downloadsamba-0aceca6a94e868f9c01a66f79624ca10d80560ab.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>
Diffstat (limited to 'nsswitch/tests')
-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)