[augeas-devel] [Augeas] #139: krb5.aug does not support realms containing numerals

Augeas trac at fedorahosted.org
Thu Nov 18 11:29:00 UTC 2010


#139: krb5.aug does not support realms containing numerals
-------------------------+--------------------------------------------------
  Reporter:  shawnlower  |       Owner:  lutter            
      Type:  defect      |      Status:  closed            
  Priority:  minor       |   Milestone:  next              
 Component:  Augeas      |     Version:  0.7.0             
Resolution:  fixed       |    Keywords:  kerberos, krb5.aug
-------------------------+--------------------------------------------------
Changes (by lutter):

  * status:  new => closed
  * resolution:  => fixed

Comment:

 This fix introduces an ambiguity since there are now realm names that also
 match the regexp app_re. To work around that, I modified both realm_re and
 app_re to be:

 {{{
 let realm_re = /[A-Z][.A-Z0-9-]*/
 let app_re = /[a-z][a-z0-9_]*/
 }}}

 This still makes the (not quite correct) requirement that realm names
 start with an upper case letter, and app names with a lower case letter -
 while not strictly required by the RFC, it seems that that is a common
 enough convention.

 I committed this as e20dfc99

 Feel free to reopen the ticket if this doesn't address your needs

-- 
Ticket URL: <https://fedorahosted.org/augeas/ticket/139#comment:1>
Augeas <http://augeas.net/>
a configuration API




More information about the augeas-devel mailing list