ShMaunder / JMapMyLDAP

LDAP Integration for Joomla! 2.5+
shmanic.com/tools/jmapmyldap
26 stars 19 forks source link

Incorrect detection of SSO plug-ins logged #18

Open ShMaunder opened 10 years ago

ShMaunder commented 10 years ago

Reported from several users, but have not tried to reproduce yet.

The error: 15068 No SSO detection plug-ins found. is logged in the error log even when SSO plug-ins are enabled. It appears this only happens when the detect user method fails in a SSO plug-in.

OneSpecialPeg commented 9 years ago

We are getting this reported sso.debug.php.

2014-12-10T05:30:13+00:00   15068   No SSO detection plug-ins found.
2014-12-10T05:30:13+00:00   15068   No SSO detection plug-ins found.
2014-12-10T05:31:44+00:00   15068   No SSO detection plug-ins found.
2014-12-10T05:31:44+00:00   15068   No SSO detection plug-ins found.
2014-12-10T05:33:06+00:00   15068   No SSO detection plug-ins found.
2014-12-10T05:33:07+00:00   15068   No SSO detection plug-ins found.
2014-12-10T05:35:48+00:00   15068   No SSO detection plug-ins found.
2014-12-10T05:35:49+00:00   15068   No SSO detection plug-ins found.
2014-12-10T05:37:03+00:00   15068   No SSO detection plug-ins found.
2014-12-10T05:37:03+00:00   15068   No SSO detection plug-ins found.
2014-12-10T05:40:27+00:00   15068   No SSO detection plug-ins found.
2014-12-10T05:40:27+00:00   15068   No SSO detection plug-ins found.
2014-12-10T05:44:13+00:00   15068   No SSO detection plug-ins found.
2014-12-10T05:44:13+00:00   15068   No SSO detection plug-ins found.
2014-12-10T05:45:44+00:00   15068   No SSO detection plug-ins found.
2014-12-10T05:45:44+00:00   15068   No SSO detection plug-ins found.
2014-12-10T05:47:06+00:00   15068   No SSO detection plug-ins found.
2014-12-10T05:47:07+00:00   15068   No SSO detection plug-ins found.
2014-12-10T05:49:47+00:00   15068   No SSO detection plug-ins found.
2014-12-10T05:49:47+00:00   15068   No SSO detection plug-ins found.
2014-12-10T05:51:03+00:00   15068   No SSO detection plug-ins found.
2014-12-10T05:51:03+00:00   15068   No SSO detection plug-ins found.
2014-12-10T05:54:27+00:00   15068   No SSO detection plug-ins found.
2014-12-10T05:54:27+00:00   15068   No SSO detection plug-ins found.
2014-12-10T05:58:13+00:00   15068   No SSO detection plug-ins found.
2014-12-10T05:58:13+00:00   15068   No SSO detection plug-ins found.
2014-12-10T05:59:44+00:00   15068   No SSO detection plug-ins found.
2014-12-10T05:59:44+00:00   15068   No SSO detection plug-ins found.
2014-12-10T06:01:06+00:00   15068   No SSO detection plug-ins found.
2014-12-10T06:01:07+00:00   15068   No SSO detection plug-ins found.
2014-12-10T06:03:47+00:00   15068   No SSO detection plug-ins found.
2014-12-10T06:03:47+00:00   15068   No SSO detection plug-ins found.
2014-12-10T06:05:03+00:00   15068   No SSO detection plug-ins found.
2014-12-10T06:05:03+00:00   15068   No SSO detection plug-ins found.
2014-12-10T06:08:27+00:00   15068   No SSO detection plug-ins found.
2014-12-10T06:08:27+00:00   15068   No SSO detection plug-ins found.
2014-12-10T06:12:12+00:00   15068   No SSO detection plug-ins found.
2014-12-10T06:12:13+00:00   15068   No SSO detection plug-ins found.

However the behavior is as expected. Is this a real error or can it be ignored?

nerdican commented 9 years ago

I am having the same problem with Joomla 3.3.6 and JMapMyLDAP v.2 LDAP works great but I cannot get the SSO function to work when turned on however the dummy.sso feature works.

ShMaunder commented 9 years ago

This could be a real error depending on whether there is any SSO plug-in enabled. If I remember correctly it will print even when there is an SSO plug-in enabled, but no SSO user was detected with the plug-in. I thought I had fixed this in Git somewhere - will find out for the 2.0.3 release though.

If the dummy plug-in works then that means the framework is working correctly. Just the SSO plug-in itself is not which may indiciate an issue with your setup for that specific SSO feature (e.g. if using HTTP SSO then is the REMOTE_USER variable populated in phpinfo?).

nerdican commented 9 years ago

I have checked and I did not find this REMOTE_USER available to me. I have attempted to install the module but have ran into a road block. http://community.spiceworks.com/topic/741733-linux-lamp-sso?page=1#entry-4205192

Danny Santiago Information Systems – Systems Administrator City of Lewiston x6217 208-798-2535 dsantiago@CityOfLewiston.orgmailto:dsantiago@CityOfLewiston.org [EMAIL-LARGE-MasterLogo]

From: Shaun Maunder [mailto:notifications@github.com] Sent: Sunday, January 18, 2015 2:42 PM To: ShMaunder/JMapMyLDAP Cc: Danny Santiago Subject: Re: [JMapMyLDAP] Incorrect detection of SSO plug-ins logged (#18)

This could be a real error depending on whether there is any SSO plug-in enabled. If I remember correctly it will print even when there is an SSO plug-in enabled, but no SSO user was detected with the plug-in. I thought I had fixed this in Git somewhere - will find out for the 2.0.3 release though.

If the dummy plug-in works then that means the framework is working correctly. Just the SSO plug-in itself is not which may indiciate an issue with your setup for that specific SSO feature (e.g. if using HTTP SSO then is the REMOTE_USER variable populated in phpinfo?).

— Reply to this email directly or view it on GitHubhttps://github.com/ShMaunder/JMapMyLDAP/issues/18#issuecomment-70430091.


[City of Lewiston]http://www.cityoflewiston.org Notice : This email message is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, and is confidential and may be privileged. It is intended only for the designated recipient(s). If you are not the designated recipient, retention, distribution or copying of this email message is prohibited and may be unlawful. Please reply to the sender if you have received this message in error, then delete the message.

harvystanley commented 8 years ago

ShMaunder - You may be on to something with this line... "If the dummy plug-in works then that means the framework is working correctly. Just the SSO plug-in itself is not which may indiciate an issue with your setup for that specific SSO feature (e.g. if using HTTP SSO then is the REMOTE_USER variable populated in phpinfo?)." In my case, the REMOTE_USER variable doesn't exist in phpinfo. I'm no expert on this stuff so I rely on Google and from what I can tell, Apache doesn't populate REMOTE_USER. But it does populate the windows username into a field called USERNAME. Can we easily replace REMOTE_USER with USERNAME?