[jadmin] secure passwords and registration problems

Robert Flemming flemming at spiralout.net
Wed Feb 6 18:07:18 CST 2002


I guess I've got a couple issues that I can't seem to find any info in the FAQ
or the list archives.  I'm trying to setup a Jabber server to be used by
around 200 or so people mostly for company related communication, but it will
need to gateway to AIM, Yahoo, etc.  I saw the PAM "patch" on the list a
couple weeks ago and thought that would solve all of my problems.  Well I did
get that working, but when testing it I became concerned about the fact that
everyone's password was in plain text in the username.xml files.  I'm not sure
why this would be required if it is using PAM for authentication, but if
that's the way it has to be I'm willing to just pass on PAM and go for a
standard install.  Of course maybe a few commented out print lines will solve
this problem.

So assuming things are just the way they are I went ahead and recompiled a PAM
free version and got it working using plain authentication.  The problem is
that presents the same problem as the above.  I tried commenting out
mod_auth_plain in the jabber.xml file thus forcing it to use digest or 0k, but
once that is creating a different problem.  When trying to create a new user,
it appears to work.  The username.xml file is created (though it still has the
clear text password in it).  The problem appears to be when the client then
tries to login it is getting a 401 unauthorized message back.  I'm using a CVS
snapshot from yesterday and here is the debug output.  It's pretty long and I
hate having to send the whole thing to the list, but if I didn't I'd just get
yelled at for not doing it :)  Info on digest and 0k authentication seems a
little on the thin side, and I'm kinda spinning my wheels here so any help is
appreciated.  Everything works fine when using plain authentication so I'm
pretty confident in the config as a whole, things just fall apart when using
anything but plain.  Thanks in advance.

Robert

Wed Feb  6 23:57:57 2002  mio.c:760 MIO read from socket 15: <iq type="set" id="aabfd" >
 <query xmlns="jabber:iq:register" >
  <username>testuser</username>
  <password>testpass</password>
 </query>
</iq>

Wed Feb  6 23:57:57 2002  c2s [client.c:277] pthsock_client_read called with: m:8142690 flag:3 arg:8142748
Wed Feb  6 23:57:57 2002  deliver.c:474 DELIVER 4:jabber.foo.com <route type='auth' to='testuser at jabber.foo.com' from='15 at c2s/8142690'><iq type='set' id='aabfd'>
 <query xmlns='jabber:iq:register'>
  <username>testuser</username>
  <password>testpass</password>
 </query>
</iq></route>
Wed Feb  6 23:57:57 2002  deliver.c:678 delivering to instance 'sessions'
Wed Feb  6 23:57:57 2002  deliver.c:94 (80DB460)incoming packet <route type='auth' to='testuser at jabber.foo.com' from='15 at c2s/8142690'><iq type='set' id='aabfd'>
 <query xmlns='jabber:iq:register'>
  <username>testuser</username>
  <password>testpass</password>
 </query>
</iq></route>
Wed Feb  6 23:57:57 2002  util.c:103 config query maxusers
Wed Feb  6 23:57:57 2002  deliver.c:100 creating user hash 8145438 for jabber.foo.com
Wed Feb  6 23:57:57 2002  deliver.c:102 checking 8145438
Wed Feb  6 23:57:57 2002  util.c:103 config query auth
Wed Feb  6 23:57:57 2002  mtq 8156E10 starting
Wed Feb  6 23:57:57 2002  mtq 8156E10 leaving to pth
Wed Feb  6 23:57:57 2002  mtq 8167180 starting
Wed Feb  6 23:57:57 2002  mtq 8167180 leaving to pth
Wed Feb  6 23:57:57 2002  mtq 81774F0 starting
Wed Feb  6 23:57:57 2002  mtq 81774F0 leaving to pth
Wed Feb  6 23:57:57 2002  mtq 8187860 starting
Wed Feb  6 23:57:57 2002  mtq 8187860 leaving to pth
Wed Feb  6 23:57:57 2002  mtq 8197BD0 starting
Wed Feb  6 23:57:57 2002  mtq 8197BD0 leaving to pth
Wed Feb  6 23:57:57 2002  mtq 81A7F40 starting
Wed Feb  6 23:57:57 2002  mtq 81A7F40 leaving to pth
Wed Feb  6 23:57:57 2002  mtq 8156E10 entering from pth
Wed Feb  6 23:57:57 2002  mtq 8156E10 one call 8144B88
Wed Feb  6 23:57:57 2002  authreg.c:95 registration set request
Wed Feb  6 23:57:57 2002  users.c:143 js_user(testuser at jabber.foo.com,8145438)
Wed Feb  6 23:57:57 2002  users.c:150 js_user not current
Wed Feb  6 23:57:57 2002  deliver.c:474 DELIVER 2:jabber.foo.com <xdb type='get' to='testuser at jabber.foo.com' from='sessions' ns='jabber:iq:auth' id='1'/>
Wed Feb  6 23:57:57 2002  deliver.c:678 delivering to instance 'xdb'
Wed Feb  6 23:57:57 2002  xdb_file.c:172 handling xdb request <xdb type='get' to='testuser at jabber.foo.com' from='sessions' ns='jabber:iq:auth' id='1'/>
Wed Feb  6 23:57:57 2002  xdb_file.c:109 loading ./spool/jabber.foo.com/testuser.xml
Wed Feb  6 23:57:57 2002  log.c:116 <log type='warn' from='jabber.foo.com'>xdb_file failed to open file ./spool/jabber.foo.com/testuser.xml: No such file or directory</log>
Wed Feb  6 23:57:57 2002  deliver.c:474 DELIVER 3:jabber.foo.com <log type='warn' from='jabber.foo.com'>xdb_file failed to open file ./spool/jabber.foo.com/testuser.xml: No such file or directory</log>
Wed Feb  6 23:57:57 2002  deliver.c:678 delivering to instance 'elogger'
20020206T23:57:57: [warn] (jabber.foo.com): xdb_file failed to open file ./spool/jabber.foo.com/testuser.xml: No such file or directory
Wed Feb  6 23:57:57 2002  xdb_file.c:129 caching ./spool/jabber.foo.com/testuser.xml
Wed Feb  6 23:57:57 2002  deliver.c:474 DELIVER 1:sessions <xdb type='result' to='sessions' from='testuser at jabber.foo.com' ns='jabber:iq:auth' id='1'/>
Wed Feb  6 23:57:57 2002  deliver.c:678 delivering to instance 'sessions'
Wed Feb  6 23:57:57 2002  xdb.c:52 xdb_results checking xdb packet <xdb type='result' to='sessions' from='testuser at jabber.foo.com' ns='jabber:iq:auth' id='1'/>
Wed Feb  6 23:57:57 2002  modules.c:135 mapi_call 6
Wed Feb  6 23:57:57 2002  modules.c:158 MAPI 80E0778
Wed Feb  6 23:57:57 2002  mod_last storing last for user testuser at jabber.foo.com
Wed Feb  6 23:57:57 2002  deliver.c:474 DELIVER 2:jabber.foo.com <xdb type='set' to='testuser at jabber.foo.com' from='sessions' ns='jabber:iq:last' id='2'><query xmlns='jabber:iq:last' last='1013039877'>Registered</query></xdb>
Wed Feb  6 23:57:57 2002  deliver.c:678 delivering to instance 'xdb'
Wed Feb  6 23:57:57 2002  xdb_file.c:172 handling xdb request <xdb type='set' to='testuser at jabber.foo.com' from='sessions' ns='jabber:iq:last' id='2'><query xmlns='jabber:iq:last' last='1013039877'>Registered</query></xdb>
Wed Feb  6 23:57:57 2002  xdb_file.c:109 loading ./spool/jabber.foo.com/testuser.xml
Wed Feb  6 23:57:57 2002  deliver.c:474 DELIVER 1:sessions <xdb type='result' to='sessions' from='testuser at jabber.foo.com' ns='jabber:iq:last' id='2'><query xmlns='jabber:iq:last' last='1013039877'>Registered</query></xdb>
Wed Feb  6 23:57:57 2002  deliver.c:678 delivering to instance 'sessions'
Wed Feb  6 23:57:57 2002  xdb.c:52 xdb_results checking xdb packet <xdb type='result' to='sessions' from='testuser at jabber.foo.com' ns='jabber:iq:last' id='2'><query xmlns='jabber:iq:last' last='1013039877'>Registered</query></xdb>
Wed Feb  6 23:57:57 2002  xdb_file.c:272 decaching ./spool/jabber.foo.com/testuser.xml
Wed Feb  6 23:57:57 2002  modules.c:158 MAPI 80E1498
Wed Feb  6 23:57:57 2002  util.c:103 config query mod_auth_0k/enable_registration
Wed Feb  6 23:57:57 2002  deliver.c:474 DELIVER 2:jabber.foo.com <xdb type='set' to='testuser at jabber.foo.com' from='sessions' ns='jabber:iq:auth:0k' id='3'/>
Wed Feb  6 23:57:57 2002  deliver.c:678 delivering to instance 'xdb'
Wed Feb  6 23:57:57 2002  xdb_file.c:172 handling xdb request <xdb type='set' to='testuser at jabber.foo.com' from='sessions' ns='jabber:iq:auth:0k' id='3'/>
Wed Feb  6 23:57:57 2002  xdb_file.c:109 loading ./spool/jabber.foo.com/testuser.xml
Wed Feb  6 23:57:57 2002  xdb_file.c:129 caching ./spool/jabber.foo.com/testuser.xml
Wed Feb  6 23:57:57 2002  deliver.c:474 DELIVER 1:sessions <xdb type='result' to='sessions' from='testuser at jabber.foo.com' ns='jabber:iq:auth:0k' id='3'/>
Wed Feb  6 23:57:57 2002  deliver.c:678 delivering to instance 'sessions'
Wed Feb  6 23:57:57 2002  xdb.c:52 xdb_results checking xdb packet <xdb type='result' to='sessions' from='testuser at jabber.foo.com' ns='jabber:iq:auth:0k' id='3'/>
Wed Feb  6 23:57:57 2002  xdb_file.c:272 decaching ./spool/jabber.foo.com/testuser.xml
Wed Feb  6 23:57:57 2002  modules.c:158 MAPI 80E14F8
Wed Feb  6 23:57:57 2002  util.c:103 config query register
Wed Feb  6 23:57:57 2002  mod_register checking
Wed Feb  6 23:57:57 2002  mod_register.c:62 processing valid registration for testuser at jabber.foo.com
Wed Feb  6 23:57:57 2002  deliver.c:474 DELIVER 2:jabber.foo.com <xdb type='set' to='testuser at jabber.foo.com' from='sessions' ns='jabber:iq:register' id='4'><query xmlns='jabber:iq:register'>
  <username>testuser</username>
  <password>testpass</password>
 <x xmlns='jabber:x:delay' stamp='20020206T23:57:57'>registered</x></query></xdb>
Wed Feb  6 23:57:57 2002  deliver.c:678 delivering to instance 'xdb'
Wed Feb  6 23:57:57 2002  xdb_file.c:172 handling xdb request <xdb type='set' to='testuser at jabber.foo.com' from='sessions' ns='jabber:iq:register' id='4'><query xmlns='jabber:iq:register'>
  <username>testuser</username>
  <password>testpass</password>
 <x xmlns='jabber:x:delay' stamp='20020206T23:57:57'>registered</x></query></xdb>
Wed Feb  6 23:57:57 2002  xdb_file.c:109 loading ./spool/jabber.foo.com/testuser.xml
Wed Feb  6 23:57:57 2002  xdb_file.c:129 caching ./spool/jabber.foo.com/testuser.xml
Wed Feb  6 23:57:57 2002  deliver.c:474 DELIVER 1:sessions <xdb type='result' to='sessions' from='testuser at jabber.foo.com' ns='jabber:iq:register' id='4'><query xmlns='jabber:iq:register'>
  <username>testuser</username>
  <password>testpass</password>
 <x xmlns='jabber:x:delay' stamp='20020206T23:57:57'>registered</x></query></xdb>
Wed Feb  6 23:57:57 2002  deliver.c:678 delivering to instance 'sessions'
Wed Feb  6 23:57:57 2002  xdb.c:52 xdb_results checking xdb packet <xdb type='result' to='sessions' from='testuser at jabber.foo.com' ns='jabber:iq:register' id='4'><query xmlns='jabber:iq:register'>
  <username>testuser</username>
  <password>testpass</password>
 <x xmlns='jabber:x:delay' stamp='20020206T23:57:57'>registered</x></query></xdb>
Wed Feb  6 23:57:57 2002  xdb_file.c:272 decaching ./spool/jabber.foo.com/testuser.xml
Wed Feb  6 23:57:57 2002  deliver.c:257 deliver(to[jabber.foo.com],from[jabber.foo.com],type[1],packet[<message to='jabber.foo.com' from='jabber.foo.com'><subject>Registration Notice</subject><body>The user testuser at jabber.foo.com was just created with the following registration data: &lt;query xmlns=&apos;jabber:iq:register&apos;&gt;
  &lt;username&gt;testuser&lt;/username&gt;
  &lt;password&gt;testpass&lt;/password&gt;
 &lt;x xmlns=&apos;jabber:x:delay&apos; stamp=&apos;20020206T23:57:57&apos;&gt;registered&lt;/x&gt;&lt;/query&gt;</body></message>])
Wed Feb  6 23:57:57 2002  deliver.c:55 delivering locally to jabber.foo.com
Wed Feb  6 23:57:57 2002  modules.c:135 mapi_call 3
Wed Feb  6 23:57:57 2002  modules.c:158 MAPI 80E0688
Wed Feb  6 23:57:57 2002  modules.c:158 MAPI 80E0EA8
Wed Feb  6 23:57:57 2002  modules.c:158 MAPI 80E13A8
Wed Feb  6 23:57:57 2002  modules.c:175 mapi_call returning unhandled
Wed Feb  6 23:57:57 2002  deliver.c:277 psending to 44B0D24C packet 81FA838
Wed Feb  6 23:57:57 2002  util.c:103 config query welcome
Wed Feb  6 23:57:57 2002  deliver.c:257 deliver(to[testuser at jabber.foo.com],from[jabber.foo.com],type[1],packet[<message from='jabber.foo.com' to='testuser at jabber.foo.com'>
        <subject>Welcome!</subject>
        <body>Welcome to the Jabber server at localhost -- we hope you enjoy this service! For information about how to use Jabber, visit the Jabber User&apos;s Guide at http://docs.jabber.org/</body>
      </message>])
Wed Feb  6 23:57:57 2002  users.c:143 js_user(testuser at jabber.foo.com,8145438)
Wed Feb  6 23:57:57 2002  users.c:150 js_user not current
Wed Feb  6 23:57:57 2002  deliver.c:474 DELIVER 2:jabber.foo.com <xdb type='get' to='testuser at jabber.foo.com' from='sessions' ns='jabber:iq:auth' id='5'/>
Wed Feb  6 23:57:57 2002  deliver.c:678 delivering to instance 'xdb'
Wed Feb  6 23:57:57 2002  xdb_file.c:172 handling xdb request <xdb type='get' to='testuser at jabber.foo.com' from='sessions' ns='jabber:iq:auth' id='5'/>
Wed Feb  6 23:57:57 2002  xdb_file.c:109 loading ./spool/jabber.foo.com/testuser.xml
Wed Feb  6 23:57:57 2002  xdb_file.c:129 caching ./spool/jabber.foo.com/testuser.xml
Wed Feb  6 23:57:57 2002  deliver.c:474 DELIVER 1:sessions <xdb type='result' to='sessions' from='testuser at jabber.foo.com' ns='jabber:iq:auth' id='5'/>
Wed Feb  6 23:57:57 2002  deliver.c:678 delivering to instance 'sessions'
Wed Feb  6 23:57:57 2002  xdb.c:52 xdb_results checking xdb packet <xdb type='result' to='sessions' from='testuser at jabber.foo.com' ns='jabber:iq:auth' id='5'/>
Wed Feb  6 23:57:57 2002  deliver.c:55 delivering locally to testuser at jabber.foo.com
Wed Feb  6 23:57:57 2002  modules.c:135 mapi_call 3
Wed Feb  6 23:57:57 2002  modules.c:158 MAPI 80E0EA8
Wed Feb  6 23:57:57 2002  modules.c:175 mapi_call returning unhandled
Wed Feb  6 23:57:57 2002  deliver.c:257 deliver(to[jabber.foo.com],from[testuser at jabber.foo.com],type[1],packet[<message from='testuser at jabber.foo.com' to='jabber.foo.com' type='error'>
        <subject>Welcome!</subject>
        <body>Welcome to the Jabber server at localhost -- we hope you enjoy this service! For information about how to use Jabber, visit the Jabber User&apos;s Guide at http://docs.jabber.org/</body>
      <error code='404'>Not Found</error></message>])
Wed Feb  6 23:57:57 2002  deliver.c:55 delivering locally to jabber.foo.com
Wed Feb  6 23:57:57 2002  modules.c:135 mapi_call 3
Wed Feb  6 23:57:57 2002  modules.c:158 MAPI 80E0EA8
Wed Feb  6 23:57:57 2002  modules.c:175 mapi_call returning unhandled
Wed Feb  6 23:57:57 2002  deliver.c:277 psending to 44B0D24C packet 81FC310
Wed Feb  6 23:57:57 2002  deliver.c:474 DELIVER 4:c2s <route from='testuser at jabber.foo.com' to='15 at c2s/8142690' type='auth'><iq type='result' id='aabfd'/></route>
Wed Feb  6 23:57:57 2002  deliver.c:678 delivering to instance 'c2s'
Wed Feb  6 23:57:57 2002  c2s [client.c:164] testuser at jabber.foo.com has an active session, delivering packet
Wed Feb  6 23:57:57 2002  c2s [client.c:236] Writing packet to MIO: <iq type='result' id='aabfd'/>
Wed Feb  6 23:57:57 2002  mio.c:1054 mio_write called on x: 8143A58 buffer: (null)
Wed Feb  6 23:57:57 2002  mtq 8156E10 leaving to pth
Wed Feb  6 23:57:57 2002  mtq 81B82B0 starting
Wed Feb  6 23:57:57 2002  mtq 81B82B0 leaving to pth
Wed Feb  6 23:57:57 2002  mtq 81C8620 starting
Wed Feb  6 23:57:57 2002  mtq 81C8620 leaving to pth
Wed Feb  6 23:57:57 2002  mtq 81D8990 starting
Wed Feb  6 23:57:57 2002  mtq 81D8990 leaving to pth
Wed Feb  6 23:57:57 2002  mtq 81E8D00 starting
Wed Feb  6 23:57:57 2002  mtq 81E8D00 leaving to pth
Wed Feb  6 23:57:57 2002  mtq 8167180 entering from pth
Wed Feb  6 23:57:57 2002  mtq 8167180 one call 81FB208
Wed Feb  6 23:57:57 2002  server.c:51 THREAD:SERVER received a packet: <message to='jabber.foo.com' from='jabber.foo.com'><subject>Registration Notice</subject><body>The user testuser at jabber.foo.com was just created with the following registration data: &lt;query xmlns=&apos;jabber:iq:register&apos;&gt;
  &lt;username&gt;testuser&lt;/username&gt;
  &lt;password&gt;testpass&lt;/password&gt;
 &lt;x xmlns=&apos;jabber:x:delay&apos; stamp=&apos;20020206T23:57:57&apos;&gt;registered&lt;/x&gt;&lt;/query&gt;</body></message>
Wed Feb  6 23:57:57 2002  modules.c:135 mapi_call 2
Wed Feb  6 23:57:57 2002  modules.c:158 MAPI 80E0628
Wed Feb  6 23:57:57 2002  modules.c:158 MAPI 80E06B8
Wed Feb  6 23:57:57 2002  modules.c:158 MAPI 80E0748
Wed Feb  6 23:57:57 2002  modules.c:158 MAPI 80E0830
Wed Feb  6 23:57:57 2002  modules.c:158 MAPI 80E0860
Wed Feb  6 23:57:57 2002  modules.c:158 MAPI 80E0CF8
Wed Feb  6 23:57:57 2002  modules.c:158 MAPI 80E0D58
Wed Feb  6 23:57:57 2002  modules.c:158 MAPI 80E0E18
Wed Feb  6 23:57:57 2002  modules.c:158 MAPI 80E0E48
Wed Feb  6 23:57:57 2002  modules.c:158 MAPI 80E0E78
Wed Feb  6 23:57:57 2002  util.c:103 config query admin
Wed Feb  6 23:57:57 2002  modules.c:158 MAPI 80E1468
Wed Feb  6 23:57:57 2002  modules.c:158 MAPI 80E1528
Wed Feb  6 23:57:57 2002  modules.c:175 mapi_call returning unhandled
Wed Feb  6 23:57:57 2002  deliver.c:257 deliver(to[jabber.foo.com],from[jabber.foo.com],type[1],packet[<message to='jabber.foo.com' from='jabber.foo.com' type='error'><subject>Registration Notice</subject><body>The user testuser at jabber.foo.com was just created with the following registration data: &lt;query xmlns=&apos;jabber:iq:register&apos;&gt;
  &lt;username&gt;testuser&lt;/username&gt;
  &lt;password&gt;testpass&lt;/password&gt;
 &lt;x xmlns=&apos;jabber:x:delay&apos; stamp=&apos;20020206T23:57:57&apos;&gt;registered&lt;/x&gt;&lt;/query&gt;</body><error code='404'>Not Found</error></message>])
Wed Feb  6 23:57:57 2002  deliver.c:55 delivering locally to jabber.foo.com
Wed Feb  6 23:57:57 2002  modules.c:135 mapi_call 3
Wed Feb  6 23:57:57 2002  modules.c:158 MAPI 80E0EA8
Wed Feb  6 23:57:57 2002  modules.c:175 mapi_call returning unhandled
Wed Feb  6 23:57:57 2002  deliver.c:277 psending to 44B0D24C packet 81FDCA8
Wed Feb  6 23:57:57 2002  mtq 8167180 leaving to pth
Wed Feb  6 23:57:57 2002  mtq 81774F0 entering from pth
Wed Feb  6 23:57:57 2002  mtq 81774F0 one call 81FCD48
Wed Feb  6 23:57:57 2002  server.c:51 THREAD:SERVER received a packet: <message from='testuser at jabber.foo.com' to='jabber.foo.com' type='error'>
        <subject>Welcome!</subject>
        <body>Welcome to the Jabber server at localhost -- we hope you enjoy this service! For information about how to use Jabber, visit the Jabber User&apos;s Guide at http://docs.jabber.org/</body>
      <error code='404'>Not Found</error></message>
Wed Feb  6 23:57:57 2002  users.c:143 js_user(testuser at jabber.foo.com,8145438)
Wed Feb  6 23:57:57 2002  users.c:150 js_user not current
Wed Feb  6 23:57:57 2002  deliver.c:474 DELIVER 2:jabber.foo.com <xdb type='get' to='testuser at jabber.foo.com' from='sessions' ns='jabber:iq:auth' id='6'/>
Wed Feb  6 23:57:57 2002  deliver.c:678 delivering to instance 'xdb'
Wed Feb  6 23:57:57 2002  xdb_file.c:172 handling xdb request <xdb type='get' to='testuser at jabber.foo.com' from='sessions' ns='jabber:iq:auth' id='6'/>
Wed Feb  6 23:57:57 2002  xdb_file.c:109 loading ./spool/jabber.foo.com/testuser.xml
Wed Feb  6 23:57:57 2002  deliver.c:474 DELIVER 1:sessions <xdb type='result' to='sessions' from='testuser at jabber.foo.com' ns='jabber:iq:auth' id='6'/>
Wed Feb  6 23:57:57 2002  deliver.c:678 delivering to instance 'sessions'
Wed Feb  6 23:57:57 2002  xdb.c:52 xdb_results checking xdb packet <xdb type='result' to='sessions' from='testuser at jabber.foo.com' ns='jabber:iq:auth' id='6'/>
Wed Feb  6 23:57:57 2002  modules.c:135 mapi_call 2
Wed Feb  6 23:57:57 2002  modules.c:158 MAPI 80E0628
Wed Feb  6 23:57:57 2002  modules.c:158 MAPI 80E0CF8
Wed Feb  6 23:57:57 2002  modules.c:158 MAPI 80E0E78
Wed Feb  6 23:57:57 2002  util.c:103 config query admin
Wed Feb  6 23:57:57 2002  modules.c:175 mapi_call returning unhandled
Wed Feb  6 23:57:57 2002  util.c:75 dropping 404 packet <message from='testuser at jabber.foo.com' to='jabber.foo.com' type='error'>
        <subject>Welcome!</subject>
        <body>Welcome to the Jabber server at localhost -- we hope you enjoy this service! For information about how to use Jabber, visit the Jabber User&apos;s Guide at http://docs.jabber.org/</body>
      <error code='404'>Not Found</error></message>
Wed Feb  6 23:57:57 2002  mtq 81774F0 leaving to pth
Wed Feb  6 23:57:57 2002  mtq 8156E10 entering from pth
Wed Feb  6 23:57:57 2002  mtq 8156E10 one call 81FEAA0
Wed Feb  6 23:57:57 2002  server.c:51 THREAD:SERVER received a packet: <message to='jabber.foo.com' from='jabber.foo.com' type='error'><subject>Registration Notice</subject><body>The user testuser at jabber.foo.com was just created with the following registration data: &lt;query xmlns=&apos;jabber:iq:register&apos;&gt;
  &lt;username&gt;testuser&lt;/username&gt;
  &lt;password&gt;testpass&lt;/password&gt;
 &lt;x xmlns=&apos;jabber:x:delay&apos; stamp=&apos;20020206T23:57:57&apos;&gt;registered&lt;/x&gt;&lt;/query&gt;</body><error code='404'>Not Found</error></message>
Wed Feb  6 23:57:57 2002  modules.c:135 mapi_call 2
Wed Feb  6 23:57:57 2002  modules.c:158 MAPI 80E0628
Wed Feb  6 23:57:57 2002  modules.c:158 MAPI 80E0CF8
Wed Feb  6 23:57:57 2002  modules.c:158 MAPI 80E0E78
Wed Feb  6 23:57:57 2002  util.c:103 config query admin
Wed Feb  6 23:57:57 2002  modules.c:175 mapi_call returning unhandled
Wed Feb  6 23:57:57 2002  util.c:75 dropping 404 packet <message to='jabber.foo.com' from='jabber.foo.com' type='error'><subject>Registration Notice</subject><body>The user testuser at jabber.foo.com was just created with the following registration data: &lt;query xmlns=&apos;jabber:iq:register&apos;&gt;
  &lt;username&gt;testuser&lt;/username&gt;
  &lt;password&gt;testpass&lt;/password&gt;
 &lt;x xmlns=&apos;jabber:x:delay&apos; stamp=&apos;20020206T23:57:57&apos;&gt;registered&lt;/x&gt;&lt;/query&gt;</body><error code='404'>Not Found</error></message>
Wed Feb  6 23:57:57 2002  mtq 8156E10 leaving to pth
Wed Feb  6 23:57:57 2002  mio.c:607 mio while loop top
Wed Feb  6 23:57:57 2002  mio.c:620 mio while loop, working
Wed Feb  6 23:57:57 2002  mio.c:279 write_dump writing data: <iq type='result' id='aabfd'/>
Wed Feb  6 23:57:57 2002  mio.c:607 mio while loop top
Wed Feb  6 23:57:57 2002  mio.c:620 mio while loop, working
Wed Feb  6 23:57:57 2002  mio.c:760 MIO read from socket 15: <iq type="set" id="aac5d" >
 <query xmlns="jabber:iq:auth" >
  <username>testuser</username>
  <digest>8514a48512060b807ad7173c8bc77bc4546ab189</digest>
  <resource>Psi</resource>
 </query>
</iq>

Wed Feb  6 23:57:57 2002  c2s [client.c:277] pthsock_client_read called with: m:8142690 flag:3 arg:8142748
Wed Feb  6 23:57:57 2002  deliver.c:474 DELIVER 4:jabber.foo.com <route type='auth' to='testuser at jabber.foo.com/Psi' from='15 at c2s/8142690'><iq type='set' id='aac5d'>
 <query xmlns='jabber:iq:auth'>
  <username>testuser</username>
  <digest sid='3C61C305'>8514a48512060b807ad7173c8bc77bc4546ab189</digest>
  <resource>Psi</resource>
 </query>
</iq></route>
Wed Feb  6 23:57:57 2002  deliver.c:678 delivering to instance 'sessions'
Wed Feb  6 23:57:57 2002  deliver.c:94 (80DB460)incoming packet <route type='auth' to='testuser at jabber.foo.com/Psi' from='15 at c2s/8142690'><iq type='set' id='aac5d'>
 <query xmlns='jabber:iq:auth'>
  <username>testuser</username>
  <digest sid='3C61C305'>8514a48512060b807ad7173c8bc77bc4546ab189</digest>
  <resource>Psi</resource>
 </query>
</iq></route>
Wed Feb  6 23:57:57 2002  util.c:103 config query auth
Wed Feb  6 23:57:57 2002  mtq 8156E10 entering from pth
Wed Feb  6 23:57:57 2002  mtq 8156E10 one call 81FA900
Wed Feb  6 23:57:57 2002  authreg.c:63 auth request
Wed Feb  6 23:57:57 2002  users.c:143 js_user(testuser at jabber.foo.com,8145438)
Wed Feb  6 23:57:57 2002  users.c:150 js_user not current
Wed Feb  6 23:57:57 2002  deliver.c:474 DELIVER 2:jabber.foo.com <xdb type='get' to='testuser at jabber.foo.com' from='sessions' ns='jabber:iq:auth' id='7'/>
Wed Feb  6 23:57:57 2002  deliver.c:678 delivering to instance 'xdb'
Wed Feb  6 23:57:57 2002  xdb_file.c:172 handling xdb request <xdb type='get' to='testuser at jabber.foo.com' from='sessions' ns='jabber:iq:auth' id='7'/>
Wed Feb  6 23:57:57 2002  xdb_file.c:109 loading ./spool/jabber.foo.com/testuser.xml
Wed Feb  6 23:57:57 2002  deliver.c:474 DELIVER 1:sessions <xdb type='result' to='sessions' from='testuser at jabber.foo.com' ns='jabber:iq:auth' id='7'/>
Wed Feb  6 23:57:57 2002  deliver.c:678 delivering to instance 'sessions'
Wed Feb  6 23:57:57 2002  xdb.c:52 xdb_results checking xdb packet <xdb type='result' to='sessions' from='testuser at jabber.foo.com' ns='jabber:iq:auth' id='7'/>
Wed Feb  6 23:57:57 2002  deliver.c:474 DELIVER 4:c2s <route from='testuser at jabber.foo.com/Psi' to='15 at c2s/8142690' type='auth'><iq type='error' id='aac5d'>
 <query xmlns='jabber:iq:auth'>
  <username>testuser</username>
  <digest sid='3C61C305'>8514a48512060b807ad7173c8bc77bc4546ab189</digest>
  <resource>Psi</resource>
 </query>
<error code='401'>Unauthorized</error></iq></route>
Wed Feb  6 23:57:57 2002  deliver.c:678 delivering to instance 'c2s'
Wed Feb  6 23:57:57 2002  c2s [client.c:164] testuser at jabber.foo.com/Psi has an active session, delivering packet
Wed Feb  6 23:57:57 2002  log.c:186 <log type='record' from='testuser at jabber.foo.com'>login fail 10.1.13.14 401 Psi</log>
Wed Feb  6 23:57:57 2002  deliver.c:474 DELIVER 3:jabber.foo.com <log type='record' from='testuser at jabber.foo.com'>login fail 10.1.13.14 401 Psi</log>
Wed Feb  6 23:57:57 2002  deliver.c:678 delivering to instance 'rlogger'
Wed Feb  6 23:57:57 2002  c2s [client.c:236] Writing packet to MIO: <iq type='error' id='aac5d'>
 <query xmlns='jabber:iq:auth'>
  <username>testuser</username>
  <digest sid='3C61C305'>8514a48512060b807ad7173c8bc77bc4546ab189</digest>
  <resource>Psi</resource>
 </query>
<error code='401'>Unauthorized</error></iq>
Wed Feb  6 23:57:57 2002  mio.c:1054 mio_write called on x: 81F90F8 buffer: (null)
Wed Feb  6 23:57:57 2002  mtq 8156E10 leaving to pth
Wed Feb  6 23:57:57 2002  mio.c:607 mio while loop top
Wed Feb  6 23:57:57 2002  mio.c:620 mio while loop, working
Wed Feb  6 23:57:57 2002  mio.c:279 write_dump writing data: <iq type='error' id='aac5d'>
 <query xmlns='jabber:iq:auth'>
  <username>testuser</username>
  <digest sid='3C61C305'>8514a48512060b807ad7173c8bc77bc4546ab189</digest>
  <resource>Psi</resource>
 </query>
<error code='401'>Unauthorized</error></iq>



More information about the JAdmin mailing list