Bug #1253 (new)
Opened 15 years ago
Last modified 12 years ago
LDAP password checks throws exception — at Version 1
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 (last modified by jmoore)
The following was thrown because the omero.ldap.username was an invalid dn. Perhaps this could be checked earlier, and even prevent the server from starting up?
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)
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.