search for: pclist

Displaying 1 result from an estimated 1 matches for "pclist".

Did you mean: dclist
2006 Apr 14
0
Revised smb-wall (Was: smbclient -M --> ERRmsgoff?)
...========================================== ====== $smbstatus = "/usr/bin/smbstatus -S"; $smbshout = "/usr/bin/smbclient -M"; $nmblookup = "/usr/bin/nmblookup -A"; if (@ARGV) { @clients = @ARGV; undef @ARGV; } else { # no clients specified explicitly open(PCLIST, "$smbstatus |") || die "$smbstatus failed!.\n$!\n"; while(<PCLIST>) { last if /^Locked files:/; split(' ', $_, 6); # do not accept this line if less then six fields next unless $_[5]; # if you have A LOT of clients you m...