LDAP login fails
-
I am not able to login to wordpress site using ldap, even if I try with valid credentials. Either I am getting invalid username or incorrect password message while checking with login_rediect hoook.
[19-Jul-2021 07:29:24 UTC] WP_Error Object ( [errors] => Array ( [invalid_username] => Array ( [0] => Unknown username. Check again or try your email address. ) ) [error_data] => Array ( ) )
[19-Jul-2021 07:31:16 UTC] WP_Error Object ( [errors] => Array ( [incorrect_password] => Array ( [0] => <strong>Error</strong>: The password you entered for the email address <strong>[email protected]</strong> is incorrect. <a href="https://firebolt.app/wp-login.php?action=lostpassword">Lost your password?</a> ) ) [error_data] => Array ( )
But below command gives this error –
ldapsearch -x -D "uid=neenu,ou=people,dc=exammple,dc=com" -W -H "ldaps://ldap.exammple.com:636" -b "ou=people,dc=exammple,dc=com" -s sub 'uid=neenu07' Enter LDAP Password: ldap_bind: Invalid credentials (49)
But below commands gives results –
ldapsearch -x -b 'ou=people,dc=exammple,dc=com' -H ldaps://ldap.exammple.com:636 ldapsearch -H ldaps://ldap.exammple.com:636 -x
Viewing 14 replies - 1 through 14 (of 14 total)
Viewing 14 replies - 1 through 14 (of 14 total)
- The topic ‘LDAP login fails’ is closed to new replies.