Re: [jabberd2] Help with User Registration in 2.1.21

2008-01-11 Thread Tim Evans

>On Cz, 2008-01-10 at 12:55 -0500, Tim Evans wrote:
>> Wonder why "[EMAIL PROTECTED]" works and "[EMAIL PROTECTED]" doesn't?
>
>I think there is a bug in case folding with DB backend. :-(
>
OK, I thought I was crazy.  I'll look at rebuilding for MySQL.  (Unless you 
think this bug will get fixed soon?)

Can you send this info to whomever maintains the install guide? 
http://jabberd2.xiaoka.com/wiki/InstallGuide/
--
Tim Evans, TKEvans.com, Inc.|   5 Chestnut Court
UNIX System Admin Consulting|   Owings Mills, MD 21117
http://www.tkevans.com/ |   443-394-3864
http://www.come-here.com/News/  |   [EMAIL PROTECTED]   

___
Jabberd2 mailing list
Jabberd2@lists.xiaoka.com
http://lists.xiaoka.com/listinfo.cgi/jabberd2-xiaoka.com


Re: [jabberd2] Help with User Registration in 2.1.21

2008-01-10 Thread Tim Evans
To thicken this plot further:

I created a new user, with a different name.  It works ok!

Wonder why "[EMAIL PROTECTED]" works and "[EMAIL PROTECTED]" doesn't?  Could it 
have
anything to do with the fact I have an account named "Tim" on another
jabberd server on another system (the one this one is to replace) and have
them both managed in pidgin?

-- 
Tim Evans, TKEvans.com, Inc.|   5 Chestnut Court
UNIX System Admin Consulting|   Owings Mills, MD 21117
http://www.tkevans.com/ |   443-394-3864
http://www.come-here.com/News/  |   [EMAIL PROTECTED]

___
Jabberd2 mailing list
Jabberd2@lists.xiaoka.com
http://lists.xiaoka.com/listinfo.cgi/jabberd2-xiaoka.com


Re: [jabberd2] Help with User Registration in 2.1.21

2008-01-10 Thread Tim Evans

Tomasz Sterna wrote:

> Looking at the authreg_db.c code, auth creds is 0 when db->get returns
> DB_NOTFOUND.
>
> Please check whether there is user data in the DB.

[EMAIL PROTECTED] db]$ strings authreg.db
s31e066  <--domain
s31e066
4score7  <--my password

[EMAIL PROTECTED] db]$ strings log.01
__db.1.40
__db.1.40
__db.1.40
__db.1.40
authreg.db
authreg.db
s31e066
authreg.db
authreg.db
s31e066
s31e066
s31e066
4score7
__db.1.3ddf
__db.1.3ddf
__db.1.3ddf
__db.1.3ddf
sm.db
>FtW
sm.db
active
sm.db
sm.db
Boy^
[EMAIL PROTECTED]  <--my account
time

[EMAIL PROTECTED] db]$ strings sm.db
active
{that's all?}

-- 
Tim Evans, TKEvans.com, Inc.|   5 Chestnut Court
UNIX System Admin Consulting|   Owings Mills, MD 21117
http://www.tkevans.com/ |   443-394-3864
http://www.come-here.com/News/  |   [EMAIL PROTECTED]

___
Jabberd2 mailing list
Jabberd2@lists.xiaoka.com
http://lists.xiaoka.com/listinfo.cgi/jabberd2-xiaoka.com


Re: [jabberd2] Help with User Registration in 2.1.21

2008-01-10 Thread Tim Evans
Tomasz Sterna wrote:
> On Cz, 2008-01-10 at 08:47 -0500, Tim Evans wrote:
>> No.  Seems to never see the session startup attempt. See attached.
>
> [...]
> C2S : sx (io.c:322) 7 ready for writing
> C2S : sx (io.c:280) encoding 208 bytes for writing:  xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>cmVhbG09InMzMWUwNjYiLCBub25jZT0iSW1iWDVaNE9VRmdRN3pWaE5DbGs2Z
>
> ...and?
> That's it?  Nothing more? The last line of log you attached is cut.

Sorry.  Full log (g-zipped) attached.
-- 
Tim Evans, TKEvans.com, Inc.|   5 Chestnut Court
UNIX System Admin Consulting|   Owings Mills, MD 21117
http://www.tkevans.com/ |   443-394-3864
http://www.come-here.com/News/  |   [EMAIL PROTECTED]


full_log.gz
Description: GNU Zip compressed data
___
Jabberd2 mailing list
Jabberd2@lists.xiaoka.com
http://lists.xiaoka.com/listinfo.cgi/jabberd2-xiaoka.com


Re: [jabberd2] Help with User Registration in 2.1.21

2008-01-10 Thread Tim Evans
>>On Jan 9, 2008 4:02 PM, Tim Evans <[EMAIL PROTECTED]> wrote:
>>
>> >On Śr, 2008-01-09 at 16:34 -0500, Tim Evans wrote:
>> >> > And what does your sm -D log say?
>> >>
>> >> Log attached.  Nothing jumps out at me...
>> >
>> >There is no session creation request in the log...
>>
>> pidgin says auth denied.
>
>Just curious, but what does c2s -D look like now? Is it similar to mine
>(failed DIGEST)?

No.  Seems to never see the session startup attempt. See attached.  FWIW,
I stopped all the processes, deleted all the db files, and restarted,
creating a new database.  As before, I was able to create the account, but
cannot subsequently log into it.

-- 
Tim Evans, TKEvans.com, Inc.|   5 Chestnut Court
UNIX System Admin Consulting|   Owings Mills, MD 21117
http://www.tkevans.com/ |   443-394-3864
http://www.come-here.com/News/  |   [EMAIL PROTECTED]


c2s_log
Description: Binary data
___
Jabberd2 mailing list
Jabberd2@lists.xiaoka.com
http://lists.xiaoka.com/listinfo.cgi/jabberd2-xiaoka.com


Re: [jabberd2] Help with User Registration in 2.1.21

2008-01-09 Thread Tim Evans

>On Śr, 2008-01-09 at 16:34 -0500, Tim Evans wrote:
>> > And what does your sm -D log say?
>> 
>> Log attached.  Nothing jumps out at me...
>
>There is no session creation request in the log...

pidgin says auth denied.
--
Tim Evans, TKEvans.com, Inc.|   5 Chestnut Court
UNIX System Admin Consulting|   Owings Mills, MD 21117
http://www.tkevans.com/ |   443-394-3864
http://www.come-here.com/News/  |   [EMAIL PROTECTED]   

___
Jabberd2 mailing list
Jabberd2@lists.xiaoka.com
http://lists.xiaoka.com/listinfo.cgi/jabberd2-xiaoka.com


Re: [jabberd2] Help with User Registration in 2.1.21

2008-01-09 Thread Tim Evans
Tomasz Sterna wrote:
> On Śr, 2008-01-09 at 11:17 -0500, Tim Evans wrote:
>> However, now can't actually log in using the name and password
>> registered.
>>  I'm using pidgin 2.3 (windows).
>
> And what does your sm -D log say?

Log attached.  Nothing jumps out at me...


-- 
Tim Evans, TKEvans.com, Inc.|   5 Chestnut Court
UNIX System Admin Consulting|   Owings Mills, MD 21117
http://www.tkevans.com/ |   443-394-3864
http://www.come-here.com/News/  |   [EMAIL PROTECTED]


sm-log
Description: Binary data
___
Jabberd2 mailing list
Jabberd2@lists.xiaoka.com
http://lists.xiaoka.com/listinfo.cgi/jabberd2-xiaoka.com


Re: [jabberd2] Help with User Registration in 2.1.21

2008-01-09 Thread Tim Evans

Tomasz Sterna wrote:
> On Śr, 2008-01-09 at 10:30 -0500, Tim Evans wrote:
>> > Looks like you didn't configure s31e006 in c2s.xml.
>>
>>  
>>   s31e066.ba.ssa.gov
>
> Don't change the c2s name. It should be 'c2s' unless you have several
> c2s instances ('c2s-1', 'c2s-2' etc.)

OK, thanks.  Now I successfully registered.

Jan  9 11:06:15 s31e066 jabberd/c2s[9346]: [7] created user: user=tim;
realm=s31e066
Jan  9 11:06:15 s31e066 jabberd/c2s[9346]: [7] registration succeeded,
requesting user creation: [EMAIL PROTECTED]
Jan  9 11:06:15 s31e066 jabberd/sm[9344]: created user: [EMAIL PROTECTED]
Jan  9 11:06:15 s31e066 jabberd/c2s[9346]: [7] [10.38.66.61, port=3611]
disconnect [EMAIL PROTECTED], packets: 2

However, now can't actually log in using the name and password registered.
 I'm using pidgin 2.3 (windows).

Jan  9 11:06:22 s31e066 jabberd/c2s[9346]: [7] [10.38.66.61, port=3617]
connect
Jan  9 11:06:23 s31e066 jabberd/c2s[9346]: [7] [10.38.66.61, port=3617]
disconnect
jid=unbound, packets: 0

-- 
Tim Evans, TKEvans.com, Inc.|   5 Chestnut Court
UNIX System Admin Consulting|   Owings Mills, MD 21117
http://www.tkevans.com/ |   443-394-3864
http://www.come-here.com/News/  |   [EMAIL PROTECTED]

___
Jabberd2 mailing list
Jabberd2@lists.xiaoka.com
http://lists.xiaoka.com/listinfo.cgi/jabberd2-xiaoka.com


Re: [jabberd2] Help with User Registration in 2.1.21

2008-01-09 Thread Tim Evans

Tomasz Sterna wrote:
> On Śr, 2008-01-09 at 09:58 -0500, Tim Evans wrote:
>> Wed Jan  9 09:31:34 2008 c2s.c:180 no host available for requested
>> domain
>> 's31e066'
>
> Looks like you didn't configure s31e006 in c2s.xml.

 
  s31e066.ba.ssa.gov

  s31e066.ba.ssa.gov

I had the FQDN name there in both of these; if I change to short name only:

ERROR: sm died.  Shutting down server.

# grep s31e *xml
c2s.xml:  s31e066
c2s.xml:    s31e066
sm.xml:  s31e066

Thanks.
-- 
Tim Evans, TKEvans.com, Inc.|   5 Chestnut Court
UNIX System Admin Consulting|   Owings Mills, MD 21117
http://www.tkevans.com/ |   443-394-3864
http://www.come-here.com/News/  |   [EMAIL PROTECTED]

___
Jabberd2 mailing list
Jabberd2@lists.xiaoka.com
http://lists.xiaoka.com/listinfo.cgi/jabberd2-xiaoka.com


Re: [jabberd2] Help with User Registration in 2.1.21

2008-01-09 Thread Tim Evans
>>On Wt, 2008-01-08 at 12:42 -0500, Tim Evans wrote:
>> --enable-db --disable-mysql --enable-debug --enable-anon
>
>Since you configured with debug, run c2s and sm with -D option and see
some >more messages

Please see the attached debug log showing a connection attempt.  Even not
knowing the internals, I can see:

Wed Jan  9 09:31:34 2008 [notice] [7] [10.38.66.61, port=2940] connect
...
Wed Jan  9 09:31:34 2008 c2s.c:180 no host available for requested domain
's31e066'
sx (error.c:79) prepared error: service requested for unknown
domain
...
Wed Jan  9 09:31:34 2008 [notice] [7] [10.38.66.61, port=2940] disconnect
jid=unbound, packets: 0

Thanks.


-- 
Tim Evans, TKEvans.com, Inc.|   5 Chestnut Court
UNIX System Admin Consulting|   Owings Mills, MD 21117
http://www.tkevans.com/ |   443-394-3864
http://www.come-here.com/News/  |   [EMAIL PROTECTED]


log
Description: Binary data
___
Jabberd2 mailing list
Jabberd2@lists.xiaoka.com
http://lists.xiaoka.com/listinfo.cgi/jabberd2-xiaoka.com


Re: [jabberd2] Help with User Registration in 2.1.21

2008-01-08 Thread Tim Evans

>Since you configured with debug, run c2s and sm with -D option and see
>some more messages.

Will do that when I get back into work tomorrow.
>
>Are you really using JIDs [EMAIL PROTECTED] ?

Yep, that's the organizationally-prescribed hostname.

Thanks.
--
Tim Evans, TKEvans.com, Inc.|   5 Chestnut Court
UNIX System Admin Consulting|   Owings Mills, MD 21117
http://www.tkevans.com/ |   443-394-3864
http://www.come-here.com/News/  |   [EMAIL PROTECTED]   

___
Jabberd2 mailing list
Jabberd2@lists.xiaoka.com
http://lists.xiaoka.com/listinfo.cgi/jabberd2-xiaoka.com


[jabberd2] Help with User Registration in 2.1.21

2008-01-08 Thread Tim Evans
I have just installed jabberd-2.1.21 from source (brand new install) on
RedHat 5.1, and used the quickstart instructions.  Configure command-line
options were:

--enable-db --disable-mysql --enable-debug --enable-anon

Everything starts up ok:

Jan  8 12:35:21 s31e066 jabberd/sm[31833]: version: jabberd sm 2.1.21
Jan  8 12:35:21 s31e066 jabberd/sm[31833]: attempting connection to router
at 127.0.0.1, port=5347
Jan  8 12:35:21 s31e066 jabberd/router[31831]: [127.0.0.1, port=43692]
connect
Jan  8 12:35:21 s31e066 jabberd/router[31831]: [127.0.0.1, port=43692]
authenticated as [EMAIL PROTECTED]
Jan  8 12:35:21 s31e066 jabberd/sm[31833]: connection to router established
Jan  8 12:35:21 s31e066 jabberd/router[31831]: [s31e066] online (bound to
127.0.0.1, port 43692)
Jan  8 12:35:21 s31e066 jabberd/resolver[31832]: ready to resolve
Jan  8 12:35:21 s31e066 jabberd/s2s[31834]: [0.0.0.0, port=5269] listening
for connections
Jan  8 12:35:21 s31e066 jabberd/s2s[31834]: ready for connections
Jan  8 12:35:21 s31e066 jabberd/c2s[31835]: [0.0.0.0, port=5222] listening
for connections
Jan  8 12:35:21 s31e066 jabberd/c2s[31835]: ready for connections
Jan  8 12:35:21 s31e066 jabberd/sm[31833]: ready for sessions
[EMAIL PROTECTED] etc]# tail /var/log/messages
Jan  8 12:35:21 s31e066 jabberd/resolver[31832]: ready to resolve
Jan  8 12:35:21 s31e066 jabberd/s2s[31834]: [0.0.0.0, port=5269] listening
for connections
Jan  8 12:35:21 s31e066 jabberd/s2s[31834]: ready for connections
Jan  8 12:35:21 s31e066 jabberd/c2s[31835]: [0.0.0.0, port=5222] listening
for connections

However, users cannot sign up (tried both pidgin and pandion).  Server
syslogd shows connect, then immediate disconnect:

Jan  8 12:37:02 s31e066 jabberd/c2s[31835]: [7] [10.38.66.61, port=2348]
connect
Jan  8 12:37:02 s31e066 jabberd/c2s[31835]: [7] [10.38.66.61, port=2348]
disconnect jid=unbound, packets: 0

Where to look?  Thanks.


-- 
Tim Evans, TKEvans.com, Inc.|   5 Chestnut Court
UNIX System Admin Consulting|   Owings Mills, MD 21117
http://www.tkevans.com/ |   443-394-3864
http://www.come-here.com/News/  |   [EMAIL PROTECTED]

___
Jabberd2 mailing list
Jabberd2@lists.xiaoka.com
http://lists.xiaoka.com/listinfo.cgi/jabberd2-xiaoka.com