I am stuck with getting this MOD to work with 3.8.4. I have done the following:
1) Uploaded the hooks_ldap_auth.xml to the includes/xml directory.
2) Uploaded the hooks_ldap.xml (from the previous LDAPAuth for creating a hook in the /login.php file) to the includes/xml directory.
3) Imported this product via the Manage Product option in the vBulletin admin interface
4) Added the following line in the login.php file as instructed in the previous LDAPAuth module for creating a hook...
($hook = vBulletinHook::fetch_hook('ldap_login_hook')) ? eval($hook) : false;
after the following codes:
if ($vbulletin->GPC['vb_login_username'] == '')
{
eval(standard_error(fetch_error('badlogin', $vbulletin->options['bburl'], $vbulletin->session->vars['sessionurl'], $strikes)));
}
5) Changed the following line in the global.php file....
$show['nopasswordempty'] = defined('DISABLE_PASSWORD_CLEARING') ? 1 : 0; // this nees to be an int for the templates
to the following codes:
$show['nopasswordempty'] = defined('DISABLE_PASSWORD_CLEARING') ? 0 : 1; // this nees to be an int for the templates
The main configuration in the LDAP Authorization window that I am most confused about the LDAPBase DN, which I have configured as follows:
cn=nsidc,dc=colorado,dc=edu,ou=people
Any assistance with getting this to work would be great!
|