Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modifying configuration in ldap.xml to support on-premise ldap #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mihail-dev
Copy link

Two changes have been made to ldap.xml.

These lines have been added:

<userSubtree>${LDAP_USER_SUBTREE:-false}</userSubtree>
<groupSubtree>${LDAP_GROUP_SUBTREE:-false}</groupSubtree>

The userSubtree and groupSubtree were already set to false in ADOP. However, on some projects ldap can be set up to utilise them. With this change the two parameters can be defined to be true from the docker-compose.yml file in ADOP.

The second change is:

<userPasswordAttribute>${LDAP_USER_PASSWORD_ATTRIBUTE-password}</userPasswordAttribute>

The previous syntax ${parameter:-value} was modified to ${parameter-value}. In our set up we do not define LDAP_USER_PASSWORD_ATTRIBUTE and this change is needed in order not to be set to the default value which is password.

The change has been tested and working as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant