diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2022-07-19 00:29:05 +0200 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2022-07-19 00:29:05 +0200 |
commit | 216bc43ef7a270925ac597806c06030354ba9149 (patch) | |
tree | fa0c6f50f5797b70debd4955599430c9e29a70a3 /roles/freeradius/templates/ldap.j2 | |
parent | ff374a7a4fe2191e494e75d02e3307efa23f4168 (diff) | |
download | ansible_collection-216bc43ef7a270925ac597806c06030354ba9149.tar.gz |
freeradius
Diffstat (limited to 'roles/freeradius/templates/ldap.j2')
-rw-r--r-- | roles/freeradius/templates/ldap.j2 | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/roles/freeradius/templates/ldap.j2 b/roles/freeradius/templates/ldap.j2 new file mode 100644 index 0000000..d7e10da --- /dev/null +++ b/roles/freeradius/templates/ldap.j2 @@ -0,0 +1,20 @@ +# vi: ft=conf +# This file is managed by Ansible. Manual changes will be reverted. + +ldap { + server = "{{ radius.ldap.server }}" + identity = "{{ radius.ldap.bind_user }}" + password = "{{ radius.ldap.bind_pwd }}" + user { + base_dn = "{{ radius.ldap.user_base }}" + filter = "{{ radius.ldap.user_filter }}" + } + sasl { + # This block needs to exist, but can be empty. + # SASL mechanism + #mech = 'PLAIN' + } + update { + control:Password-With-Header += 'userPassword' + } +} |