I partially succeded doing the following:
1) i set up ldap authentication (in config/config_inc.php) towards an AD controller (so far so good)
2) changed the file core/authentication.php with the following code (seen on the forums) from
Code: Select all
if ( LDAP == $t_configured_login_method ) {
return ldap_authenticate( $p_user_id, $p_test_password );
}
Code: Select all
if ( LDAP == $t_configured_login_method ) {
if ( ldap_authenticate( $p_user_id, $p_test_password ) ) {
return true;
}
}
4) setup the local users passwords directly from within mysql with the query:
Code: Select all
update mantis_user_table set password=md5('yourpassword') where username='the_username_created_via_gui';
what should i do to avoid the password update?
thanks in advance