My issue is with ldap, which i am using on a number of applications. I've changed constants_ldap to
Code: Select all
$PMF_LDAP['ldap_mapping'] = array ( 'name' => 'cn', 'username' => 'samaccountname', 'mail' => 'mail');
Now when any user logs in with their AD user/pwd, everything is fine, all user tables are populated. However if they log in with JUST their username, it still authenticates, but all user info is wiped out (email, display name etc.) a wrong password behaves as expected with the message User or password not valid.