[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[stellation-res] Build 2003-01-20 remote mode tests
|
Hello,
I downloaded the new core build (2002-01-20) today. I ran the tests
for local mode and everything passed beautifully. When I ran them in
remote mode, though, I ran into trouble right off the bat.
Test 0 produced the following:
main:
[exec] comment=/dev/null
[exec] dbcreate=true
[exec] dbpassword=password
[exec] dbusername=jhoward
[exec] location=remote:localhost.localdomain::tsvctest
[exec] password=password
[exec] username=jhoward
[exec] Remote authentication rejected
I double checked that my installation of the database and Stellation
were completely fresh, even going so far as to delete the PostgreSQL
database directory and create a new one with initdb. I also checked
that every user name involved had a password of 'password' (without
the quotes, of course). They did.
Where might I have gone wrong in building/testing the core?
Thanks,
Jeffrey
The server output with debug=2 is as follows:
DEBUG - engine: registering handler for auth.request
DEBUG - engine: registering handler for auth.challenge
DEBUG - engine: registering handler for auth.response
DEBUG - engine: registering handler for auth.success
DEBUG - engine: registering handler for auth.failure
DEBUG - engine: registering handler for auth.release
DEBUG - DELIVERYTHREAD: started
DEBUG - DELIVERYTHREAD: started
DEBUG - DELIVERYTHREAD: started
DEBUG - DELIVERYTHREAD: started
DEBUG - DELIVERYTHREAD: started
DEBUG - create postgres database, location [tsvctest]
DEBUG - registering command handlers
DEBUG - engine: registering handler for stellation.command
INFO - Registering authenticator for tsvctest
INFO - AccessPoint: adding service for resource prefix ""
DEBUG - ***************************************************
DEBUG - --> AccessPoint started connection thread
INFO - engine accepting connections
DEBUG - Socket connection timed out.. checking for shutdown
...
DEBUG - Socket connection timed out.. checking for shutdown
DEBUG - Connection: called constructor
DEBUG - Connection: got socket readers and writers.
DEBUG - Connection/Server: sending ID message
DEBUG - --> Connection: sending identity message: <?Connection id="jhoward:1043191183576:711068735"?>
DEBUG - --> Connection: receiving identity message
DEBUG - COnnection/Server: done establishing connection
DEBUG - engine: registering remote subscription for auth
DEBUG - engine: registering remote subscription for jhoward:1043191193256:1269354713
DEBUG - About to start connection thread
DEBUG - About to start connection thread
DEBUG - --> AccessPoint accepted connection
INFO - engine accepting connections
DEBUG - ---> SubscriptionMessage: <?Subscribe type="auth" engineid="jhoward:1043191193256:1269354713"?>
DEBUG - engine: registering remote subscription for auth
DEBUG - Message: <?Message target="tsvctest" type="auth.request"?>
DEBUG - engine: received message: <?xml version="1.0" encoding="UTF-8"?>
<AuthenticationRequest user="jhoward" tag="TRIAL" />
INFO - Handling auth.request for tsvctest
INFO - Generating challenge for tsvctest
DEBUG - Authenticators contained an entry for tsvctest
DEBUG - ServerChallenge created; getting nested authenticator
DEBUG - authenticator tag TRIAL
DEBUG - getting repository tag
DEBUG - getRepositoryTag is TRIAL
DEBUG - after rs, tag is TRIAL
DEBUG - repository authenticator tag TRIAL
DEBUG - Retrieving authenticator type Challenge
DEBUG - ServerChallenge: got username
DEBUG - ServerChallenge: generated nonce
DEBUG - ServerChallenge: generated nonce
DEBUG - -> Send message: <?Message target="tsvctest" type="auth.challenge"?>
<?xml version="1.0" encoding="UTF-8"?>
<AuthenticationChallenge nonce="tsvctest:1043191194119:0.09497559:jhoward" />
<?end-of-message?>
DEBUG - AuthChallenge was generated locally.
DEBUG - Socket connection timed out.. checking for shutdown
DEBUG - Message: <?Message target="tsvctest" type="auth.response"?>
DEBUG - engine: received message: <?xml version="1.0" encoding="UTF-8"?>
<AuthenticationResponse cnonce="BW5QOp5/Do/rhZI2UT83MQ==" response="RkMTDkwOWCzoqKOqqPHyTw==" />
INFO - Handling auth.response for tsvctest
DEBUG - ServerChallenge: received cnonce
DEBUG - ServerChallenge: received resposne to complete login
DEBUG - -> Send message: <?Message target="tsvctest" type="auth.failure"?>
<?xml version="1.0" encoding="UTF-8"?>
<AuthenticationFailed id="tsvctest" />
<?end-of-message?>
DEBUG - AuthFailure was generated locally.
DEBUG - Remote socket connection dropped. Terminating connection thread
DEBUG - Entered connection.die
DEBUG - About to close Writer channel
DEBUG - Writer closed, about to close Reader
DEBUG - Reader and writer closed, socket still live.
DEBUG - IO channels all closed
DEBUG - Waiting for connection to die.
DEBUG - Socket connection timed out.. checking for shutdown
DEBUG - Joined with connection thread. Thread is dead.
DEBUG - Socket connection timed out.. checking for shutdown
...