diff --git a/library/roles/openvpn/templates/auth-ldap.conf.j2 b/library/roles/openvpn/templates/auth-ldap.conf.j2 index 3c83a1fb..de6b4fd1 100644 --- a/library/roles/openvpn/templates/auth-ldap.conf.j2 +++ b/library/roles/openvpn/templates/auth-ldap.conf.j2 @@ -63,7 +63,9 @@ BaseDN "{{ openvpn_ldap_group_base }}" SearchFilter "{{ openvpn_ldap_group_filter }}" +{% if openvpn_ldap_without_posix_groups %} RFC2307bis {{ openvpn_ldap_without_posix_groups }} +{% endif %} MemberAttribute {{ openvpn_ldap_group_member_attr }} # Add group members to a PF table (disabled) # #PFTable ips_vpn_eng