1. Sebastian Sebastian
  2. scm-manager
  3. Issues


Issue #115 resolved

LDAP test fails - login succeeds

created an issue

Most of our users are in the same group. There is one user,CruiseControl we use for automated builds that is in a different group. Most of our users have been able to authenticate automatically. The user CruiseControl can't login. I want to test the authentication of that user via Test Connection. I've tried changing my LDAP Authentication configuration to remove:People Unit Then - I attempted to test the connection. Even when I tested against my own user, Test Connection still fails:

Connection: SUCCESS Search user: SUCCESS Authenticate user: FAILURE Exception: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C090334, comment: AcceptSecurityContext error, data 52e, vece]

I don't believe this is a real error because I am able to login with that same username and password.

Comments (7)

  1. cdoucette reporter

    The new settings haven't changed. I can login as a user (myself, cdoucette) and test that same user and the test will fail. If that doesn't work - it doesn't make sense to test the automated build user.

  2. cdoucette reporter

    (Reply via CDou...@everyscape.com):

    I am familiar with JXPlorer. I used it to figure out the settings. But thank you for the reference to the excellent post. At one point, LDAP test connection was working well, and everything was succeeding and I was getting the user's group names. Now - it is no longer working (I have no idea what changed if anything) - but most importantly login still succeeds (except for this automated build user, which is why I want to retest the connection).

    Also - thank you for your excellent responsiveness - and for letting us/me know that you will be away. I believe all my critical issues with your tool have been resolved - so I can certainly wait until you return to resolve this issue.

    Thanks, Chuck

    -----Original Message----- From: Sebastian Sdorra [mailto:issues-reply@bitbucket.org] Sent: Wednesday, April 11, 2012 10:20 AM To: Chuck Doucette Subject: Re: [sdorra/scm-manager] LDAP test fails - login succeeds (issue #115)

  3. cdoucette reporter

    Here's the error I see in the log when TestConnection fails: 16:05:08.629 [qtp33228489-23] INFO sonia.scm.plugin.DefaultPluginManager - fetch plugin informations from http://plugins.scm-manager.org/scm-plugin-backend/api/1.14-SNAPSHOT/plugins?os=Windows+XP&arch=32&snapshot=false 16:05:18.675 [qtp33228489-21] ERROR sonia.scm.auth.ldap.LDAPContext - could not bind to ldap with dn CN=Chuck Doucette,OU=Users,OU=Waltham,DC=mok3,DC=com javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C090334, comment: AcceptSecurityContext error, data 52e, vece

    FYI - I can login as myself via JXplorer with the same credentials and it works fine; and, login to SCM works also (and I believe it uses the same credentials).

  4. Log in to comment