Fix NTFS ensure group reuse and parent mapping

This commit is contained in:
Meik
2026-03-13 23:37:47 +01:00
parent 865fa577e3
commit 42f57ed7ba
2 changed files with 9 additions and 4 deletions

View File

@@ -617,7 +617,7 @@ namespace C4IT_IAM_Engine
if (existingGroup == null)
existingGroup = FindGroupEntry(secGroup.Name);
if (existingGroup == null && !ForceStrictAdGroupNames)
if (existingGroup == null && !ForceStrictAdGroupNames && string.IsNullOrWhiteSpace(folderPath))
existingGroup = FindGroupEntryByWildcard(ouPath, secGroup.WildcardPattern);
if (existingGroup == null)