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.