[Samba] Drop User from Samba
vinh_tran at hn.vnn.vn
vinh_tran at hn.vnn.vn
Tue Apr 20 08:18:55 GMT 2004
Hi Mariusz,
I have same matter and just kill the appropriate SMB process ID
for ex, you can type: kill 1112 to reject user2
Mariusz Woźniak <m.wozniak at agromet.biz>
Sent by: To: samba at lists.samba.org
samba-bounces+vinh_tran=hn.vnn.vn at lists cc:
.samba.org Subject: [Samba] Drop User from Samba
04/20/04 03:00 PM
Please respond to Mariusz Woźniak
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:m.wozniak at agromet.biz
--
To unsubscribe from this list go to the following URL and read the
instructions: http://lists.samba.org/mailman/listinfo/samba
More information about the samba
mailing list