For all the people interested to authenticate the users
to an LDAP server, here is a patch to allows that. I'm
not sure this is the correct way to enable another
authentication method but it worked for me.
To install you need to overwrite the two files inside and
to modify the OPT_LDAPAuth class in the local.inc file to
configure your LDAP server. I tested with anonymous
and registered user and it worked fine.
Variables to define:
$ldap_host = "ldapserver.domain.com";
$ldap_port = "389";
$ldap_base_dn = "ou=accounts,dc=company,dc=com";
$ldap_admin_dn = NULL (for anonymous);
$ldap_admin_pwd = NULL (for anonymous);
Hope it helps!!!
Log in to post a comment.