Unable to authenticate Users from sub-domains within an AD Forest

Unable to authenticate Users from sub-domains within an AD Forest

99
Created On 11/10/26 10:58 AM - Last Modified 11/10/26 15:59 PM


Symptom


When users attempt to login to Idira Identity with their sAMAccount Name, for example: ‘first.lastname’ they are unable to authenticate as the User cannot be found.

 

In the below example, Users from the highest forest domain may be able to authenticate successfully, but Users who belong to sub-domains are unable to authenticate:

 

AD Forest:

TopAD.Cyberark.com

AD Domains Within Forest:

TopAD.Cyberark.com (Users contained here can authenticate)

APAC.Cyberark.com (Users contained here cannot authenticate)

EMEA.Cyberark.com (Users contained here cannot authenticate)

US.Cyberark.com (Users contained here cannot authenticate)

 

When investigating the Connector Logs it can be identified that the User lookup process is only searching for the User in the highest forest domain. Based on the above example AD Forest, the User ‘example.user’ is contained within the EMEA.Cyberark.com sub-domain, but the GetUser process is only searching for the User in the TopAD Domain:

 

(Some information in the example log entries below has been redacted)

2025-08-22 09:15:11,447 [P-ProxyHost.exe|ABC1234|DEBUG] IDirectoryServiceRpc: GetUser(example.user)

2025-08-22 09:15:11,447 [P-ProxyHost.exe|ABC1234|DEBUG] ADHelper: GetUserObjectFromSamAccountName(example.user, TopAD)

2025-08-22 09:15:11,453 [P-ProxyHost.exe|ABC1234|DEBUG] ADHelper: Found 0 results

2025-08-22 09:15:11,453 [P-ProxyHost.exe|ABC1234|DEBUG] IDirectoryServiceRpc: User object not found

 

As the Identity Connector is only searching within the TopAD Domain, it cannot locate the User who belongs to the EMEA.Cyberark.com domain, as such the authentication fails.



Environment


Identity Connector

Idira Identity connected to an Active Directory using the Identity Connector.



Cause


The Connector will search for the User within the highest Forest Domain by default, unless Global Catalogue search is enabled.



Resolution


In order for the Connector to search all the domains within the AD Forest, Global Catalogue search needs to be enabled. Follow the steps below to configure Global Catalogue search.

Note: If you have multiple Identity Connectors, the below steps will need to be performed on each machine where a Connector is installed.

 

  1. Open ‘Registry Editor’ on the machine where the Identity Connector is installed:

     


  2. Navigate to HKEY_LOCAL_MACHINE\Software\Idaptive\Cloud:




  3. Create a new ‘String Value’ (REG_SZ) Entry:
    (If an entry named domainName already exists, modify this instead)



    Name: domainName
    Value: blank (no value) or “”





    Select ‘OK’.


  4. Create a new DWORD (32-bit) Value Entry:
    (If an entry named UseGcBasedSearch already exists, modify this instead)





    Name: UseGcBasedSearch
    Value: 1 (True)





    Select ‘OK’.


  5. Restart the Identity Connector.


  6. Attempt to login to CyberArk Identity using sAMAccount Name, for example: example.user


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj00000019VvCAI&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail