diff --git a/Sharphound.csproj b/Sharphound.csproj index ae75dac..1434395 100644 --- a/Sharphound.csproj +++ b/Sharphound.csproj @@ -24,8 +24,8 @@ - - + + @@ -33,9 +33,9 @@ - - - + diff --git a/src/Runtime/ObjectProcessors.cs b/src/Runtime/ObjectProcessors.cs index f8ff61c..b427f44 100644 --- a/src/Runtime/ObjectProcessors.cs +++ b/src/Runtime/ObjectProcessors.cs @@ -368,7 +368,7 @@ private async Task ProcessDomainObject(IDirectoryObject entry, .ToArrayAsync(); if ((_methods & CollectionMethod.ObjectProps) != 0) { - ret.Properties = ContextUtils.Merge(ret.Properties, LdapPropertyProcessor.ReadDomainProperties(entry)); + ret.Properties = ContextUtils.Merge(ret.Properties, await _ldapPropertyProcessor.ReadDomainProperties(entry, resolvedSearchResult.Domain)); if (_context.Flags.CollectAllProperties) { ret.Properties = ContextUtils.Merge(_ldapPropertyProcessor.ParseAllProperties(entry), ret.Properties);