How can i drop active connection to samba ?

netstat -a:
tcp        0      0 Mordor:netbios-ssn      192.168.1.8:1062     ESTABLISHED
tcp        0      0 Mordor:netbios-ssn      192.168.1.9:1025     ESTABLISHED

smbstatus:
Samba version 2.2.7a-security-rollup-fix
Service      uid      gid      pid     machine
----------------------------------------------
Program      nobody   nobody   1111   user1     (192.168.1.8) Mon Apr 19 06:06:50 2004
Program      user2    user2    1112   user2     (192.168.1.9) Tue Apr 20 06:49:41 2004

Locked files:
Pid    DenyMode   Access      R/W        Oplock           Name
--------------------------------------------------------------
1111   DENY_NONE  0x1         RDONLY     EXCLUSIVE+BATCH  /home/SRV/Montaz/magazyn.INI 
  Tue Apr 20 08:24:51 2004
1112   DENY_WRITE 0x1         RDONLY     NONE             /home/SRV/P/magazyn.exe   
Tue Apr 20 08:47:44 2004

i want to reject/drop/kick/disconnect etc. user2. How can i do this
(via samba commands, ipchains, iptables or what ?) I need reject user2
(not blocking magazyn.exe. copy to samba new magazyn.exe then user2
can again connect to samba, all this operations must be without
changes to other samba users) and leave user as he is right now.


-- 
Pozdrowienia,
 Mariusz                          mailto:[EMAIL PROTECTED]

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Reply via email to