Hello,
I was trying to look through samba directives for a samba timeout. I would like to have a timeout if no file is being written.
Would Deadtime work for this?
I would also like to block the shares by IP address.
Edit: I think hosts allow = works on a share level.
Thanks for any help.
Samba Timeouts
Re: Samba Timeouts
Are you talking about mounting a Windows share on CentOS or the other way around? If you're mounting on linux from another server then use autofs as per the "even better method" in the CentOS wiki.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: Samba Timeouts
Hello,
I was talking about mounting a centos share (through samba) from a windows box. I apologize, I didn't specify.
I was talking about mounting a centos share (through samba) from a windows box. I apologize, I didn't specify.
-
- Posts: 2019
- Joined: 2015/02/17 15:14:33
- Location: Bulgaria
- Contact:
Re: Samba Timeouts
"hosts allow=" and "hosts deny=" directives both work for a specific share and globally (if outside a share stanza). If you wish to use hostnames (or partial) you will need "hostname lookups = yes"
About the timeout ,deadtime should do the trick.
About the timeout ,deadtime should do the trick.