BellevueCollege / wordpress-cas-client

A CAS client plugin for Wordpress sites, forked from http://wordpress.org/support/plugin/wpcas-w-ldap
GNU General Public License v2.0
11 stars 8 forks source link

0 - New user not able to login #47

Closed TriptiSharma closed 11 years ago

TriptiSharma commented 11 years ago

After finishing Issue #19 and Issue #39 I am encountering that new users are not able to login. CAS throws an error: ERROR: Anonymous bind to LDAP failed.User not found in LDAP

jonathanwindle-zz commented 11 years ago

It appears the password is not being decrypted before the LDAP connection is attempted.

https://github.com/BellevueCollege/wordpress-cas-client/blob/dev/wordpress-cas-client.php#L327

TriptiSharma commented 11 years ago

@jonathanwindle The credentials are correct I verified them before filing the bug.

Problem: Application was not able to connect on port 636 (host - apex.bellevuecollege.edu and port - 636). This task will be resolved in Issue #16

I don't know why this works but if you set the hostname - ldaps://apex.bellevuecollege.edu and port at 636 it works.

I have not changed my code to support this thing since #16 will take care of this.