Hi,

> However, on the 5th step as per this blog we couldn't find the file 
> as /etc/sysconfig/Jenkins 


Whether that file is present depends on your linux disto and on how you 
installed jenkins. It is present under RedHat like distros and when you 
installed jenkins from rpm.

Under debian like distros it is located under /etc/default/jenkins (when 
istalled from deb).

If you are running jenkins just from it's war file you can add those 
parameters to your custom startup script.


Regards,
Christoph



> From: Mukul Garg <mukulnewy...@gmail.com>
> To: Jenkins Users <jenkinsci-users@googlegroups.com>, 
> Date: 01.01.2017 15:10
> Subject: Urgent Help Required On Jenkins LDAP Plugin
> Sent by: jenkinsci-users@googlegroups.com
> 
> Hi Team,
> 
> We had a requirement for upgrading our security to LDAP 
> Authentication in Jenkins. We made all the necessary changes of 
> installing the self signed certificates on our Jenkins CLI server as
> per below blog after installing LDAP Plugin on Jenkins GUI. 
> 
> https://anandparthasarathy.wordpress.com/2014/01/14/connect-jenkins-
> to-internal-self-signed-certificate-servers-and-configure-ssl/
> 
> However, on the 5th step as per this blog we couldn't find the file 
> as /etc/sysconfig/Jenkins where we were supposed to make below 
> changes. Hence, we made these changes from Jenkins UI in Manage 
> Jenkins > Configure System. Even after making these changes we were 
> unable to connect to LDAP Server. So, we installed skip certificate 
> check plugin on our Jenkins and after that the SSL Handshake error 
> that we were getting while connecting to LDAP server was gone and 
> LDAP server is able to let us establish our connection with it.
> 
> Our last hurdle is that we are unable to login to Jenkins with our 
> LDAP credentials. We tried all the available options that were 
> available on google. However, no luck. We are using Project Based 
> Matrix Authorization Strategy. Kindly Help. The error that we are 
> getting now is: "LDAP: error code 32 - 0000208D: NameErr: 
> DSID-0310020A, Problem 2001 (NO_OBJECT), data 0, best match of: 
> OU=AppUsers,DC=COMPANY,DC=COM". We verified with our LDAP Team and 
> they suggested all the settings are correct and we are receiving the
> connection properly from your system.
> 
> All your help is much appreciated.
> 
> Step 5: Make the following changes to /etc/sysconfig/jenkins file. 
> You need to have sudo access to do so. 
> Change the JENKINS_PORT value to “-1” – You need to do this to 
> ensure your CI server is no longer accessed through http.
> Change the JENKINS_HTTPS_PORT value to “443” or any other port which
> is not taken.
> Change the JENKINS_ARGS value to “–httpsKeyStore=
> $JENKINS_HOME/.ssl/.keystore –httpsKeyStorePassword=same-as-
> provided-during-cert-generation”.
> Regards,
> Mukul Garg
> -- 
> You received this message because you are subscribed to the Google 
> Groups "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, 
> send an email to jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/
> d/msgid/jenkinsci-users/f822587b-b694-4dc2-a618-d4aaa7dd9cd6%
> 40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

This Email was scanned by Sophos Anti Virus

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/OF39410498.43F77FBE-ONC125809C.0031163A-C125809C.003158DC%40lex-com.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to