LDAP Tools/Core Alterations

From Authentication Tools for Joomla! (JAuthTools)

Jump to: navigation, search

This page documents any Core alterations that could be made to better support LDAP integration into Joomla!.

Joomla! 1.0 Hacks

These hacks are specific to Joomla! 1.0 and have only been tested against listed releases.

Enabling LDAP Tools in the Backend

Due to the nature of LDAP Tools, it never runs in the Joomla! back end. This means that any initial LDAP login must occur in the front end where the system will synchronize the username and password with the Joomla! one before they can log into the back end successfully. This is due to the backend lacking an 'onAfterStart' trigger.

Starting with JAuthTools for Joomla! 1.0.x version 1.0.3 this hack is supported within the LDAP SSI bot. This hack has been tested against Joomla! 1.0.12

Within the /administrator/index.php file:

// mainframe is an API workhorse, lots of 'core' interaction routines
$mainframe = new mosMainFrame( $database, $option, '..', true );

// load system bot group
$_MAMBOTS->loadBotGroup( 'system' );

// trigger the onAfterStart events
$_MAMBOTS->trigger( 'onAfterStart' );

if (isset( $_POST['submit'] )) {
Personal tools