[Samba] How forcly disconnect unwanted user?
Joel at HammersHome.com
Mon Jan 27 22:09:01 GMT 2003
I haven't tried this, but you can use smbstatus to get the pid of the smbd
supplying the services to those users, then kill -15 pid.
Since the output includes when the connection was made, you could write a
bash script or whatever and kill connections older than a certain date or
belonging to certain users.
Mon, Jan 27, 2003 at 01:41:09PM +0300, óÁÌÔÁÅ× äÅÍÅÎÔÉÊ ðÅÔÒÏ×ÉÞ wrote:tOn Mon, Jan 27, 2003 at 01:41:09PM +0300, óÁÌÔÁÅ× äÅÍÅÎÔÉÊ ðÅÔÒÏ×ÉÞ wrote:
> Hello Samba Team!
> I have a Samba fileserver installed on my network. Sometime I have a problem. There are some irresponsible users, who holds their network connections for no purpose. I want to disconnect forcedly such users . But I do not know how do it. Help me, please!
> Dementiy P. Saltaev,
> "Svyaztransneft", Volgograd, Russia,
> 01.27.2003; 13:41.
More information about the samba