nsswitch: Lookup the domain in tests with the wb seperator
[samba.git] / nsswitch / tests / test_idmap_rid.sh
index 7fb59852cf5577f7619180264102f9c044c86351..8209a50a4fc34525d255bfc91868a0bda702141d 100755 (executable)
@@ -16,7 +16,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_rid"
     exit 1