krb5.conf auth_to_local rules Nicolas.Williams at
Mon Jul 15 12:09:01 EDT 2002

Ah, yes, I noticed that too. I was going to patch it so $R
would interpolate the realm name... I see the light though - $0
is better.

I'm also thinking of writing a simple patch to support alternate
grouping chars for the regexp part so that I can use parens to
group alternatives and alternate separator char for the s//. I
filed a bug report about this - the ideal fix would be to search
for unquoted matching close chars, and in the case of the
regexp itself, search for matching, unquoted balanced close



> -----Original Message-----
> From: Matt Crawford [mailto:crawdad at]
> Sent: Monday, July 15, 2002 11:56 AM
> To: Jen Selby
> Cc: krbdev at
> Subject: Re: krb5.conf auth_to_local rules
> I used auto_to_local to ease a transition from one realm name to
> another.  The first thing I discovered was that you can't select
> based on realm name in a RULE.  The second thing was that if you put
> in a $0 or $-1 or less, you can crash.

Visit our website at

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free 
as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  The sender therefore 
does not accept liability for any errors or omissions in the contents 
of this message which arise as a result of e-mail transmission.  If 
verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities or 
related financial instruments.

More information about the krbdev mailing list