#194 - LDAP users can not log in.

  • By
  • Added
  • 24 views
Identifier #194
Issue type Minor issue (breaks specific functionality)
Title LDAP users can not log in.
Status Completed
Handling member Chris Graham
Addon ldap
Description LDAP is configured in "member and forum" and in "security"
LDAP is Active directory
a)LDAP user enters username and password, press "log in"
b)checks his email address and time [I have configured these two to check] , and press "proceed".

error apears: PHP NOTICE [8] Undefined variable: groups in sources/cns_members_action2.php on line 130.
Steps to reproduce

a) configure LDAP

b)LDAP user enters username and password, press "log in"

c)checks his email address and time, and press "proceed".

Additional information Solution:
edit file: sources/cns_members_action2.php
line: 98 - 114
remove comment symbols "/*" and */

I don't know why these lines where commented, but now LDAP users can normally log in.
I have not mentioned other errors related with uncommented lines.

This problem will not appear if PHP server is configured no to show NOTICES.
Funded? No
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated