banning IP addresses in samba
I run Mandrake 10.0 in a building where 99% of users run some version of Windows. Every couple of days the printer attached to my machine starts printing meaningless garbage (!!) consisting of a seemingly random selection of symbols across the top few lines of each page. The user connecting to my machine isn't supposed to be - he's in a completely different office etc - and I want to be able to prevent his machine from connecting to mine and running these print jobs. When i do ps -aux the relevant entry is as follows:
root 3117 0.1 0.3 3072 816 ? S 16:40 0:01 parallel:/dev/lp0 23 jonck smbprn.00000028 Remote Downlevel Document 1 /var/spool/cups/d00023-001
I also know the guys IP address from the samba log file - is it possible to prevent just this machine from connecting with this info?
Many thanks in advance.