-
Bug
-
Resolution: Not an Issue
-
P2
-
None
-
1.4.2_03
-
None
-
sparc
-
solaris_8
When Java 1.4.2_03 is used to do an LDAP bind with a non-existent Dn, the Identity Server/LDAP Server returns err=32 in its access log but yet Java throws a AuthenticationException. However, as per the LDAP rfc and as per JNDI documentation err=32 should map to NameNotFoundException in Java.
JNDI docs: http://java.sun.com/products/jndi/tutorial/ldap/models/exceptions.html
I know for a fact that Java is indeed receiving a err=32 from the server because I've changed my code to not catch AuthenticationException and just printStackTrace instead and I get:
javax.naming.AuthenticationException: [LDAP: error code 32 - No Such Object]
This needs to fixed and a err=32 should throw a proper NameNotFoundException.
###@###.### 2004-02-11
JNDI docs: http://java.sun.com/products/jndi/tutorial/ldap/models/exceptions.html
I know for a fact that Java is indeed receiving a err=32 from the server because I've changed my code to not catch AuthenticationException and just printStackTrace instead and I get:
javax.naming.AuthenticationException: [LDAP: error code 32 - No Such Object]
This needs to fixed and a err=32 should throw a proper NameNotFoundException.
###@###.### 2004-02-11