[jadmin] sm requires authentication db package ?

Tomasz Sterna tomek at xiaoka.com
Sat Jul 28 03:40:22 CDT 2007


Dnia 27-07-2007, pią o godzinie 18:02 -0400, Rémi Desmarais napisał(a):
> … but it doesn’t : the client is unable to login. In sm.log of Server
> B I see : 
> 
> [notice] user not found, can't start session:
> jid=client at mainRealm/client
> 
> I did find a workaround : modify sm.xml to connect to mysql at Server
> A also instead of localhost. 
> 
> Does this mean sm also needs both the Application DB package and the
> Authentication DB package ?

After authentication C2S creates a session in SM, which checks if the
user exists in SM storage backend. If it isn't, you get the "user not
found" error.
You may configure SM, to autocreate users in sm.xml. But if your load
balancer is random, and you do not synchronize user data, there will be
two versions of the data for the same JID regarding which of the server
you're on.


-- 
Tomasz Sterna
Xiaoka Grp.  http://www.xiaoka.com/



More information about the JAdmin mailing list