[jdev] "sign in failure"

Sheetal D Hiroji sdhiroji at india.hp.com
Mon Jun 28 02:18:02 CDT 2004


Hello everybody,

I am configuring the jabberd-2.0s2. I have compiled it and configured
router.xml and c2s.xml and started the router and c2s on default ports i.e.
5347 and 5222 respectively. I am using the jabber messenger client for
windows ( 2.7.0.204) to connect to the router running on linux machine
'ln192'.  At client I get the 'sign in failure' error.

Could anyone here help me to figure out what is going wrong here?
I am using db2 and have configured it in c2s.xml

 <!-- Authentication/registration database configuration -->
 <authreg>
   <!-- Backend module to use -->
   <module>db</module>

   <!-- Registration configuration -->
   <register>
     <!-- Account registration is enabled by default (provided the
          auth/reg module in use supports it). Comment this out to
          disable. -->
     <enable/>

     <!-- Human-readable instructions to be returned to client when
          registration is requested. -->
     <instructions>Enter a username and password to register with this
server.<
instructions>

     <!-- Password change only. When registration is disabled, it may
          still be useful to allow clients to change their password. If
          you want this, uncomment this when you disable registration. -->
     <!--
     <password/>
     -->
   </register>

   <!-- Available authentication mechanisms -->
   <mechanisms>

     <!-- These are the traditional Jabber authentication mechanisms.
          Comment out any that you don't want to be offered to clients.
          Note that if the auth/reg module does not support one of
          these mechanisms, then it will not be offered regardless of
          whether or not it is enabled here.

          Similarly, if <zerok/> is disabled, then zero-knowledge data
          will not be created when a user is registered. -->
     <traditional>
       <plain/>
       <digest/>
       <zerok/>
     </traditional>

     <!-- SASL authentication mechanisms. Comment out any that you
          don't want to be offered to clients. Again, if the auth/reg
          module does not support one of these mechanisms, then it will
          not be offered. -->
     <sasl>
       <plain/>
       <digest-md5/>
       <!--
       <anonymous/>
       -->
     </sasl>

   </mechanisms>

   <!-- MySQL module configuration -->
   <mysql>
     <!-- Database server host and port -->
     <host>localhost</host>
     <port>3306</port>

     <!-- Database name -->
     <dbname>jabberd2</dbname>

     <!-- Database username and password -->
     <user>jabberd2</user>
     <pass>secret</pass>
   </mysql>

   <!-- PostgreSQL module configuration -->
   <pgsql>
     <!-- Database server host and port -->
     <host>localhost</host>
     <port>5432</port>

     <!-- Database name -->
     <dbname>jabberd2</dbname>

     <!-- Database username and password -->
     <user>jabberd2</user>
     <pass>secret</pass>
   </pgsql>

   <!-- Berkeley DB module configuration -->
   <db>
    <!-- Directory to store database files under -->
    <path>/usr/local/var/jabberd/db</path>

    <!-- Synchronize the database to disk after each write. If you
         disable this, database accesses may be faster, but data may
         be lost if jabberd crashes. -->
    <sync/>
  </db>

In the jabber client console window i see the following packet exchange
between client and jabber server.
connecting
signing in

SENT: <?xml version="1.0" encoding="UTF-8"?><stream:stream to="ln192"
xmlns="jabber:client" xmlns:stream="http://etherx.jabber.org/streams">

READ: <?xml version='1.0'?><stream:stream
xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client'
from='ln192' version='1.0' id='wrgd0zgppt83l4iuo2o292xyv4a84tp0l5dm5ubv'>

READ: <stream:error
xmlns:stream='http://etherx.jabber.org/streams'><host-unknown
xmlns='urn:ietf:params:xml:ns:xmpp-streams'/><text
xmlns='urn:ietf:params:xml:ns:xmpp-streams'>service requested for unknown
domain</text></stream:error></stream:stream>

SENT: <iq type="get" id="auth-a"><query
xmlns="jabber:iq:auth"><username>guest</username></query></iq>

SENT: </stream:stream>

disconnected

Thankx in advance...

Sheetal Hiroji.






More information about the JDev mailing list