Set Samba to timeout after a certain time

  • Hi


    I want samba to drop the connection if, lets say i have a folder open on my computer, but is not doing anything, just sitting there idle for lets say 20 minutes.


    Is this possible?


    Thanks in advance, Tom

    • Offizieller Beitrag

    Better question is why do you want to do this? The client should disconnect after 20 minutes not the server disconnect the client.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.6 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • I want omv to suspend, even if i forget to close a folder on my computer, but from reading system logs, samba is reporting that there is a connection open, and shutdown is prevented.


    It doesnt matter for me if its the windows computer or samba that drops the connection, i just would like a way for it to drop after being idle for so and so long.


    Thanks again, Tom

    • Offizieller Beitrag

    I can't find any parameters in samba to set. I made changes in autoshutdown for OMV 3 to ignore samba connections.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.6 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!