View Issue Details

IDProjectCategoryView StatusLast Update
194Composrldappublic2010-07-22 18:00
ReporterGuest Assigned ToChris Graham  
PrioritynormalSeverityminor 
Status resolvedResolutionfixed 
Summary194: LDAP users can not log in.
DescriptionLDAP 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 Reproducea) configure LDAP
b)LDAP user enters username and password, press "log in"
c)checks his email address and time, and press "proceed".
Additional InformationSolution:
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.
TagsNo tags attached.
Attach Tags
Time estimation (hours)
Sponsorship open

Sponsor

Date Added Member Amount Sponsored

Activities

Chris Graham

2010-07-22 18:00

administrator   ~65

Thank you. Fixed this in v5 already as our code checker picked up on it too. I'm not sure why it was commented out either!

Would happen for all PHP installs as Composr turns notices on.

Issue History

Date Modified Username Field Change