From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yngve Svendsen To: nobody@sourceware.cygnus.com Cc: gnats-prs@sourceware.cygnus.com Subject: Re: gnats/181: CHDB command must be issued twice in order to work Date: Sun, 26 Aug 2001 14:54:00 -0000 Message-id: <20010826215400.22329.qmail@sourceware.cygnus.com> X-SW-Source: 2001-q3/msg00104.html List-Id: The following reply was made to PR gnats/181; it has been noted by GNATS. From: Yngve Svendsen To: Milan Zamazal Cc: gnats-gnats@sourceware.cygnus.com Subject: Re: gnats/181: CHDB command must be issued twice in order to work Date: Sun, 26 Aug 2001 23:45:37 +0200 I've been debugging a little bit more. Something sometimes seems to be breaking down in the parsing of client commands. First, I try to CHDB to "helpdesk" by using the three-argument version of CHDB (chdb databasename username password): 200 hurre.clustra.com GNATS server 4.0-alpha ready. chdb helpdesk yngves xxxxxx 210-Now accessing GNATS database 'yngves' 210 User access level set to 'edit' gnatsd actually tries to change database to the supplied username. There is no database named "yngves", so this should not be possible at all. But this is not the whole story. On the theory that gnatsd uses the wrong argument (the second instead of the first one) when changing database, I tried the following: 200 hurre.clustra.com GNATS server 4.0-alpha ready. chdb helpdesk helpdesk helpdesk 210-Now accessing GNATS database '' 210 User access level set to 'edit' Thus, I still have no good theory to give you. - Yngve