Open-AudIT
https://www.open-audit.org/phpBB3/

printer table doesn't exist
https://www.open-audit.org/phpBB3/viewtopic.php?f=8&t=3223
Page 1 of 1

Author:  Dancelot [ Wed Mar 25, 2009 10:39 am ]
Post subject:  printer table doesn't exist

I'm on SVN 1139.

I was checking out the audit_linux.sh script and the comment under the Printer Info section says that the printer info is successfully gathered from the client but doesn't seem to be posted to the DB.

I followed the code and it turns out that the function insert_printer (in admin_pc_add_dir.php) is trying to insert the entries into a non-existent 'printer' table.

The only table that has something to do with printers is the 'other' table, where I could see some of the virtual printers have been picked up from my audits, with the type = 'printer'.

Does the 'printer' table need to be put back on or are printers meant to go to the 'other' table?

Author:  hemtar [ Tue Feb 01, 2011 9:37 pm ]
Post subject:  Re: printer table doesn't exist

I have the same problem with version in the file 20081013.zip.

If a system has network printers, it crashes displaying that message.

What's happening? Is the admin_pc_add_dir.php not reliable? I'm concerned about using another version of this file, because I don't know if the database structure used in other php is the same as the one I'm using.

Thanks in advance.

Author:  hemtar [ Sat Mar 05, 2011 12:58 pm ]
Post subject:  Re: printer table doesn't exist

Hi all,

We finally solve the problem. You just need to copy and paste the printer section from other "add" php and replace the printer section in the admin_add_pc_dir.php (we called it admin_add_pc_dir_2.php ;)

Thank you anyway and we hope this will help someone else!
Regards,

Page 1 of 1 All times are UTC + 10 hours
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/