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

Small fix for numeric id - take 3

parent b49c4354
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,
"(&(objectclass=cadcaccount)" + ldapField + ")",
"(&(objectclass=cadcaccount)(objectclass=inetorgperson)"
+ 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