Cu is running Java 1.4.2_xx and is having problems with JNDI connecting to Directory Proxy for certain authentication requests. I have reproduced this problem on Windows and Solaris with Sun 1.4.2 VM and OS X with Apple 1.4.2 VM.
We have a testcase and it is available at:
http://lonestar.red.iplanet.com/~maraja/images/cases/testGPLDLogin.java
javax.naming.CommunicationException: Request: 1 cancelled
The error we SHOULD receive is:
Caught exception at initializing Ldap. javax.naming.AuthenticationException: [LDAP: error code 49 - password expired!]
We see this error when we have the following setup:
Java JNDI --> Directory Proxy --> Directory
Here are the steps to reproduce the problem:
(1)
Run testGPLDLogin.class with the following:
java testGPLDLogin 032test 032test
This should produce:
Caught exception at initializing Ldap. javax.naming.AuthenticationException: [LDAP: error code 49 - password expired!]
That is expected.
(2)
If log level is low (notice) on the Directory Proxy Server and the Directory Proxy Server is configured to disallow anonymous connections, occasionally, you will see the following:
javax.naming.CommunicationException: Request: 1cancelled
When this occurs, the application exits unexpectedly.
###@###.### 2004-12-13 20:34:11 GMT