share 'authmap' table or not?

Events happening in the community are now at Drupal community events on www.drupal.org.
sourcesoft's picture

What I'm trying to do is a whole different sites connected to each other that has different content on each site, but are using the same userbase. nothing's gonna share except user and registering.
I've read tons of article about how to share Multi-site.

Some says

I believe 'authmap needs' to be separate and not shared in the case you have two sites and the same user logs into both with the same username, but their uid is different on each site. When you log in it attempts to update the row, but if you have a diff uid it throws an error since it can't find a perfect match.

And some articles share 'authmap' table.
looks like this:

$db_prefix = array(
'default'   => 'site_1_',
'users'     => 'shared_',
'sessions'  => 'shared_',
'role'      => 'shared_',
'authmap'   => 'shared_',
'sequences' => 'shared_',
'profile_fields' => 'shared_',
'profile_values' => 'shared_',
'users_roles' => 'shared_',
);

So if you guys have anything to share or tested sth guide me though. should I share 'authmap' or not? why?
thx for your times

Comments

See this example here --

btopro's picture

See this example here -- http://groups.drupal.org/node/19473#comment-67920

you can but don't have to share authmap. Authmap should only be getting pinged on when accounts are mapped from a source outside of drupal. Also,

You probably don't want to share sessions, especially if they are different domains
only share users_roles if they are to be the same person in every site
sequences isn't used in D6 so if this is a D5 site what I'm saying might not be relevant to your situation but I don't believe there are any changes in that area from 5 to 6

Multisite

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: