Anybody know how to use auth_to_local with Redhat's Kerberos?

Douglas E. Engert deengert at anl.gov
Sat Sep 16 08:37:51 EDT 2006



Scott Simpson wrote:
> "Ken Raeburn" <raeburn at mit.edu> wrote in message 
> news:8F3A91F9-179E-4881-9EF5-04EAEC04B7AA at mit.edu...
> 
>>The braces aren't for grouping *values*, they're for introducing a
>>deeper level in the hierarchy, and the line breaks are significant.
>>The "{ DEFAULT }" case doesn't match the syntax for starting a new
>>level, so the whole string is taken as a value.  And "DEFAULT" on a
>>line by itself isn't specifying a value for a tag; a line giving a
>>value has to be of the form "foo = bar".
> 
> 
> OK. How do I put two rules in then like
> 
> auth_to_local = {
>     RULE:[2:$1](^root;.*)s/^.*$/root/
>     DEFAULT
> }
> 

Try:

   auth_to_local = RULE:[2:$1](^root;.*)s/^.*$/root/
   auth_to_local = DEFAULT


> but without the braces? There is an example with very similar syntax at 
> http://web.mit.edu/kerberos/krb5-1.3/krb5-1.3/doc/krb5-admin.html (search 
> for auth_to_local). That is why I'm confused about why the braces don't 
> work.
>     Scott
> 
> 
> ________________________________________________
> Kerberos mailing list           Kerberos at mit.edu
> https://mailman.mit.edu/mailman/listinfo/kerberos
> 
> 

-- 

  Douglas E. Engert  <DEEngert at anl.gov>
  Argonne National Laboratory
  9700 South Cass Avenue
  Argonne, Illinois  60439
  (630) 252-5444



More information about the Kerberos mailing list