Skip to content

ldap configuration should be a option#5

Open
mengzhaopeng wants to merge 1 commit intoopenfrontier:masterfrom
mengzhaopeng:master
Open

ldap configuration should be a option#5
mengzhaopeng wants to merge 1 commit intoopenfrontier:masterfrom
mengzhaopeng:master

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.

// 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

Comments