3 incdir
=$
(dirname $0)/..
/..
/testprogs
/blackbox
7 # S-1-5-123456789 fails, but S-1-5-11 succeeds. Check that S-1-5-11 is
8 # mapped successfully with a GID in the 1000x range
12 output
=$
($VALGRIND $BINDIR/wbinfo
--sids-to-unix-ids=S-1-5-123456789
,S-1-5-11
)
13 test x
"$?" = x
"0" ||
{
17 printf '%s' "$output" |
grep -q 'S-1-5-123456789 -> unmapped' ||
{
22 printf '%s' "$output" |
grep -q 'S-1-5-11 -> gid 10000' ||
{
30 testit
"wbinfo some mapped" wbinfo_some_mapped || failed
=$
(expr $failed + 1)