Skip to content

Commit

Permalink
feat: configuration class collection
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasBK committed Nov 9, 2023
1 parent f694291 commit b2ffcf5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Producers/BaseProducer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ protected LDAPData CreateConfigNCData()

if ((methods & ResolvedCollectionMethod.ObjectProps) != 0 || (methods & ResolvedCollectionMethod.ACL) != 0)
{
query = query.AddContainers().AddCertificateTemplates().AddCertificateAuthorities().AddEnterpriseCertificationAuthorities();
query = query.AddContainers().AddConfiguration().AddCertificateTemplates().AddCertificateAuthorities().AddEnterpriseCertificationAuthorities();
props.AddRange(CommonProperties.ObjectPropsProps);
props.AddRange(CommonProperties.CertAbuseProps);

Expand All @@ -161,7 +161,7 @@ protected LDAPData CreateConfigNCData()
{
if ((methods & ResolvedCollectionMethod.Container) != 0)
{
query = query.AddContainers().AddCertificateTemplates().AddCertificateAuthorities().AddEnterpriseCertificationAuthorities();
query = query.AddContainers().AddConfiguration().AddCertificateTemplates().AddCertificateAuthorities().AddEnterpriseCertificationAuthorities();
props.AddRange(CommonProperties.ContainerProps);
}

Expand Down
1 change: 1 addition & 0 deletions src/Runtime/ObjectProcessors.cs
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ internal async Task<OutputBase> ProcessObject(ISearchResultEntry entry,
case Label.OU:
return await ProcessOUObject(entry, resolvedSearchResult);
case Label.Container:
case Label.Configuration:
return ProcessContainerObject(entry, resolvedSearchResult);
case Label.RootCA:
return await ProcessRootCA(entry, resolvedSearchResult);
Expand Down

0 comments on commit b2ffcf5

Please sign in to comment.