summaryrefslogtreecommitdiff
path: root/nsswitch/tests/test_idmap_ad.sh
diff options
context:
space:
mode:
Diffstat (limited to 'nsswitch/tests/test_idmap_ad.sh')
-rwxr-xr-xnsswitch/tests/test_idmap_ad.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/nsswitch/tests/test_idmap_ad.sh b/nsswitch/tests/test_idmap_ad.sh
index 2f4ee3293b2..7450ae06059 100755
--- a/nsswitch/tests/test_idmap_ad.sh
+++ b/nsswitch/tests/test_idmap_ad.sh
@@ -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