Skip to content

Commit edd04ed

Browse files
authored
Fix Jinja statement for complete LDAP search filters (#171)
Signed-off-by: Chuck Levesque <[email protected]>
1 parent 539d9a3 commit edd04ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roles/cloudera_manager/external_auth/templates/external_auth_configs.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ LDAP_URL: {{ auth_provider.ldap_url | default(None) }}
2424
LDAP_USER_SEARCH_BASE: {{ auth_provider.ldap_search_base.user | default(None) }}
2525
{% if auth_provider.ldap_search_filter.user is defined %}
2626
LDAP_USER_SEARCH_FILTER: "{{ auth_provider.ldap_search_filter.user }}"
27-
{% else % }
27+
{% else %}
2828
LDAP_USER_SEARCH_FILTER: "({{ auth_provider.ldap_attribute.user | default('sAMAccountName') }}={0})"
2929
{% endif %}
3030
NT_DOMAIN: {{ auth_provider.domain | default(None) }}

0 commit comments

Comments
 (0)