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.

Joel

 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.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba
  • ... Салтаев Дементий Петрович
    • ... Joel Hammer
      • ... Kyle Loree

Reply via email to