RuLdapAuthenticator.php error in PHP error_log

Project:RUcore Account & Single Sign-on
Version:7.3
Component:Authentication Module
Category:bug report
Priority:normal
Assigned:triggs
Status:closed
Description

[14-Mar-2014 09:21:11 America/New_York] PHP Warning: Invalid argument supplied for foreach() in /mellon/htdocs/rucore/account/library/classes/RuLdapAuthenticator.php on line 91
[14-Mar-2014 10:38:56 America/New_York] PHP Warning: Invalid argument supplied for foreach() in /mellon/htdocs/rucore/account/library/classes/RuLdapAuthenticator.php on line 91

I am not sure what caused it but I saw these in the log this morning. It might be related to the lack of email address supplied in come cases by LDAP.

Comments

#1

Assigned to:yuyang» triggs

I re-assign this to Jeffery, as it looks the error comes from Shib/Ldap module. -YY

#2

Status:active» test

See if this works for the email.

Jeffery

#3

No idea how to test. Please provide the test case. I just randomly stumbled upon this in the logs.

#4

I think the test for the email subarray should now return an empty value for $user_info['email']. We need someone without an email to test it I think.

#5

Status:test» fixed

User logged in using NetID credentials that had no email in the LDAP record. Error was not seen in log.

#6

Status:fixed» closed

Back to top