[jadmin] sm requires authentication db package ?

Rémi Desmarais desre at touchtunes.com
Fri Jul 27 17:02:11 CDT 2007


I have 2 jabberd2 2.0s11 installed, one on server A, one on server B. 

 

Server A 

-          c2s.xml : connect to mysql at localhost.

-          Realm=mainRealm

-          mainRealm resolves to Server A locally

 

Server B

-          c2s.xml : connect to mysql at A

-          Realm=mainRealm

-          mainRealm resolves to Server B locally

 

My clients connect thru a firewall/load balancer with jid=client at mainRealm and are redirected to A or B. 

 

From what I understand of the architecture (see http://jabberd2.xiaoka.com/wiki/InstallGuide/Jabberd2Architecture , section 13.2. Jabberd 2 Component Architecture) , only c2s needs access to the authentication db package (i.e. table authreg). Since both c2s use the same DB to authenticate the user, everything *should* work fine.

 

... 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 ? Am I missing something ? Anybody know if this is a bug or if this IS how it's supposed to work ?

 

Thanks for any info,

Rémi

 

 


CONFIDENTIALITY CAUTION 
This e-mail and any attachments may be confidential or legally privileged. If you received this message in error or are not the intended recipient, you should destroy the e-mail message and any attachments or copies, and you are prohibited from retaining, distributing, disclosing or using any information contained herein. Please inform us of the erroneous delivery by return e-mail. Thank you for your cooperation.
DOCUMENT CONFIDENTIEL 
Le présent courriel et tout fichier joint à celui-ci peuvent contenir des renseignements confidentiels ou privilégiés. Si cet envoi ne s'adresse pas à vous ou si vous l'avez reçu par erreur, vous devez l'effacer. Vous ne pouvez conserver, distribuer, communiquer ou utiliser les renseignements qu'il contient. Nous vous prions de nous signaler l'erreur par courriel. Merci de votre collaboration.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.jabber.org/pipermail/jadmin/attachments/20070727/9b79fcb3/attachment.htm


More information about the JAdmin mailing list