/[drupal]/contributions/modules/singlesignon/README
ViewVC logotype

Diff of /contributions/modules/singlesignon/README

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.1, Fri May 2 03:20:00 2008 UTC revision 1.2, Mon May 5 04:16:17 2008 UTC
# Line 0  Line 1 
1    Enables "Single Sign-Ons" between related Drupal sites on one server
2    with a shared database.
3    
4    Installation and activation are simple:
5      + Put this file in your modules directory.
6      + If you're not also using the "domain" module
7        + If you haven't done so already, create site sub-directories in the
8          "sites" directory for each of your domains.  Put "settings.php"
9          files in each of those directories.  Edit each of the settings.php
10          files to values appropriate for the given domain.
11        + Make sure the "$db_prefix" variable is set correctly in each
12          settings.php file (see details below).
13        + Create the site specific and shared database tables defined in the
14          "$db_prefix" variable (see details below).
15        + On each site, starting with the master site:
16           + Log in as administrator.
17           + Enable the "singlesignon" module
18              (via the checkbox in the administer | modules interface).
19           + Enter the URL of the master site
20              (via administer | settings | singlesignon).
21        + Delete cookies from all of your Drupal sites.
22    
23    This module relies on several tables being shared between the master and
24    slave sites.  Here is an example of the "$db_prefix" variable you need to
25    establish in all of your "settings.php" files in the "sites" directory.
26    Each site should have a unique name in place of "somesitename_".  While
27    you can rename "shared_" to something else, the prefixes must be the
28    same for all sites.
29    
30    $db_prefix = array(
31      'default'        => 'somesitename_',
32      'authmap'        => 'shared_',
33      'profile_fields' => 'shared_',
34      'profile_values' => 'shared_',
35      'role'           => 'shared_',
36      'sequences'      => 'shared_',
37      'sessions'       => 'shared_',
38      'users'          => 'shared_',
39      'users_roles'    => 'shared_',
40      'users_uid_seq'  => 'shared_',  // for pgsql
41    );
42    
43    link:     http://drupal.org/project/singlesignon
44    author:   Daniel Convissor <danielc@analysisandsolutions.com>

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.2