[68] in Kerberos
Re: Bug in rlogin, etc
jon@ATHENA.MIT.EDU (jon@ATHENA.MIT.EDU)
Sun Aug 9 21:22:04 1987
From mtc@ATHENA.MIT.EDU Wed Sep 3 12:24:40 1986
To: bcn
Cc: kerberos
Subject: Re: Bug in rlogin, etc
In-Reply-To: Your message of Tue, 2 Sep 86 18:42:13 EDT.
<8609022242.AA03464@TARTAROS>
Date: Wed, 03 Sep 86 12:22:49 -0500
From: Mark Colan <mtc@ATHENA.MIT.EDU>
An immediate fix for your problem is to put the realm in quotes.
For example:
realm="ATHENA.MIT.EDU"
will give you the desired result.
The .klogin parsing is working as designed; similar to the C language,
a token can consist of any alphanum or '_'. Therefore,
ATHENA.MIT.EDU
is received as five tokens.
Cliff, I can easily change the rules for what constitutes a token. If
you want me to do that, tell me which of the following alternatives you
prefer. Making the change for any of these alternatives is trivial.
1. Leave as is, require quotes for tokens containing punctuation
and whitespace.
2. Allow '.' in a (non-quoted) realm token, as well as alphanums and '_'.
3. Allow '.' '_' and alphanum, and the following punctuation: (you specify)
4. Allow ANY ASCII (except comma and whitespace) to be part of a token.
mtc