help-gnats
[Top][All Lists]
Advanced

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

RE: Patch: Fix user authentication + MKDB


From: Yngve Svendsen
Subject: RE: Patch: Fix user authentication + MKDB
Date: Fri, 27 Sep 2002 09:31:16 +0200

At 16:16 26.09.2002 -0700, Pankaj K Garg wrote:
I'm attaching a patch "gnatspatch.out" with this message that
does this. Seems to work on my small tries here, but would
appreciate if someone else can take a look at it also.

The empty password bit required a change (backwards compatible)
to the protocol. Previously, the client was required to
give:

 USER <name> <password>
 CHDB <db> <name> <password>

Now, clients can give:

 USER <name> [<password>]
 CHDB <db> <name> [<password>]

Hence, the password is optional and will be assumed to be
empty.

For clients to take advantage of this, however, they may
need some modification. For example, gnatsweb assumes that
the user always requires some value for the password.
So, I'm also attaching a patch for gnatsweb ("gnatswebpatch.out")
that takes care of empty password situation.

If the gnats gurus will accept the gnats patch, then I can
submit the gnatsweb patch to the appropriate mailing list.

You don't need to. If we decide to apply the patch to GNATS, I will apply the necessary changes to Gnatsweb as well.

I think the behaviour this patch would introduce is sensible, but I will wait for people's comments before possibly applying it. Be aware that I am not a seasoned C coder, so if someone would take a look at the tecnicalities of the patch, that would be excellent.

Yngve Svendsen
Gnatsweb maintainer





reply via email to

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