Back to vBulletin 3.6 Add-ons

vBulletin Ldap Authentication Plugin
Mod Version: 1.00, by malcolmx

This modification is in the archives.
vB Version: 3.6.10 Rating: (9 votes - 4.67 average) Installs: 44
Released: 31 May 2007 Last Update: Never Downloads: 502
Not Supported Uses Plugins Code Changes Additional Files Re-usable Code Translations  

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 http://www.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:
  1. copy ldapAuth directory to your vb forum installation directory
  2. change the path to controller.php directory in ldap-plugin.xml
  3. copy the hooks_ldap.xml to FORUM_ROOT/inclucdes/xml directory
  4. in login.php search for:
    PHP Code:
    if ($vbulletin->GPC['vb_login_username'] == '')
             {
              eval(
    standard_error(fetch_error('badlogin'$vbulletin->options['bburl'], ....
             } 
    insert below:
    PHP Code:
    ($hook vBulletinHook::fetch_hook('ldap_login_hook')) ? eval($hook) : false
  5. activate plugin system (if not done already) in admincp
  6. in admin cp import the product at "Download / Upload" Plugins
  7. in global.php search for:
    PHP Code:
    $show['nopasswordempty'
    and change:
    PHP Code:
    defined('DISABLE_PASSWORD_CLEARING') ? 0
    to:
    PHP Code:
    defined('DISABLE_PASSWORD_CLEARING') ? 1
  8. configure the ldap settings in: ldapconfig.inc.php
  9. test the product


Additional Notes:
If you are running a Microsoft Active Directory as Ldap server you have to change some settings to allow anonymous queries. This is described at
http://www.novell.com/coolsolutions/appnote/15120.html and http://support.microsoft.com/kb/320528

I would be happy if you support my modification in any way. Install or nominate it or donate some cents at paypal.

Download

This modification is archived, downloads are still allowed.

File Type: %1$s ldapAuth.zip (4.5 KB, 531 downloads)

Addons

Supporters / CoAuthors

  • malcolmx

Similar Mods

Miscellaneous Hacks LDAP Authentication Modification Graveyard
Integration with vBulletin LDAP Authentication vBulletin 3.6 Add-ons

vblts.ru supports vBulletin®, 2022-2024