Less users than expected appearing when using ldap.searchFilter

Hi!

I’m using Openfire 3.6.3 with Active Directory. When I leave the search filter blank, I see every user in Active Directory populate into Openfire’s user interface, which is what I would expect. However, when I set my search filter to: (memberOf=cn=Instant Messaging Users,ou=Instant Messaging,ou=Groups,dc=XXXX,dc=net), not all the members of that group appear in Openfire. My Base DN is dc=XXXX,dc=net so that should cover the entire domain. I’ve tried clearing the Openfire cache and restarting the service with no luck.

Additionally in the debug log, I receive the following message:

2009.02.06 12:04:48 LdapManager: Trying to find a user’s DN based on their username. sAMAccountName: schlesinger.l4, Base DN: dc=“XXXX”,dc=“net”…
2009.02.06 12:04:48 LdapManager: Creating a DirContext in LdapManager.getContext()…
2009.02.06 12:04:48 LdapManager: Created hashtable with context values, attempting to create context…
2009.02.06 12:04:48 LdapManager: … context created successfully, returning.
2009.02.06 12:04:48 LdapManager: Starting LDAP search…
2009.02.06 12:04:48 LdapManager: … search finished
2009.02.06 12:04:48 LdapManager: User DN based on username ‘schlesinger.l4’ not found.
2009.02.06 12:04:48 LdapManager: Exception thrown when searching for userDN based on username 'schlesinger.l4’
org.jivesoftware.openfire.user.UserNotFoundException: Username schlesinger.l4 not found

I see similar lines for each user account this happens to.

Any suggestions on resolving this would be greatly appreciated.