Skip to content

Commit

Permalink
added Todo
Browse files Browse the repository at this point in the history
  • Loading branch information
derco0n committed Nov 28, 2023
1 parent eb0606f commit a2adb90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Co0nUtilZ/C_LDAPHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public DirectoryEntry getADObject(string objectclass, string name)
}
name = name.ToLower();
DirectoryEntry result = null;
ArrayList objs = this.searchObject(objectclass);
ArrayList objs = this.searchObject(objectclass); //It is highly inefficient to get a complete list of all matching object-types in the first place. TODO: adjust searchObject() to searchOne() instead of searchAll() when looking up a specific object (by name).
foreach (SearchResult obj in objs)
{
DirectoryEntry entry = obj.GetDirectoryEntry();
Expand Down

0 comments on commit a2adb90

Please sign in to comment.