Skip to content

Commit

Permalink
ldap: Add LDAP authentication login in AAA yang model
Browse files Browse the repository at this point in the history
  • Loading branch information
davidpil2002 committed Mar 10, 2024
1 parent 4f7f048 commit 08ca0bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sonic-yang-models/yang-models/sonic-system-aaa.yang
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ module sonic-system-aaa {

leaf login {
type string {
pattern '((tacacs\+|local|radius|default),)*(tacacs\+|local|radius|default)' {
pattern '((ldap|tacacs\+|local|radius|default),)*(ldap|tacacs\+|local|radius|default)' {
error-message "Invalid login choice";
}
}
description "AAA authentication/authorization/accounting methods - radius/tacacs+/local/default";
description "AAA authentication/authorization/accounting methods - radius/tacacs+/ldap|local/default";
default "local";
}

Expand Down

0 comments on commit 08ca0bc

Please sign in to comment.