Registrations to Open-AudIT forums are now closed. To ask any new questions please visit Opmantek Community Questions.

Open-AudIT

What's on your network?
It is currently Fri Mar 29, 2024 7:33 am

All times are UTC + 10 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
PostPosted: Thu May 27, 2010 4:14 am 
Offline
Moderator

Joined: Fri Jul 20, 2007 8:27 am
Posts: 1259
We use Citrix for our Terminal Services here and our virtual printers are inventoried and clutter up the search results and printer stats. Looking through admin_pc_add_2.php it looks like this is not intentional.

Citrix maps printers like this "PrinterName on ServerName (from ClientName) in session 4" with a port name of CLIENT. To handle this I've added an "in session" port_name filter to insert_printer in admin_pc_add_2.php. For completeness I've also added a port_name filter for "CLIENT".

[code] if ((strpos($printer_caption,'PDF') !== false) OR (strpos($printer_caption,'__') !== false) OR (strpos($printer_caption,'in session') !== false) OR (strpos($printer_caption,'Microsoft') !== false)){
[/code]

[code] if (($printer_system_name == $system_name) AND
($printer_port_name !== "FILE:") AND
($printer_port_name !== "MSFAX:") AND
($printer_port_name !== "SHRFAX:") AND
($printer_port_name !== "BIPORT") AND
($printer_port_name !== "CLIENT") AND
(substr($printer_port_name,0,2) !== "TS") AND
($printer_port_name !== "SmarThruFaxPort")) {[/code]


Top
 Profile  
Reply with quote  
PostPosted: Thu May 27, 2010 8:49 pm 
Offline
Open-AudIT Fellow

Joined: Thu May 17, 2007 5:47 pm
Posts: 568
Location: Italy
Fixed at SVN rev. 1238. Thanks

_________________
Edoardo


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC + 10 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group