Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {% for user in salt['pillar.get']('freeradius:users') %}
- {{ user['username'] }} MD5-Password := "{{ user['password'] }}"
- Service-Type = NAS-Prompt-User,
- Fortinet-Access-Profile = "{{ user['group'] }}",
- Cisco-AVPair = "shell:priv-lvl=15"
- {% endfor %}
- # sample pillar
- - username: user1
- password: "abc123..."
- service-type: Administrative-User
- forti-access-prof: prof-admin
- forti-access-grp: APPDBIPCO-Access
- av-role: level-1
- av-lvl: 1
- - username: user2
- password: "123def..."
- service-type: Administrative-User
- forti-access-prof: ADM-Access
- forti-access-grp: ADM-Access
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement