From db835032b6e860a2c7a84bbc9ca3ddb74f270453 Mon Sep 17 00:00:00 2001 From: Sebastien Dupont Date: Sat, 22 Apr 2023 19:37:21 +0200 Subject: [PATCH] Fix login-identity-providers-ldap hardcoded values (#260) * Fix login-identity-providers-ldap hardcoded values The config file `login-identity-providers-ldap.xml` has hard-coded values, see #220 https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#:~:text=DC%3Dcom).-,User%20Search%20Filter,-Filter%20for%20searching --- configs/login-identity-providers-ldap.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configs/login-identity-providers-ldap.xml b/configs/login-identity-providers-ldap.xml index 204d08a5..d34e5f7a 100644 --- a/configs/login-identity-providers-ldap.xml +++ b/configs/login-identity-providers-ldap.xml @@ -65,7 +65,7 @@ ldap-provider org.apache.nifi.ldap.LdapProvider - SIMPLE + {{.Values.auth.ldap.authStrategy}} {{.Values.auth.ldap.admin}} {{.Values.auth.ldap.pass}} /opt/nifi/nifi-current/conf/{{.Release.Name}}-nifi-0.{{.Release.Name}}-nifi-headless.{{.Release.Namespace}}.svc.cluster.local/keystore.jks @@ -83,8 +83,8 @@ 10 secs {{.Values.auth.ldap.host}} {{.Values.auth.ldap.searchBase}} - (cn={0}) + ({{.Values.auth.ldap.userIdentityAttribute}}={0}) {{.Values.auth.ldap.IdentityStrategy}} - 12 hours + {{.Values.auth.ldap.authExpiration}} - \ No newline at end of file +