Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Commit

Permalink
Fix login-identity-providers-ldap hardcoded values (#260)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
banzo authored Apr 22, 2023
1 parent 8a7a8d7 commit db83503
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions configs/login-identity-providers-ldap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
<provider>
<identifier>ldap-provider</identifier>
<class>org.apache.nifi.ldap.LdapProvider</class>
<property name="Authentication Strategy">SIMPLE</property>
<property name="Authentication Strategy">{{.Values.auth.ldap.authStrategy}}</property>
<property name="Manager DN">{{.Values.auth.ldap.admin}}</property>
<property name="Manager Password">{{.Values.auth.ldap.pass}}</property>
<property name="TLS - Keystore">/opt/nifi/nifi-current/conf/{{.Release.Name}}-nifi-0.{{.Release.Name}}-nifi-headless.{{.Release.Namespace}}.svc.cluster.local/keystore.jks</property>
Expand All @@ -83,8 +83,8 @@
<property name="Read Timeout">10 secs</property>
<property name="Url">{{.Values.auth.ldap.host}}</property>
<property name="User Search Base">{{.Values.auth.ldap.searchBase}}</property>
<property name="User Search Filter">(cn={0})</property>
<property name="User Search Filter">({{.Values.auth.ldap.userIdentityAttribute}}={0})</property>
<property name="Identity Strategy">{{.Values.auth.ldap.IdentityStrategy}}</property>
<property name="Authentication Expiration">12 hours</property>
<property name="Authentication Expiration">{{.Values.auth.ldap.authExpiration}}</property>
</provider>
</loginIdentityProviders>
</loginIdentityProviders>

0 comments on commit db83503

Please sign in to comment.