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

ldap configuration should be a option #5

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

ldap configuration should be a option #5

wants to merge 1 commit into from

Conversation

mengzhaopeng
Copy link
Contributor

The ldap parameter is not set.
When jenkins starts, docker log has error message.

@@ -22,6 +21,7 @@ Thread.start {
sleep 10000

if (ldap_server && (ldap_rootDN || ldap_inhibitInferRootDN)) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ldap_inhibitInferRootDN would be NULL here which makes this logic useless and would be dangerous.

@@ -12,7 +12,6 @@ def env = System.getenv()
// Variables
def ldap_server = env['LDAP_SERVER']
def ldap_rootDN = env['LDAP_ROOTDN']
def ldap_inhibitInferRootDN = env['LDAP_INHIBIT_INFER_ROOTDN'].toBoolean()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this line is not a good idea.

@thinkernel thinkernel changed the title bug fixes ldap configuration should be a option Sep 6, 2018
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.

2 participants