Posted by drupalworld on January 17, 2007 at 8:51am
Jump to:
| Project: | Shared Sign-On |
| Version: | master |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | danielc |
| Status: | closed (fixed) |
Issue Summary
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
Comments
#1
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
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
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
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!