Can''t connect with OpenLDAP

I already have read several Posts about LDAP inconveniences I follow some advices however I’‘m still having problems in binding my LDAP server. I’‘m using OpenLDAP and WildFire 3.0.1 for linux, I didn’'t have any trouble installing the server without LDAP everything was allright I tested with Spark 2.0.2 and Neos Client without any problem.

I made all the changes in the wildfire.xml file to bind my LDAP server, but nothing seems to work.

I follow the advice of a post that I read probing my LDAP server with “Softerra LDAP Browser 2.6” just to test the baseDN that I’'m using and everything was allright with softerra and my LDAP server.

I tried replacing commas “,” and semi-colons “;” and many other things but nothing…please Help Me !!!

Here it is my wildfire.xml and the debug.log:



And the debug.log


2006.10.06 19:59:55 Created new LdapManager() instance, fields:

2006.10.06 19:59:55 host: ldap.ffpfie.com.bo

2006.10.06 19:59:55 port: 389

2006.10.06 19:59:55 usernamefield: uid

2006.10.06 19:59:55 baseDN: ou=Users;dc=ffpfie;dc=com;dc=bo

2006.10.06 19:59:55 alternateBaseDN: null

2006.10.06 19:59:55 nameField: uid

2006.10.06 19:59:55 emailField: mail

2006.10.06 19:59:55 adminDN: null

2006.10.06 19:59:55 adminPassword: null

2006.10.06 19:59:55 searchFilter: (uid=)
2006.10.06 19:59:55 subTreeSearch:true
2006.10.06 19:59:55 ldapDebugEnabled: false
2006.10.06 19:59:55 sslEnabled: false
2006.10.06 19:59:55 initialContextFactory: com.sun.jndi.ldap.LdapCtxFactory
2006.10.06 19:59:55 connectionPoolEnabled: true
2006.10.06 19:59:55 autoFollowReferrals: false
2006.10.06 19:59:55 groupNameField: cn
2006.10.06 19:59:55 groupMemberField: member
2006.10.06 19:59:55 groupDescriptionField: description
2006.10.06 19:59:55 posixMode: false
2006.10.06 19:59:55 groupSearchFilter: (member=)

2006.10.06 19:59:58 Loading plugin admin

2006.10.06 20:00:01 Loading plugin search

2006.10.06 20:01:02 Connect Socket[addr=/10.2.0.55,port=3424,localport=5222]

2006.10.06 20:01:26 Connect Socket[addr=/10.2.0.55,port=3433,localport=5222]

2006.10.06 20:01:26 Trying to find a user’'s DN based on their username. uid: jfigueroa, Base DN: ou=Users;dc=ffpfie;dc=com;dc=bo…

2006.10.06 20:01:26 Creating a DirContext in LdapManager.getContext()…

2006.10.06 20:01:26 Created hashtable with context values, attempting to create context…

2006.10.06 20:01:26 … context created successfully, returning.

2006.10.06 20:01:26 Starting LDAP search…

2006.10.06 20:01:26 … search finished

2006.10.06 20:01:26 In LdapManager.checkAuthentication(userDN, password), userDN is: uid=“jfigueroa”…

2006.10.06 20:01:26 Created context values, attempting to create context…

2006.10.06 20:01:26 Caught a naming exception when creating InitialContext

javax.naming.AuthenticationException: LDAP: error code 49 - Invalid Credentials

at com.sun.jndi.ldap.LdapCtx.mapErrorCode(Unknown Source)

at com.sun.jndi.ldap.LdapCtx.processReturnCode(Unknown Source)

at com.sun.jndi.ldap.LdapCtx.processReturnCode(Unknown Source)

at com.sun.jndi.ldap.LdapCtx.connect(Unknown Source)

at com.sun.jndi.ldap.LdapCtx.(Unknown Source)

at org.jivesoftware.wildfire.ldap.LdapManager.checkAuthentication(LdapManager.java :346)

at org.jivesoftware.wildfire.ldap.LdapAuthProvider.authenticate(LdapAuthProvider.j ava:93)

at org.jivesoftware.wildfire.auth.AuthFactory.authenticate(AuthFactory.java:127)

at org.jivesoftware.wildfire.net.SASLAuthentication.doPlainAuthentication(SASLAuth entication.java:336)

at org.jivesoftware.wildfire.net.SASLAuthentication.handle(SASLAuthentication.java :172)

at org.jivesoftware.wildfire.net.SocketReadingMode.authenticateClient(SocketReadin gMode.java:117)

at org.jivesoftware.wildfire.net.BlockingReadingMode.readStream(BlockingReadingMod e.java:136)

at org.jivesoftware.wildfire.net.BlockingReadingMode.run(BlockingReadingMode.java: 62)

at org.jivesoftware.wildfire.net.SocketReader.run(SocketReader.java:123)

at java.lang.Thread.run(Unknown Source)