nsswitch: Add a test looking up domain sid
authorAndreas Schneider <asn@samba.org>
Fri, 4 May 2018 10:43:05 +0000 (12:43 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Fri, 11 May 2018 07:07:36 +0000 (09:07 +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>
nsswitch/tests/test_wbinfo_name_lookup.sh

index a8fd5ec..c1d39c1 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)