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
Branches
Tags
No related merge requests found
...@@ -208,7 +208,8 @@ public abstract class LdapDAO ...@@ -208,7 +208,8 @@ public abstract class LdapDAO
SearchResult searchResult = SearchResult searchResult =
getConnection().search(config.getUsersDN(), SearchScope.ONE, getConnection().search(config.getUsersDN(), SearchScope.ONE,
ldapField, "entrydn"); "(&(objectclass=cadcaccount)" + ldapField + ")",
"entrydn");
if (searchResult.getEntryCount() < 1) if (searchResult.getEntryCount() < 1)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment