IP Address Management SoftwareThe tool is pretty simple to use but I found the documentation around external authentication somewhat lacking. The default setting in /ipplan/config.php is for internal authentication. The line is specified as 'define(AUTH_INTERNAL, TRUE);' and the documentation simply indicates that you should change AUTH_INTERNALto AUTH_EXTERNAL for external authentication. However I found that in order for the external authentication to work reliably, rather than simply changing the AUTH_INTERNAL parameter I had to leave that line in the config.php file but set it to FALSE and add a second line for AUTH_EXTERNALand set it to TRUE. The autentication section of my config.php file is below.
// settings to alter methods of authentication - either using ipplans // own internal authentication or your own external authentication // NOTE: don't mess with these settings if you are not sure what you // are doing // associative array index which contains current authenticated user // from $_SERVER. This should be set to REMOTE_USER if using external // authentication // define("AUTH_VAR", 'PHP_AUTH_USER'); define("AUTH_VAR", 'REMOTE_USER'); // type of authentication, either internal or external // having issues with external authentication? search for var_dump in // auth.php and follow the instructions above the var_dump line define("AUTH_INTERNAL", FALSE); define("AUTH_EXTERNAL", TRUE); // show logout button - this is not secure, so turned off by default // best method to logoff is to close all browser instances // useful for testing define("AUTH_LOGOUT", FALSE); // default read-only SNMP community string - used for reading routing // tables and probing devices define("SNMP_COMMUNITY", 'public'); // uncomment and config with your CAS server parameters for CAS Authentication // after config as external authentication. // NOTE: set AUTH_INTERNAL to FALSE and AUTH_VAR to REMOTE_USER // as with all external authentication the user must still be created in IPplan define("AUTH_CAS", FALSE); define("AUTH_CAS_SERVER", 'myCASserver.mydomain'); define("AUTH_CAS_PORT", 443); // it's a safe port define("AUTH_CAS_CLASS", 'CAS/CAS.php');