From b2ffcf5dfbd7b91d1bb657d5063ed928f4f36caa Mon Sep 17 00:00:00 2001 From: Jonas Knudsen Date: Wed, 25 Oct 2023 02:13:38 -0700 Subject: [PATCH] feat: configuration class collection --- src/Producers/BaseProducer.cs | 4 ++-- src/Runtime/ObjectProcessors.cs | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Producers/BaseProducer.cs b/src/Producers/BaseProducer.cs index 3137a07..0b6ef5f 100644 --- a/src/Producers/BaseProducer.cs +++ b/src/Producers/BaseProducer.cs @@ -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); @@ -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); } diff --git a/src/Runtime/ObjectProcessors.cs b/src/Runtime/ObjectProcessors.cs index eab1fdd..7f51172 100644 --- a/src/Runtime/ObjectProcessors.cs +++ b/src/Runtime/ObjectProcessors.cs @@ -77,6 +77,7 @@ internal async Task 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);