My concern is that the AD/LDAP component, having been written by Nagios, takes advantage of integration that only Nagios can provide within the encrypted PHP code. In other words, if I were to simply use the AD/LDAP component structure, but insert an alternative authentication method that would operate in the same manner as the active_directory_component_check_authentication function, would it even work?
For example, if my code's logic during a successful authentication sets
Code: Select all
$cbargs["login_ok"]=1;