aspose file tools*
The moose likes Security and the fly likes LDAP Connection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "LDAP Connection" Watch "LDAP Connection" New topic
Author

LDAP Connection

hazem Ali
Greenhorn

Joined: Mar 23, 2009
Posts: 3
Hi all,
I am connecting to LDAP with java
I am using JDK 1.4.2 and eclips
it get me this exception can someone help me:
------------------------------------------------------------------------------------

javax.naming.AuthenticationNotSupportedException: hazem.goda
.k.;...
0060: E3 31 .1
Thread-0, WRITE: SSLv2 client hello message, length = 98
at com.sun.jndi.ldap.sasl.LdapSasl.saslBind(LdapSasl.java:108)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sun.jndi.ldap.LdapClient.saslBind(Unknown Source)
at com.sun.jndi.ldap.LdapClient.authenticate(Unknown Source)
at com.sun.jndi.ldap.LdapCtx.connect(Unknown Source)
at com.sun.jndi.ldap.LdapCtx.<init>(Unknown Source)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(Unknown Source)
at com.sun.jndi.ldap.LdapCtxFactory.getUsingURLs(Unknown Source)
at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(Unknown Source)
at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(Unknown Source)
at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
at javax.naming.InitialContext.init(Unknown Source)
at javax.naming.InitialContext.<init>(Unknown Source)
at javax.naming.directory.InitialDirContext.<init>(Unknown Source)
at ADConnection.<init>(ADConnection.java:23)
at ADConnection.main(ADConnection.java:152)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: LDAP Connection