Quantcast

LDAP fails with no details in the logs

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

LDAP fails with no details in the logs

Daniel Watrous-2
Hi,

I'm trying to use LDAP authentication, but I can't get it to work and I don't see anything in the logs to help. Here's the only thing I get from a failed login.

Apr 14, 2017 3:29:19 PM jenkins.security.SecurityListener fireFailedToLogIn
FINE: failed to log in: [hidden email]

I can't even get to the point where I can debug the LDAP settings because it just fails like this every time.

Is there some way I can get more details about what's happening and why this is failing?

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/8dcee899-491f-4366-b2ff-d28c42dcfb94%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: LDAP fails with no details in the logs

stephenconnolly
Try building my PR against the ldap plugin that adds a validate button and using that. See if the validate button helps diagnose and fix the issue!

On Fri 14 Apr 2017 at 16:34, Daniel Watrous <[hidden email]> wrote:
Hi,

I'm trying to use LDAP authentication, but I can't get it to work and I don't see anything in the logs to help. Here's the only thing I get from a failed login.

Apr 14, 2017 3:29:19 PM jenkins.security.SecurityListener fireFailedToLogIn
FINE: failed to log in: [hidden email]

I can't even get to the point where I can debug the LDAP settings because it just fails like this every time.

Is there some way I can get more details about what's happening and why this is failing?

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/8dcee899-491f-4366-b2ff-d28c42dcfb94%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Sent from my phone

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CA%2BnPnMzQM2Kf5caMdcProoGhAYy_tMVN%2BhwjtGtCFf5i1QURag%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: LDAP fails with no details in the logs

Daniel Watrous-2
I'm not sure how to do that. I assume you mean a pull request, but I think this might be beyond me at this point.

On Friday, April 14, 2017 at 10:40:33 AM UTC-5, Stephen Connolly wrote:
Try building my PR against the ldap plugin that adds a validate button and using that. See if the validate button helps diagnose and fix the issue!

On Fri 14 Apr 2017 at 16:34, Daniel Watrous <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="iX1Bq28FAgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">daniel....@...> wrote:
Hi,

I'm trying to use LDAP authentication, but I can't get it to work and I don't see anything in the logs to help. Here's the only thing I get from a failed login.

Apr 14, 2017 3:29:19 PM jenkins.security.SecurityListener fireFailedToLogIn
FINE: failed to log in: <a href="javascript:" target="_blank" gdf-obfuscated-mailto="iX1Bq28FAgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">my....@...

I can't even get to the point where I can debug the LDAP settings because it just fails like this every time.

Is there some way I can get more details about what's happening and why this is failing?

--
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 <a href="javascript:" target="_blank" gdf-obfuscated-mailto="iX1Bq28FAgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/jenkinsci-users/8dcee899-491f-4366-b2ff-d28c42dcfb94%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-users/8dcee899-491f-4366-b2ff-d28c42dcfb94%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-users/8dcee899-491f-4366-b2ff-d28c42dcfb94%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/jenkinsci-users/8dcee899-491f-4366-b2ff-d28c42dcfb94%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.
--
Sent from my phone

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/c49d06b3-92da-4c7c-9b4a-85adc357f97a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: LDAP fails with no details in the logs

stephenconnolly
Oh well, it will be Wednesday before I am back at computer... maybe some kind soul will help you out

On Fri 14 Apr 2017 at 16:52, Daniel Watrous <[hidden email]> wrote:
I'm not sure how to do that. I assume you mean a pull request, but I think this might be beyond me at this point.


On Friday, April 14, 2017 at 10:40:33 AM UTC-5, Stephen Connolly wrote:
Try building my PR against the ldap plugin that adds a validate button and using that. See if the validate button helps diagnose and fix the issue!
On Fri 14 Apr 2017 at 16:34, Daniel Watrous <[hidden email]> wrote:
Hi,

I'm trying to use LDAP authentication, but I can't get it to work and I don't see anything in the logs to help. Here's the only thing I get from a failed login.

Apr 14, 2017 3:29:19 PM jenkins.security.SecurityListener fireFailedToLogIn
FINE: failed to log in: [hidden email]

I can't even get to the point where I can debug the LDAP settings because it just fails like this every time.

Is there some way I can get more details about what's happening and why this is failing?

--
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 [hidden email].
--
Sent from my phone

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/c49d06b3-92da-4c7c-9b4a-85adc357f97a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Sent from my phone

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CA%2BnPnMyRJ%2BXQVQFap0SdoUDtOPimj2aM6iH6DeY6qWB3Ag9zdg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: LDAP fails with no details in the logs

Mark Waite-2
I cloned the master branch of the ldap-plugin, then pulled PR18 into it and built it.

If it helps you, the code can be downloaded from https://drive.google.com/open?id=0B9GyYWyfT1N5c1pabnBkbnVyRjA 

Thanks,
Mark Waite

On Fri, Apr 14, 2017 at 1:05 PM Stephen Connolly <[hidden email]> wrote:
Oh well, it will be Wednesday before I am back at computer... maybe some kind soul will help you out

On Fri 14 Apr 2017 at 16:52, Daniel Watrous <[hidden email]> wrote:
I'm not sure how to do that. I assume you mean a pull request, but I think this might be beyond me at this point.


On Friday, April 14, 2017 at 10:40:33 AM UTC-5, Stephen Connolly wrote:
Try building my PR against the ldap plugin that adds a validate button and using that. See if the validate button helps diagnose and fix the issue!
On Fri 14 Apr 2017 at 16:34, Daniel Watrous <[hidden email]> wrote:
Hi,

I'm trying to use LDAP authentication, but I can't get it to work and I don't see anything in the logs to help. Here's the only thing I get from a failed login.

Apr 14, 2017 3:29:19 PM jenkins.security.SecurityListener fireFailedToLogIn
FINE: failed to log in: [hidden email]

I can't even get to the point where I can debug the LDAP settings because it just fails like this every time.

Is there some way I can get more details about what's happening and why this is failing?

--
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 [hidden email].
--
Sent from my phone

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/c49d06b3-92da-4c7c-9b4a-85adc357f97a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Sent from my phone

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CA%2BnPnMyRJ%2BXQVQFap0SdoUDtOPimj2aM6iH6DeY6qWB3Ag9zdg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtEAzAkP-Ue7BecxskLNnSCePERJa7bmu%3DP9%3DO8937h2xg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: LDAP fails with no details in the logs

Daniel Watrous-2
Thank you for this. I downloaded and installed this plugin, but I'm still unable to make progress on my problem. 

There is now a "Test LDAP settings" button. When I click this it produces a popover window that says "undefined" with an X to close the popover.

I tried logging in and see the same two lines in the logs.

On Friday, April 14, 2017 at 6:21:58 PM UTC-5, Mark Waite wrote:
I cloned the master branch of the ldap-plugin, then pulled PR18 into it and built it.

If it helps you, the code can be downloaded from <a href="https://drive.google.com/open?id=0B9GyYWyfT1N5c1pabnBkbnVyRjA" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://drive.google.com/open?id\x3d0B9GyYWyfT1N5c1pabnBkbnVyRjA&#39;;return true;" onclick="this.href=&#39;https://drive.google.com/open?id\x3d0B9GyYWyfT1N5c1pabnBkbnVyRjA&#39;;return true;">https://drive.google.com/open?id=0B9GyYWyfT1N5c1pabnBkbnVyRjA 

Thanks,
Mark Waite

On Fri, Apr 14, 2017 at 1:05 PM Stephen Connolly <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="C0PwgZ0eAgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">stephen.al...@gmail.com> wrote:
Oh well, it will be Wednesday before I am back at computer... maybe some kind soul will help you out

On Fri 14 Apr 2017 at 16:52, Daniel Watrous <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="C0PwgZ0eAgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">daniel....@...> wrote:
I'm not sure how to do that. I assume you mean a pull request, but I think this might be beyond me at this point.


On Friday, April 14, 2017 at 10:40:33 AM UTC-5, Stephen Connolly wrote:
Try building my PR against the ldap plugin that adds a validate button and using that. See if the validate button helps diagnose and fix the issue!
On Fri 14 Apr 2017 at 16:34, Daniel Watrous <[hidden email]> wrote:
Hi,

I'm trying to use LDAP authentication, but I can't get it to work and I don't see anything in the logs to help. Here's the only thing I get from a failed login.

Apr 14, 2017 3:29:19 PM jenkins.security.SecurityListener fireFailedToLogIn
FINE: failed to log in: [hidden email]

I can't even get to the point where I can debug the LDAP settings because it just fails like this every time.

Is there some way I can get more details about what's happening and why this is failing?

--
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-use...@googlegroups.com.

To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/jenkinsci-users/8dcee899-491f-4366-b2ff-d28c42dcfb94%40googlegroups.com?utm_medium=email&amp;utm_source=footer" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-users/8dcee899-491f-4366-b2ff-d28c42dcfb94%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-users/8dcee899-491f-4366-b2ff-d28c42dcfb94%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/jenkinsci-users/8dcee899-491f-4366-b2ff-d28c42dcfb94%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.
--
Sent from my phone

--
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 <a href="javascript:" target="_blank" gdf-obfuscated-mailto="C0PwgZ0eAgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/jenkinsci-users/c49d06b3-92da-4c7c-9b4a-85adc357f97a%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-users/c49d06b3-92da-4c7c-9b4a-85adc357f97a%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-users/c49d06b3-92da-4c7c-9b4a-85adc357f97a%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/jenkinsci-users/c49d06b3-92da-4c7c-9b4a-85adc357f97a%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.
--
Sent from my phone

--
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 <a href="javascript:" target="_blank" gdf-obfuscated-mailto="C0PwgZ0eAgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/jenkinsci-users/CA%2BnPnMyRJ%2BXQVQFap0SdoUDtOPimj2aM6iH6DeY6qWB3Ag9zdg%40mail.gmail.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-users/CA%2BnPnMyRJ%2BXQVQFap0SdoUDtOPimj2aM6iH6DeY6qWB3Ag9zdg%40mail.gmail.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-users/CA%2BnPnMyRJ%2BXQVQFap0SdoUDtOPimj2aM6iH6DeY6qWB3Ag9zdg%40mail.gmail.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/jenkinsci-users/CA%2BnPnMyRJ%2BXQVQFap0SdoUDtOPimj2aM6iH6DeY6qWB3Ag9zdg%40mail.gmail.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/edab696c-2a2a-4a16-86c5-02beaa7e696a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: LDAP fails with no details in the logs

stephenconnolly
What browser?

If it's not working on your browser I'll need to know.

Works on Chrome for me

On Mon 17 Apr 2017 at 18:22, Daniel Watrous <[hidden email]> wrote:
Thank you for this. I downloaded and installed this plugin, but I'm still unable to make progress on my problem. 

There is now a "Test LDAP settings" button. When I click this it produces a popover window that says "undefined" with an X to close the popover.

I tried logging in and see the same two lines in the logs.


On Friday, April 14, 2017 at 6:21:58 PM UTC-5, Mark Waite wrote:
I cloned the master branch of the ldap-plugin, then pulled PR18 into it and built it.

If it helps you, the code can be downloaded from https://drive.google.com/open?id=0B9GyYWyfT1N5c1pabnBkbnVyRjA 

Thanks,
Mark Waite
On Fri, Apr 14, 2017 at 1:05 PM Stephen Connolly <[hidden email]> wrote:
Oh well, it will be Wednesday before I am back at computer... maybe some kind soul will help you out
On Fri 14 Apr 2017 at 16:52, Daniel Watrous <[hidden email]> wrote:
I'm not sure how to do that. I assume you mean a pull request, but I think this might be beyond me at this point.


On Friday, April 14, 2017 at 10:40:33 AM UTC-5, Stephen Connolly wrote:
Try building my PR against the ldap plugin that adds a validate button and using that. See if the validate button helps diagnose and fix the issue!
On Fri 14 Apr 2017 at 16:34, Daniel Watrous <[hidden email]> wrote:
Hi,

I'm trying to use LDAP authentication, but I can't get it to work and I don't see anything in the logs to help. Here's the only thing I get from a failed login.

Apr 14, 2017 3:29:19 PM jenkins.security.SecurityListener fireFailedToLogIn
FINE: failed to log in: [hidden email]

I can't even get to the point where I can debug the LDAP settings because it just fails like this every time.

Is there some way I can get more details about what's happening and why this is failing?

--
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 [hidden email].
--
Sent from my phone

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/c49d06b3-92da-4c7c-9b4a-85adc357f97a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Sent from my phone

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CA%2BnPnMyRJ%2BXQVQFap0SdoUDtOPimj2aM6iH6DeY6qWB3Ag9zdg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/edab696c-2a2a-4a16-86c5-02beaa7e696a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Sent from my phone

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CA%2BnPnMzcDPDLitG8mDMFG8hMYHegjYjjt-UtJ-KiycywPhqYCQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: LDAP fails with no details in the logs

stephenconnolly
I was able to reproduce the "undefined" modal dialog issue and I believe I have fixed it. Please try this -SNAPSHOT build:


which was built from https://github.com/jenkinsci/ldap-plugin/pull/18/commits/a258feee8ef904ac557b9c29ef1bd4e71e27d713 and has my claimed fix for the dialog issue you encountered

Let me know how you get on.

-Stephen



On 17 April 2017 at 22:52, Stephen Connolly <[hidden email]> wrote:
What browser?

If it's not working on your browser I'll need to know.

Works on Chrome for me

On Mon 17 Apr 2017 at 18:22, Daniel Watrous <[hidden email]> wrote:
Thank you for this. I downloaded and installed this plugin, but I'm still unable to make progress on my problem. 

There is now a "Test LDAP settings" button. When I click this it produces a popover window that says "undefined" with an X to close the popover.

I tried logging in and see the same two lines in the logs.


On Friday, April 14, 2017 at 6:21:58 PM UTC-5, Mark Waite wrote:
I cloned the master branch of the ldap-plugin, then pulled PR18 into it and built it.

If it helps you, the code can be downloaded from https://drive.google.com/open?id=0B9GyYWyfT1N5c1pabnBkbnVyRjA 

Thanks,
Mark Waite
On Fri, Apr 14, 2017 at 1:05 PM Stephen Connolly <[hidden email]> wrote:
Oh well, it will be Wednesday before I am back at computer... maybe some kind soul will help you out
On Fri 14 Apr 2017 at 16:52, Daniel Watrous <[hidden email]> wrote:
I'm not sure how to do that. I assume you mean a pull request, but I think this might be beyond me at this point.


On Friday, April 14, 2017 at 10:40:33 AM UTC-5, Stephen Connolly wrote:
Try building my PR against the ldap plugin that adds a validate button and using that. See if the validate button helps diagnose and fix the issue!
On Fri 14 Apr 2017 at 16:34, Daniel Watrous <[hidden email]> wrote:
Hi,

I'm trying to use LDAP authentication, but I can't get it to work and I don't see anything in the logs to help. Here's the only thing I get from a failed login.

Apr 14, 2017 3:29:19 PM jenkins.security.SecurityListener fireFailedToLogIn
FINE: failed to log in: [hidden email]

I can't even get to the point where I can debug the LDAP settings because it just fails like this every time.

Is there some way I can get more details about what's happening and why this is failing?

--
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-use...@googlegroups.com.
--
Sent from my phone

--
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-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/c49d06b3-92da-4c7c-9b4a-85adc357f97a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Sent from my phone

--
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-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CA%2BnPnMyRJ%2BXQVQFap0SdoUDtOPimj2aM6iH6DeY6qWB3Ag9zdg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/edab696c-2a2a-4a16-86c5-02beaa7e696a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Sent from my phone

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CA%2BnPnMy52S__waVr_RU%3D1r_Z8oP9Pq_g4LjKnU3_AA%3Dfa0%3DhKA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: LDAP fails with no details in the logs

Daniel Watrous-2
I noticed that I only got undefined if I wasn't showing the advanced options. The updated plugin shows the dialog even when the advanced options aren't visible. Thanks.

This did give me some additional detail to work with the AD team and see if I can get LDAP auth working. It seems I need a different management DN.

On Wednesday, April 19, 2017 at 7:13:30 AM UTC-5, Stephen Connolly wrote:
I was able to reproduce the "undefined" modal dialog issue and I believe I have fixed it. Please try this -SNAPSHOT build:

<a href="https://www.dropbox.com/s/p457a5ieud7t1l4/ldap-a258feee8ef904ac557b9c29ef1bd4e71e27d713.hpi" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.dropbox.com%2Fs%2Fp457a5ieud7t1l4%2Fldap-a258feee8ef904ac557b9c29ef1bd4e71e27d713.hpi\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGqxQ8ju5-LRaxHTCAFwAKHzJ-akg&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.dropbox.com%2Fs%2Fp457a5ieud7t1l4%2Fldap-a258feee8ef904ac557b9c29ef1bd4e71e27d713.hpi\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGqxQ8ju5-LRaxHTCAFwAKHzJ-akg&#39;;return true;">https://www.dropbox.com/s/p457a5ieud7t1l4/ldap-a258feee8ef904ac557b9c29ef1bd4e71e27d713.hpi

which was built from <a href="https://github.com/jenkinsci/ldap-plugin/pull/18/commits/a258feee8ef904ac557b9c29ef1bd4e71e27d713" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fjenkinsci%2Fldap-plugin%2Fpull%2F18%2Fcommits%2Fa258feee8ef904ac557b9c29ef1bd4e71e27d713\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHVGn0XGWusMC0mzcklR5a0ur83hQ&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Fjenkinsci%2Fldap-plugin%2Fpull%2F18%2Fcommits%2Fa258feee8ef904ac557b9c29ef1bd4e71e27d713\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNHVGn0XGWusMC0mzcklR5a0ur83hQ&#39;;return true;">https://github.com/jenkinsci/ldap-plugin/pull/18/commits/a258feee8ef904ac557b9c29ef1bd4e71e27d713 and has my claimed fix for the dialog issue you encountered

Let me know how you get on.

-Stephen



On 17 April 2017 at 22:52, Stephen Connolly <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="_YviDQqDAwAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">stephen.al...@gmail.com> wrote:
What browser?

If it's not working on your browser I'll need to know.

Works on Chrome for me

On Mon 17 Apr 2017 at 18:22, Daniel Watrous <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="_YviDQqDAwAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">daniel....@...> wrote:
Thank you for this. I downloaded and installed this plugin, but I'm still unable to make progress on my problem. 

There is now a "Test LDAP settings" button. When I click this it produces a popover window that says "undefined" with an X to close the popover.

I tried logging in and see the same two lines in the logs.


On Friday, April 14, 2017 at 6:21:58 PM UTC-5, Mark Waite wrote:
I cloned the master branch of the ldap-plugin, then pulled PR18 into it and built it.

If it helps you, the code can be downloaded from <a href="https://drive.google.com/open?id=0B9GyYWyfT1N5c1pabnBkbnVyRjA" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://drive.google.com/open?id\x3d0B9GyYWyfT1N5c1pabnBkbnVyRjA&#39;;return true;" onclick="this.href=&#39;https://drive.google.com/open?id\x3d0B9GyYWyfT1N5c1pabnBkbnVyRjA&#39;;return true;">https://drive.google.com/open?id=0B9GyYWyfT1N5c1pabnBkbnVyRjA 

Thanks,
Mark Waite
On Fri, Apr 14, 2017 at 1:05 PM Stephen Connolly <[hidden email]> wrote:
Oh well, it will be Wednesday before I am back at computer... maybe some kind soul will help you out
On Fri 14 Apr 2017 at 16:52, Daniel Watrous <[hidden email]> wrote:
I'm not sure how to do that. I assume you mean a pull request, but I think this might be beyond me at this point.


On Friday, April 14, 2017 at 10:40:33 AM UTC-5, Stephen Connolly wrote:
Try building my PR against the ldap plugin that adds a validate button and using that. See if the validate button helps diagnose and fix the issue!
On Fri 14 Apr 2017 at 16:34, Daniel Watrous <[hidden email]> wrote:
Hi,

I'm trying to use LDAP authentication, but I can't get it to work and I don't see anything in the logs to help. Here's the only thing I get from a failed login.

Apr 14, 2017 3:29:19 PM jenkins.security.SecurityListener fireFailedToLogIn
FINE: failed to log in: [hidden email]

I can't even get to the point where I can debug the LDAP settings because it just fails like this every time.

Is there some way I can get more details about what's happening and why this is failing?

--
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-use...@googlegroups.com.

To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/jenkinsci-users/8dcee899-491f-4366-b2ff-d28c42dcfb94%40googlegroups.com?utm_medium=email&amp;utm_source=footer" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-users/8dcee899-491f-4366-b2ff-d28c42dcfb94%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-users/8dcee899-491f-4366-b2ff-d28c42dcfb94%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/jenkinsci-users/8dcee899-491f-4366-b2ff-d28c42dcfb94%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.
--
Sent from my phone

--
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-use...@googlegroups.com.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/jenkinsci-users/c49d06b3-92da-4c7c-9b4a-85adc357f97a%40googlegroups.com?utm_medium=email&amp;utm_source=footer" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-users/c49d06b3-92da-4c7c-9b4a-85adc357f97a%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-users/c49d06b3-92da-4c7c-9b4a-85adc357f97a%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/jenkinsci-users/c49d06b3-92da-4c7c-9b4a-85adc357f97a%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.
--
Sent from my phone

--
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-use...@googlegroups.com.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/jenkinsci-users/CA%2BnPnMyRJ%2BXQVQFap0SdoUDtOPimj2aM6iH6DeY6qWB3Ag9zdg%40mail.gmail.com?utm_medium=email&amp;utm_source=footer" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-users/CA%2BnPnMyRJ%2BXQVQFap0SdoUDtOPimj2aM6iH6DeY6qWB3Ag9zdg%40mail.gmail.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-users/CA%2BnPnMyRJ%2BXQVQFap0SdoUDtOPimj2aM6iH6DeY6qWB3Ag9zdg%40mail.gmail.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/jenkinsci-users/CA%2BnPnMyRJ%2BXQVQFap0SdoUDtOPimj2aM6iH6DeY6qWB3Ag9zdg%40mail.gmail.com.
For more options, visit <a href="https://groups.google.com/d/optout" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.

--
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 <a href="javascript:" target="_blank" gdf-obfuscated-mailto="_YviDQqDAwAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/jenkinsci-users/edab696c-2a2a-4a16-86c5-02beaa7e696a%40googlegroups.com?utm_medium=email&amp;utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-users/edab696c-2a2a-4a16-86c5-02beaa7e696a%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/msgid/jenkinsci-users/edab696c-2a2a-4a16-86c5-02beaa7e696a%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter&#39;;return true;">https://groups.google.com/d/msgid/jenkinsci-users/edab696c-2a2a-4a16-86c5-02beaa7e696a%40googlegroups.com.
For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.
--
Sent from my phone

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/bf1359bb-b295-4f7c-bc83-caa811a191b8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...