Environment
Data Hub 12.6 upgraded to 14.0 u01
Issue
After successfully running the "Get groups" Active Directory data collection task with its nested groups option enabled, it was found that additional rows (one for each true group row) were created with number values instead of RDN values, as shown below:
This issue does not occur when nested groups are not enabled, and 12.6 does not have this problem.
This situation also causes the "Get users and group membership" Active Directory data collection task to fail when its nested groups option is also enabled, due to those invalid RDN values, and similar Data Hub Agent log entries will be written when this failure happens:
[20-09-2024 13:18:42] [02124] [DEBUG] [Raynet.RayVentory.DataHub.Collectors.ActiveDirectory.Querying.CsvAdQueryPipe]: Appending data to a CSV file C:\Windows\TEMP\RVDH_A6A399CC\Groups.csv (table: Groups, includeDataTypes: True)...
[20-09-2024 13:18:43] [02124] [ERROR] [Raynet.RayVentory.DataHub.Agent.ServiceWorker]: Invalid RDN: unterminated attribute OID (Parameter '127')
System.ArgumentException: Invalid RDN: unterminated attribute OID (Parameter '127')
at CPI.DirectoryServices.RDN.ParseRDN(String rdnString)
at CPI.DirectoryServices.DN.ParseDN(String dnString)
at CPI.DirectoryServices.DN..ctor(String dnString, EscapeChars escapeChars)
at CPI.DirectoryServices.DN..ctor(String dnString)
at Raynet.RayVentory.DataHub.Collectors.ActiveDirectory.ActiveDirectoryCollector.t4ovU7GZL(String , String , Boolean , String , String , String , IEnumerable`1 , Int32 , CancellationToken , ITaskStatusReporter , String[] )
at Raynet.RayVentory.DataHub.Collectors.ActiveDirectory.ActiveDirectoryCollector.ExtractAsync(IConfiguration configuration, TaskToExecute task, CancellationToken cancellationToken, ITaskStatusReporter reporter)
at Raynet.RayVentory.DataHub.Agent.ServiceWorker.Rl7IQNfc4(CancellationToken )
[20-09-2024 13:18:43] [02124] [WARN] [Raynet.RayVentory.DataHub.Agent.ServiceWorker]: Processing task [746544f3-f35f-4ef6-e2cf-08dcd95d7577] AD -> data set 'ActiveDirectoryUsersGroups' by connector 'Active Directory' finished with errors
Cause
Unknown at this time.
Resolution
Unknown at this time.
Comments