summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-09-21 21:29:13 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-09-21 21:29:13 +0200
commit236eb0694bda3d82198e51de11bd4bc045832f75 (patch)
treeabe0f57e9eea05d20a450fbeca1f6161dff5c76d
parent0e9008be35a5b334bd65e6417193d4b8f27bdc36 (diff)
downloadsamba-236eb0694bda3d82198e51de11bd4bc045832f75.tar.gz
samba-236eb0694bda3d82198e51de11bd4bc045832f75.tar.bz2
samba-236eb0694bda3d82198e51de11bd4bc045832f75.zip
Use absolute paths for wbinfo rather than relying on it being in PATH.
-rwxr-xr-xsource4/nsswitch/tests/test_wbinfo.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/nsswitch/tests/test_wbinfo.sh b/source4/nsswitch/tests/test_wbinfo.sh
index dfd633b656..a67fac9394 100755
--- a/source4/nsswitch/tests/test_wbinfo.sh
+++ b/source4/nsswitch/tests/test_wbinfo.sh
@@ -62,7 +62,7 @@ admin_sid=`$wbinfo -n "$DOMAIN/$USERNAME" | cut -d " " -f1`
echo "$DOMAIN/$USERNAME resolved to $admin_sid"
testit "wbinfo -s $admin_sid against $TARGET" $wbinfo -s $admin_sid || failed=`expr $failed + 1`
-admin_name=`wbinfo -s $admin_sid | cut -d " " -f1| tr a-z A-Z`
+admin_name=`$wbinfo -s $admin_sid | cut -d " " -f1| tr a-z A-Z`
echo "$admin_sid resolved to $admin_name"
tested_name=`echo $DOMAIN/$USERNAME | tr a-z A-Z`
@@ -100,7 +100,7 @@ else
echo "success: wbinfo -U check for sane mapping"
fi
-admin_uid=`wbinfo -U $admin_sid`
+admin_uid=`$wbinfo -U $admin_sid`
testit "wbinfo -G against $TARGET" $wbinfo -G 30000 || failed=`expr $failed + 1`
@@ -149,7 +149,7 @@ testit "wbinfo --all-domains against $TARGET" $wbinfo --all-domains || failed=`e
testit "wbinfo --own-domain against $TARGET" $wbinfo --own-domain || failed=`expr $failed + 1`
echo "test: wbinfo --own-domain against $TARGET check output"
-own_domain=`wbinfo --own-domain`
+own_domain=`$wbinfo --own-domain`
if test x$own_domain = x$DOMAIN; then
echo "success: wbinfo --own-domain against $TARGET check output"
else