powered by Jive Software

Not on LDAP

Hi you all!

I don’'t understand very well how to configure the LDAP-Jive Messenger connection but finnaly I have this conf:

172.16.1.31

80

uid

cn

mail

o=empleados,o=juntadeandalucia,c=es

cn=jsanchez,o=juntadeandalucia,c=es

adminpswd

And now, what jid have to be put on the login method? I suppose the the name whch matches the uid in LDAP, isn`t it?

Well, when I’'m try to connect, I get the next exception:

2005.05.18 13:22:23 Trying to find a user’'s DN based on their username. uid: mmarin, Base DN: o=empleados,o=juntadeandalucia,c=es…

2005.05.18 13:22:23 Creating a DirContext in LdapManager.getContext()…

2005.05.18 13:22:24 Created hashtable with context values, attempting to create context…

2005.05.18 13:27:25 Exception thrown when searching for userDN based on username ‘‘mmarin’’

javax.naming.CommunicationException: Request: 1 cancelled

at com.sun.jndi.ldap.LdapRequest.getReplyBer(Unknown Source)

at com.sun.jndi.ldap.Connection.readReply(Unknown Source)

at com.sun.jndi.ldap.LdapClient.ldapBind(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.(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.ldap.InitialLdapContext.(Unknown Source)

at org.jivesoftware.messenger.ldap.LdapManager.getContext(LdapManager.java:235)

at org.jivesoftware.messenger.ldap.LdapManager.findUserDN(LdapManager.java:398)

at org.jivesoftware.messenger.ldap.LdapManager.findUserDN(LdapManager.java:353)

at org.jivesoftware.messenger.ldap.LdapAuthProvider.authenticate(LdapAuthProvider. java:88)

at org.jivesoftware.messenger.auth.AuthFactory.authenticate(AuthFactory.java:97)

at org.jivesoftware.messenger.handler.IQAuthHandler.login(IQAuthHandler.java:217)

at org.jivesoftware.messenger.handler.IQAuthHandler.handleIQ(IQAuthHandler.java:14 0)

at org.jivesoftware.messenger.handler.IQHandler.process(IQHandler.java:48)

at org.jivesoftware.messenger.IQRouter.handle(IQRouter.java:202)

at org.jivesoftware.messenger.IQRouter.route(IQRouter.java:73)

at org.jivesoftware.messenger.PacketRouter.route(PacketRouter.java:65)

at org.jivesoftware.messenger.net.SocketReadThread.readStream(SocketReadThread.jav a:285)

at org.jivesoftware.messenger.net.SocketReadThread.run(SocketReadThread.java:105)

any idea would be appreciated!

Thank you all in advance!

Miguel Angel Marín

I’’ ve solve the problem, SoftTerra LDAP Browser’'s helped me