This is interesting to know that gvfs does not do this SMB Echo Request...
That is a pity, because gvfs is as simple as the "net use" command on Windows, and uses the Kerberos ticket, so it is a very interesting tool for companies trying to migrate to Ubuntu for desktops.
Currently, as a workaround, I did a small bash script that does exactly this (with the ls command) and which I run after user login :
#!/bin/bash
cd /run/user/$UID/gvfs/
while true
do
for i in ./smb* ; do
if [ -d "$i" ]; then
ls $(basename "$i")/ &> /dev/null
fi
done
sleep 120
done
This is interesting to know that gvfs does not do this SMB Echo Request...
That is a pity, because gvfs is as simple as the "net use" command on Windows, and uses the Kerberos ticket, so it is a very interesting tool for companies trying to migrate to Ubuntu for desktops.
Currently, as a workaround, I did a small bash script that does exactly this (with the ls command) and which I run after user login :
#!/bin/bash $UID/gvfs/
cd /run/user/
while true
do
for i in ./smb* ; do
if [ -d "$i" ]; then
ls $(basename "$i")/ &> /dev/null
fi
done
sleep 120
done