help-gnats
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Gnatsd user authentication problem...


From: Seth Bridges
Subject: Re: Gnatsd user authentication problem...
Date: Sun, 8 Sep 2002 09:21:08 -0700
User-agent: Mutt/1.4i

On Sun, Sep 08, 2002 at 10:10:17AM +0200, Lars Henriksen wrote:
> On Sat, Sep 07, 2002 at 11:42:02PM -0700, Seth Bridges wrote:
> 
> > I am able to telnet to localhost:1529 and I am granted the default access 
> > set in $INSTDIR/etc/gnats/gnatsd.host_access (listdb for example).  
> > However, upon entering the command:
> > 
> > user <name> <passwd>
> > 
> > with <user> and <pw> set in $INSTDIR/com/gnatsdb/gnats-adm/gnatsd.access 
> > as:
> > 
> > anon:$0$pw:edit:
> > 
> > ...I receive the message:
> > 
> > 210-Now accessing GNATS database 'default'
> > 210 User access level set to 'listdb'
> 
> What's in your databases file? What's the output of a dbls command?

There is only a single database named default...the 
/usr/local/etc/gnats/databases file contains the line:

default:Bug database:/usr/local/com/gnatsdb

and the output of dbls, as expected, is:

dbls
301 List follows.
default
.

> Is gnatsdb your default database? If not, you should chdb before
> logging in with the user command.

yes gnatsdb is the default database, but attempting a 'chdb' before 
logging in has no effect

chdb default
210-Now accessing GNATS database 'default'
210 User access level set to 'listdb'
user anon pw
210-Now accessing GNATS database 'default'
210 User access level set to 'listdb'

Here, the permissions should become "edit".

> > Am I missing something obvious?  I have tried setting both the database 
> > specific gnatsd.access as well as the default copy, and nothing seems to 
> 
> How do you mean "default copy"?

by default, I am referring to the gnatsd.access file in 
/usr/local/gnats/defaults/
> 
> Lars Henriksen


Thanks for looking into this,

-sb





reply via email to

[Prev in Thread] Current Thread [Next in Thread]