Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Bug #1253 (new)

Opened 15 years ago

Last modified 12 years ago

LDAP password checks throws exception — at Initial Version

Reported by: jamoore Owned by: jmoore
Priority: major Milestone: Unscheduled
Component: General Version: 3.0-M1
Keywords: n.a. Cc: atarkowska, sylittlewood, bpindelski
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description

The following was thrown rather than just returning "false" for the password check.

2009-03-19 14:11:45,864 INFO  [        ome.services.util.ServiceHandler] (l.Server-3)  Excp:    org.springframework.ldap.InvalidNameException: [LDAP: error code 34 - i
nvalid DN]; nested exception is javax.naming.InvalidNameException: [LDAP: error code 34 - invalid DN]
2009-03-19 14:11:45,864 ERROR [services.blitz.fire.PermissionsVerifierI] (l.Server-3) Exception thrown while checking password for:test
ome.conditions.InternalException:  Wrapped Exception: (org.springframework.ldap.InvalidNameException):
[LDAP: error code 34 - invalid DN]; nested exception is javax.naming.InvalidNameException: [LDAP: error code 34 - invalid DN]
        at org.springframework.ldap.support.LdapUtils.convertLdapException(LdapUtils.java:126)
        at org.springframework.ldap.core.support.AbstractContextSource.createContext(AbstractContextSource.java:235)
        at org.springframework.ldap.core.support.AbstractContextSource.getReadOnlyContext(AbstractContextSource.java:107)
        at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:266)
        at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:234)
        at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:583)
        at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:497)
        at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:447)
        at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:468)
        at org.springframework.ldap.core.LdapTemplate.search(LdapTemplate.java:486)
        at ome.logic.LdapImpl.findExperimenter(LdapImpl.java:169)
        at ome.logic.LdapImpl.createUserFromLdap(LdapImpl.java:446)
        at ome.security.auth.LdapPasswordProvider.checkPassword(LdapPasswordProvider.java:93)
        at ome.security.auth.PasswordProviders.checkPassword(PasswordProviders.java:42)
        at ome.logic.AdminImpl.checkPassword(AdminImpl.java:915)

Change History (0)

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.75835 sec.)

We're Hiring!