[Bug 1321354] Re: open samba shares become unresponsive if unused for 15 minutes

yoyoma2 sinbad_4273 at yahoo.com
Thu Oct 30 00:37:34 UTC 2014


Microsoft servers drop idle connections after 15 minutes.  This behavior
can be disabled by this command as administrator (details:
http://support.microsoft.com/kb/297684).

net config server /autodisconnect:-1

Alternatively, adding the following script to the gnome startup
applications keeps the connections alive.

#!/bin/bash
while true
do
    ls /run/user/`id -u`/gvfs/smb-share:* &> /dev/null
    sleep 600
done

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/1321354

Title:
  open samba shares become unresponsive if unused for 15 minutes

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1321354/+subscriptions



More information about the Ubuntu-server-bugs mailing list