LDAP issue - Working but not finding users

If i try to login as bmiller (A user in the ARI Users OU) The output from my debug log is:


2006.09.07 10:16:14 Connect Socket[http://addr=/192.168.100.81,port=4240,localport=5222]

2006.09.07 10:16:14 Trying to find a user’'s DN based on their username. uid: bmiller, Base DN: OU=ARI Users,DC=ari,DC=aritulsa,DC=com…

2006.09.07 10:16:14 Creating a DirContext in LdapManager.getContext()…

2006.09.07 10:16:14 Created hashtable with context values, attempting to create context…

2006.09.07 10:16:14 … context created successfully, returning.

2006.09.07 10:16:14 Starting LDAP search…

2006.09.07 10:16:14 … search finished

2006.09.07 10:16:14 User DN based on username ‘‘bmiller’’ not found.

2006.09.07 10:16:14 Exception thrown when searching for userDN based on username ‘‘bmiller’’

org.jivesoftware.wildfire.user.UserNotFoundException: Username bmiller not found

at org.jivesoftware.wildfire.ldap.LdapManager.findUserDN(LdapManager.java:511)

at org.jivesoftware.wildfire.ldap.LdapManager.findUserDN(LdapManager.java:439)

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

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)


My conf file (wildfire.xml) looks like this:


<ldap>

<host>fs1.ari.aritulsa.com</host>

<port>389</port>

<usernameField>uid</usernameField>

<nameField>cn</nameField>

<emailField>mail</emailField>

<baseDN>OU=ARI Users,DC=ari,DC=aritulsa,DC=com</baseDN>

<adminDN>CN=admin,OU=ARI Users,DC=ari,DC=aritulsa,DC=com</adminDN>

<adminPassword>password</adminPassword>

</ldap>

<provider>

<user>

<className>org.jivesoftware.wildfire.ldap.LdapUserProvider</className&g t;

</user>

<auth>

<className>org.jivesoftware.wildfire.ldap.LdapAuthProvider</className&g t;

</auth>

<group>

<className>org.jivesoftware.wildfire.ldap.LdapGroupProvider</className& gt;

</group>

</provider>


Thanks