Closed (fixed)
Project:
Single Sign-On (aka SSO or Single Sign On)
Version:
6.x-1.0-rc1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Oct 2009 at 07:06 UTC
Updated:
13 Nov 2009 at 11:50 UTC
Jump to comment: Most recent file
Comments
Comment #1
meba commentedIt's just improperly set up. Can you please try to follow README.txt exactly and then report when do you have problems?
Comment #2
vladsavitsky commentedI have reinstalled sso according to readme.txt and got the same errors.
Reading apache's error_log gives me answer -some functions placed in session.singlesignon.inc is not defined in:
singlesignon_controller.module
singlesignon_client.module
Solution
Add to singlesignon_controller.module:
Add to singlesignon_client.module:
Why duplicate? Including session.singlesignon.inc will bring new error with duplicated functions so this is faster solution.
And I have got error "Underfined index" at line 40 singlesignon_client.module.
Solution
Replace:
with:
After all this SSO is not working!
I'll spend 1 hour to get it working. If it will not work for me - I'll use Shared SingOn.
And why I need a separated domain for contoller?! This is silly because I need to add to my 4-domain-multisite with 650 tables one more site just for SSO?! Why?!
Comment #3
vladsavitsky commentedPS. I don't use Domain Access.
Used simple multisiting with different table prefixes and all tables in one database.
Comment #4
vladsavitsky commentedHEAD from CVS is not working too.
Comment #5
vladsavitsky commentedOk. I did not read README carefully.
I haven't add to settings.php code which adds your fixed session.inc file.
But this only replace all code I have write above.
But path 'singlesignon/claim' is not really exists and I have got error "Access denied. You may need to login below or register to access this page."
In hook_menu implementation in client-module I didn't found this url. So there is no callback for it.
How to fix it?
Comment #6
vladsavitsky commentedThis is a debug log for one page request at client-site. See attach.
Comment #7
vladsavitsky commentedProblem was solved.
At database table users was removed record for user with uid=0 so sessions for anonymous user was not craeted at all!
So I create this user manualy:
I'm not one who changes site so I don't even know who did this!
Now all work fine.
Thanks.