Skip to content
Snippets Groups Projects
Commit 1a79f982 authored by Adrian Damian's avatar Adrian Damian
Browse files

Another small fix for numeric id

parent ee1d7511
No related branches found
No related tags found
No related merge requests found
......@@ -208,7 +208,8 @@ public abstract class LdapDAO
SearchResult searchResult =
getConnection().search(config.getUsersDN(), SearchScope.ONE,
ldapField, "entrydn");
"(&(objectclass=cadcaccount)" + ldapField + ")",
"entrydn");
if (searchResult.getEntryCount() < 1)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment