Skip to end of banner
Go to start of banner

Active Directory auth failing in 1.12

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

If you use Active Directory authentication and are using Open-AudIT 1.12 it will likely be failing.

If you do not use Active Directory authentication, this should not affect you.

This will also only affect Active Directory validated logins to Open-AudIT Enterprise (not Community).

You can confirm this by viewing the apache log. It will contain entries like the below.

[Thu Mar 03 09:35:29.153738 2016] [:error] [pid 32256] [client 127.0.0.1:40222] PHP Fatal error:  Call to undefined method M_userlogin::clean_sql() in /usr/local/open-audit/code_igniter/application/models/m_userlogin.php on line 47

To fix this issue (before we release 1.12.2) you can edit the file:

Linux - /usr/local/open-audit/code_igniter/application/models/m_userlogin.php

Windows - c:\xampplite\open-audit\code_igniter\application\models\m_userlogin.php

You need to remove the clean_sql function, so please replace line 47 with the below.

        $sql = '/* M_userlogin::validate_user */ ' . $sql;

And please replace line 126 with the below.

        $sql = '/* M_userlogin::get_user_details */ ' . $sql;

 

This bug has already been fixed for our next release. Apologies for any inconvenience caused.

 
  • No labels