RFC Errata


Errata Search

 
Source of RFC  
Summary Table Full Records

Found 2 records.

Status: Reported (1)

RFC 7317, "A YANG Data Model for System Management", August 2014

Source of RFC: netmod (ops)

Errata ID: 6245
Status: Reported
Type: Technical
Publication Format(s) : TEXT

Reported By: Maurizio Brigandi'
Date Reported: 2020-07-29

Section 6 says:


         leaf-list user-authentication-order {
           type identityref {
             base authentication-method;
           }
           must '(. != "sys:radius" or ../../radius/server)' 


It should say:


         leaf-list user-authentication-order {
           type identityref {
             base authentication-method;
           }
           must '(not(. = "sys:radius") or ../../radius/server)'
 

Notes:

As indicated in https://www.w3.org/TR/1999/REC-xpath-19991116/#booleans

the following expression comparing a node-set with a string

. != "sys:radius"

is true if at least one node in the node-set satisfies the boolean expression.

This is not the intention of the "must" condition.

It is necessary to use not(. = "sys:radius") to achieve the right intention of the check.

Status: Rejected (1)

RFC 7317, "A YANG Data Model for System Management", August 2014

Source of RFC: netmod (ops)

Errata ID: 4795
Status: Rejected
Type: Editorial
Publication Format(s) : TEXT

Reported By: Kaja Mohideen
Date Reported: 2016-09-05
Rejected by: Benoit Claise
Date Rejected: 2016-09-05

Section 5 says:

typedef crypt-hash {
       type string {
         pattern
           '$0$.*'
         + '|$1$[a-zA-Z0-9./]{1,8}$[a-zA-Z0-9./]{22}'
         + '|$5$(rounds=\d+$)?[a-zA-Z0-9./]{1,16}$[a-zA-Z0-9./]{43}'
         + '|$6$(rounds=\d+$)?[a-zA-Z0-9./]{1,16}$[a-zA-Z0-9./]{86}';
       }

It should say:

typedef crypt-hash {
  type string {
    pattern
        '\$0\$.*'
      + '|\$1\$[a-zA-Z0-9./]{1,8}\$[a-zA-Z0-9./]{22}'
      + '|\$5\$(rounds=\d+\$)?[a-zA-Z0-9./]{1,16}\$[a-zA-Z0-9./]{43}'
      + '|\$6\$(rounds=\d+\$)?[a-zA-Z0-9./]{1,16}\$[a-zA-Z0-9./]{86}';
  }
  

Notes:

Character $ has special meaning in regular expression.
--VERIFIER NOTES--
No, "$" is not special in the regular expression dialect used in YANG
(XML Schema).

Report New Errata