With no search filter, everything works just peachy and all is well. When I add this search filter however - (!(sAMAccountName=jabber_)) - my debug log prints the following:
2006.03.13 17:12:39 Trying to find a user’'s DN based on their username. sAMAccountName: username, Base DN: OU=organizational_unit,DC=mysite,DC=org…
2006.03.13 17:12:39 Creating a DirContext in LdapManager.getContext()…
2006.03.13 17:12:39 Created hashtable with context values, attempting to create context…
2006.03.13 17:12:40 … context created successfully, returning.
2006.03.13 17:12:40 Starting LDAP search…
2006.03.13 17:12:40 … search finished
2006.03.13 17:12:40 Search for userDN based on username ‘‘username’’ found multiple responses, throwing exception.
/code
The same message is given no matter what I make the search filter. I am trying to exclude security groups that start with ‘‘jabber_’’ from appearing in my list of users. Anyone have any ideas?
Message was edited by: mankyd
Message was edited by: mankyd