vBulletin Ldap Authentication Plugin (v1.0)
I am using vbulletin for a long time now and before there was the plugin system introduces i hacked every single version of vb to enable ldap authentication. with the introduction of the plugin system i have written a little plugin that works in every version since VBulletin 3.5. This Plugin is the buyable VBulletin Ligh Authentication from sartori.at. now its FREE.
Since its working and i will not enhance this small plugin anymore, i will make it public. If there are any enhancements, i can put it into my versioning system and update this plugin.
In contrast to the ldap authentication from zemic my board can authenticate against every - already deployed - ldap directory without changeing the encryption type.
If the ldap user is not added in the VBulletin database, the user is automatically added the first time he authenticates against the ldap. if the user already exists then nothing is changed, except the authentication against the directory.
in the admin or moderator panel no user is authenticated against the directory.
Requirements
php with ldap support
Installation Notes:
I am using vbulletin for a long time now and before there was the plugin system introduces i hacked every single version of vb to enable ldap authentication. with the introduction of the plugin system i have written a little plugin that works in every version since VBulletin 3.5. This Plugin is the buyable VBulletin Ligh Authentication from sartori.at. now its FREE.
Since its working and i will not enhance this small plugin anymore, i will make it public. If there are any enhancements, i can put it into my versioning system and update this plugin.
In contrast to the ldap authentication from zemic my board can authenticate against every - already deployed - ldap directory without changeing the encryption type.
If the ldap user is not added in the VBulletin database, the user is automatically added the first time he authenticates against the ldap. if the user already exists then nothing is changed, except the authentication against the directory.
in the admin or moderator panel no user is authenticated against the directory.
Requirements
php with ldap support
Installation Notes:
- copy ldapAuth directory to your vb forum installation directory
- change the path to controller.php directory in ldap-plugin.xml
- copy the hooks_ldap.xml to FORUM_ROOT/inclucdes/xml directory
- in login.php search for:
PHP:if ($vbulletin->GPC['vb_login_username'] == '') { eval(standard_error(fetch_error('badlogin', $vbulletin->options['bburl'], .... }
insert below
PHP:($hook = vBulletinHook::fetch_hook('ldap_login_hook')) ? eval($hook) : false;
- activate plugin system (if not done already) in admincp
- in admin cp import the product at "Download / Upload" Plugins
- in global.php search for:
PHP:$show['nopasswordempty']
and change this
PHP:defined('DISABLE_PASSWORD_CLEARING') ? 1 : 0;
to this:
PHP:defined('DISABLE_PASSWORD_CLEARING') ? 0 : 1;
- configure the ldap settings in: ldapconfig.inc.php
- test the product