mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
selftest: Test for bug 12558
Bug: https://bugzilla.samba.org/show_bug.cgi?id=12558 Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
94b7672d48
commit
3667876ebe
@ -346,6 +346,17 @@ test_msdfs_link()
|
||||
tmpfile=$PREFIX/smbclient.in.$$
|
||||
prompt=" msdfs-target "
|
||||
|
||||
cmd='$SMBCLIENT "$@" -U$USERNAME%$PASSWORD //$SERVER/msdfs-share -I $SERVER_IP $ADDARGS -m nt1 -c dir 2>&1'
|
||||
out=`eval $cmd`
|
||||
ret=$?
|
||||
|
||||
if [ $ret != 0 ] ; then
|
||||
echo "$out"
|
||||
echo "failed listing msfds-share\ with error $ret"
|
||||
false
|
||||
return
|
||||
fi
|
||||
|
||||
cat > $tmpfile <<EOF
|
||||
ls
|
||||
cd \\msdfs-src1
|
||||
|
Loading…
Reference in New Issue
Block a user