nsswitch: Lookup the domain in tests with the wb seperator
[samba.git] / nsswitch / tests / test_idmap_ad.sh
index 2f4ee3293b2f8ceba66e7d213c9e728ff2b562c3..7450ae06059f1658b51450728f14c086d02e8c69 100755 (executable)
@@ -20,7 +20,7 @@ failed=0
 
 . `dirname $0`/../../testprogs/blackbox/subunit.sh
 
-DOMAIN_SID=$($wbinfo -n "@$DOMAIN" | cut -f 1 -d " ")
+DOMAIN_SID=$($wbinfo -n "$DOMAIN/" | cut -f 1 -d " ")
 if [ $? -ne 0 ] ; then
     echo "Could not find domain SID" | subunit_fail_test "test_idmap_ad"
     exit 1