Back to vBulletin 4.x Add-ons

vBulletin Ldap Authentication Plugin 1.0.1
Mod Version: 1.01, by malcolmx

vB Version: 4.0.0 Rating: (3 votes - 4.33 average) Installs: 27
Released: 02 Jan 2010 Last Update: Never Downloads: 422
Not Supported Uses Plugins Code Changes Additional Files Re-usable Code  

This is a very small plugin for enabling ldap authentication for vBulletin Suite 4. The original version is from http://www.sartori.at/.

if you need any help installing the plugin, please post into this thread here.

if you need any extra changes i will modify the plugin for extra charge.

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/includes/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'], ....
             } 
    add hook after if statement, becomes:
    PHP Code:
    (if ($vbulletin->GPC['vb_login_username'] == ''

      eval(
    standard_error(fetch_error('badlogin'$vbulletin->options['bburl'], .... 

    (
    $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 "Plugins & Products -> Download / Upload Plugins", use "Import Plugin Definitions XML File" at the bottom of the page, example import input './ldapAuth/ldap-plugin.xml'
  7. recheck if the include for controller.php is right
  8. in includes/class_bootstrap.php search for:
    PHP Code:
    $show['nopasswordempty'
    and change:
    PHP Code:
    defined('DISABLE_PASSWORD_CLEARING') ? 0
    to:
    PHP Code:
    defined('DISABLE_PASSWORD_CLEARING') ? 1
  9. configure the ldap settings in: ldapconfig.inc.php
  10. 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.

vBulletin 3.6 version

Download

File Type: %1$s ldapAuth_1.0.1.zip (6.4 KB, 408 downloads)

Supporters / CoAuthors

  • malcolmx

Similar Mods

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

vblts.ru supports vBulletin®, 2022-2024