Single sign on for drupal 5

drupalworld - January 17, 2007 - 08:51
Project:Shared Sign-On
Version:HEAD
Component:Code
Category:feature request
Priority:normal
Assigned:danielc
Status:closed
Description

Any idea when this module will be upgraded to drupal 5?
I haven't tested it yet, but it sounds like a useful module :)
Drupalworld

#1

danielc - January 17, 2007 - 16:45
Version:4.7.x-1.x-dev» HEAD

I made Drupal 5 related changes in CVS on HEAD a few weeks ago. I haven't tested them and don't have the ability to do so at the moment. Can you please test them? If it works, I'll tag the branch accordingly. If it doesn't work, please provide a patch.

#2

cbutera - January 17, 2007 - 17:19

I just tried it - but it doesn't seem to be working for me - all I get is:
Sorry, unrecognized username or password. Have you forgotten your password?

Here's my setup:
Environment:
Drupal 5.0
Configuration file Protected
Cron maintenance tasks Last run 1 min 53 sec ago
You can run cron manually.
Database schema Up to date
File system Writable (public download method)
MySQL database 5.0.22
PHP 5.1.6
Unicode library PHP Mbstring Extension
Web server Apache/2.2.0 (Fedora)

Main site:
drupal.mydomain.org
Enabled singlesignon module
Entered http://drupal.mydomain.org in the settings page.
No database prefix

Secondary site:
students.mydomain.org
Enabled singlesignon module
Entered http://drupal.mydomain.org in the settings page.
Shared DB
Settings.php:
$db_prefix = array(
'default' => 'kids_',
'authmap' => '',
'profile_fields' => '',
'profile_values' => '',
'role' => '',
'sequences' => '',
'sessions' => '',
'users' => '',
'users_roles' => ''
);

Did I set it all up correctly? Where can I look to help debug?

#3

danielc - January 20, 2007 - 18:04
Assigned to:Anonymous» danielc

No, you didn't set it up correctly. I just edited the installation instructions at the top of the singlesignon.module file. See version 1.21 of the file:
http://cvs.drupal.org/viewcvs/drupal/contributions/modules/singlesignon/...

I hope that helps.

#4

cbutera - January 21, 2007 - 19:58
Status:active» closed

Not sure what I did wrong above - but I dl'd the new version and set it up again and it seems to be working nicely now.

I chose not to prefix the users tables at all - just use my main site with no prefixes - and my secondary site was prefixed except for linking to the user tables in the main site.

Thanks for the help!

 
 

Drupal is a registered trademark of Dries Buytaert.