Commit 7cc1a8d9 authored by Ralph Boehme's avatar Ralph Boehme Committed by Karolin Seeger

selftest: test wbinfo -n and --gid-info with "NT Authority"

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12164Signed-off-by: default avatarRalph Boehme <slow@samba.org>
Reviewed-by: default avatarDavid Mulder <dmulder@suse.com>
Reviewed-by: default avatarAndreas Schneider <asn@samba.org>
(cherry picked from commit c46b6b11)
parent 53b2e9af
......@@ -125,6 +125,24 @@ else
echo "success: wbinfo -n check for sane mapping"
fi
echo "test: wbinfo -n NT Authority/Authenticated Users"
$wbinfo -n "NT Authority/Authenticated Users"
if [ $? -ne 0 ] ; then
echo "failure: wbinfo -n NT Authority/Authenticated Users"
failed=`expr $failed + 1`
else
echo "success: wbinfo -n NT Authority/Authenticated Users"
fi
echo "test: wbinfo --group-info NT Authority/Authenticated Users"
$wbinfo --group-info "NT Authority/Authenticated Users"
if [ $? -ne 0 ] ; then
echo "failure: wbinfo --group-info NT Authority/Authenticated Users"
failed=`expr $failed + 1`
else
echo "success: wbinfo --group-info NT Authority/Authenticated Users"
fi
testit "wbinfo -U against $TARGET" $wbinfo -U 30000 || failed=`expr $failed + 1`
echo "test: wbinfo -U check for sane mapping"
......
^samba.blackbox.wbinfo\(.*\).wbinfo -n NT Authority/Authenticated Users\(.*\)
^samba.blackbox.wbinfo\(.*\).wbinfo --group-info NT Authority/Authenticated Users\(.*\)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment