nsswitch: Add a test looking up domain sid
authorAndreas Schneider <asn@samba.org>
Fri, 4 May 2018 10:43:05 +0000 (12:43 +0200)
committerKarolin Seeger <kseeger@samba.org>
Thu, 24 May 2018 09:29:22 +0000 (11:29 +0200)
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)

nsswitch/tests/test_wbinfo_name_lookup.sh

index a8fd5ec4d9998faf2772f98a7ca469e2bd39714d..c1d39c1a602a8064bcebe665e56400f180540e52 100755 (executable)
@@ -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)