_loglevel) { $output = '[DEBUG] '; break; case ADAI_LOG_INFO: $output .= 'info">[INFO] '; break; case ADAI_LOG_NOTICE: $output .= 'NOTICE">[NOTICE] '; break; case ADAI_LOG_WARN: $output .= 'warn">[WARN] '; break; case ADAI_LOG_ERROR: $output .= 'error">[ERROR] '; break; case ADAI_LOG_FATAL: $output .= 'fatal">[FATAL] '; break; default: $output .= 'debug'; } $output .= str_replace("\n","
",$info).'

'; echo $output; } } } define('ADINTEGRATION_DEBUG', true); if (class_exists('ADAuthInt_Plugin')) { $ADI = new TestADIntegrationPlugin(); } else { die('Plugin missing.'); } $ADI->setLogLevel(ADAI_LOG_DEBUG); /*$ADI->_set_masked_passwords_for_log( false );*/ ?> ADI Test

AD Integration Logon Test

authenticate(NULL, $_REQUEST['user'], $_REQUEST['password']); ?>