I am using Drupal 4.7.0 and am trying to make single sign-on work on two websites. let's call them www.example.com (master) and www.example.com/one

The database for www.example.com is prefixed main_, and http://www.example.com is set as the Master URL in both installs of singlesignon.

If I login on the master site-everything works well until I click on the link directing me to http://www.example.com/one. Then I get a "page not found" error and TWO copies of "singlesignon/initial_check not found" error messages logged, one for the anonymous user and one for the user I am logged in as. (The "page not found" error may be spurious, since I am not sure I have front_page configured correctly for the sub-site.) The URL which I am sent to (suitably munged) is

http://www.example.com/one/?q=singlesignon/initial_check&slave_session=7...

If I start on the homepage of the slave site, http://www.example.com/one, and login directly to the slave site, the log shows

  • A singlesignon/initial_check not found" error message generated for the anonymous user
  • A session started message for the logged in user
  • A singlesignon/initial_check not found" error message generated for the logged in user
  • A singlesignon/login not found" error message generated for the logged in user

My server is Mac OS X (10.3) with Apache 1.3.33 and PHP 4.3.11.

Thanks

Joe

Comments

danielc’s picture

Assigned: Unassigned » danielc
Category: support » bug

I just made some changes. I don't think they'll fix the issue you're having, but let's make sure before we go hunting your issue down. Can you get the latest version from CVS?

Thanks,

--Dan

Anonymous’s picture

Not much different. v1.15 2006/07/09 I'm beginning to think OS X server quirks. Wouldn't be the first time it's happened to me.

danielc’s picture

Are you still having problems? If so, you'll need to debug things and come up with a patch. If the problem was a configuration thing, please let us know what was going on.

danielc’s picture

Status: Active » Closed (fixed)

Considering I haven't heard back from you and that other users are not having a problem, I'm going to assume there's a configuration issue with your system.

I've modified the installation instructions. You can find them at the top of the latest version of the singlesignon.module file.

Good luck.