Re: [Demexp-dev] Problem with preference saving ?

2005-09-27 Par sujet Thomas Petazzoni
Hi,

David MENTRE wrote:

 This should work if you start the client with demexp://localhost:5
 URL in the command line.

Ok, works with the URL on the command line.

However, I wasn't able to login on the locally running demexp server
with root/demexp. Is it really the default root password ?

Sincerly,

Thomas
-- 
Thomas Petazzoni
[EMAIL PROTECTED]


___
Demexp-dev mailing list
Demexp-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/demexp-dev


[Demexp-dev] While hacking with David

2005-09-27 Par sujet Frederic Lehobey
Two new bugs found in demexp:

1/ Anybody (even anonymous) can change public / private status of the
question (this huge hole is understood and practically solved).  :)

2/ In the classification window of the client the public / private
state change is not taken into account.   :(   Boring stuff to debug.

More later,
Frederic and David


___
Demexp-dev mailing list
Demexp-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/demexp-dev


Re: [Demexp-dev] Problem with preference saving ?

2005-09-27 Par sujet Thomas Petazzoni
Hi,

David MENTRE a écrit :
 2005/9/27, Thomas Petazzoni [EMAIL PROTECTED]:
 
However, I wasn't able to login on the locally running demexp server
with root/demexp. Is it really the default root password ?
 
 
 Yes. I have checked in 0.6.2 sources, in participants.ml.nw:
 
 Function [[initialize_default_participant_base]] initializes the base of
 participants with an empty base containing only one participant: an
 administrator of name ``[[root]]'', of login ``[[demexp]]'' and
 belonging to the group [[administration_group]].
 
 \nextchunklabel{code:root-login}
 participants.ml=
 let administration_group = admin
 
 let classification_group = classifier
 
 let initialize_default_participant_base () =
   the_participant_base := create_participant_base ();
   ignore(add_participant root demexp [administration_group;
   classification_group]);
   check_invariants ()
 @
 
 
 Have you tried following procedure?
 
 1. demexp-gtk2-client demexp://localhost:5
 
 2. In Preferences, set login/pass to root/demexp
 
 3. quit and restart client with demexp-gtk2-client demexp://localhost:5

Okay, I've tried this. The client correctly sends root/demexp, according
to the following 'ngrep':

crazy:/home/thomas# ngrep -d lo port 5
interface: lo (127.0.0.0/255.0.0.0)
filter: (ip or ip6) and ( port 5 )

T 127.0.0.1:34057 - 127.0.0.1:5 [AP]
  [EMAIL PROTECTED] ...rootdemexp..


However, I still got the « login invalid » dialog box. Here are the logs
of the server when run with -d:

[EMAIL PROTECTED]:~$ demexp-server -d
02005-09-27T22:16:26+0200 demexp server (0.6.2 -- U2: Unscalable 
Unsecure)
  demexp server comes with ABSOLUTELY NO WARRANTY. This program is free
  software, and you are welcome to redistribute it under certain conditions
  (see http://www.gnu.org/licenses/gpl.html).

02005-09-27T22:16:26+0200 server: use bases 'bases.dmxp'
02005-09-27T22:16:26+0200  File bases.dmxp does not exists. Don't
load bases.
02005-09-27T22:16:26+0200 server: opening main socket (127.0.0.1:5)
02005-09-27T22:16:26+0200 server: ready
02005-09-27T22:16:28+0200 RPC login(1, root, **passw**)
02005-09-27T22:16:28+0200  = participant 'root' failed to log in,
remains Anonymous (cookie:150854162)
02005-09-27T22:16:29+0200 RPC get_timestamps(150854162)
02005-09-27T22:16:29+0200 update timestamp list
02005-09-27T22:16:29+0200 RPC max_question_id(150854162)
02005-09-27T22:16:29+0200  = return max_question_id:-1
02005-09-27T22:16:29+0200 RPC max_tag_id(150854162)
02005-09-27T22:16:29+0200  = return max_tag:-1

I must be doing something really really wrong. But I can't see what. Is
the message regarding the non-existing bases.dmxp a problem ?

Sincerly,

Thomas
-- 
PETAZZONI Thomas - [EMAIL PROTECTED]
http://{thomas,sos,kos}.enix.org - Jabber: [EMAIL PROTECTED]
http://{agenda,livret}dulibre.org
Fingerprint : 0BE1 4CF3 CEA4 AC9D CC6E  1624 F653 CB30 98D3 F7A7



signature.asc
Description: OpenPGP digital signature
___
Demexp-dev mailing list
Demexp-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/demexp-dev