<{{Subtitle_Weight}} class="prominent-subhead {{Show_Subtitle}}"> {{Header_Subtitle}}

Secondary domain users not found when searching

~~repeating-content.html~~
This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice. This article is not considered official documentation for K2 software and is provided "as is" with no warranties.
LEGACY/ARCHIVED CONTENT
This article has been archived, and/or refers to legacy products, components or features. The content in this article is offered "as is" and will no longer be updated. Archived content is provided for reference purposes only. This content does not infer that the product, component or feature is supported, or that the product, component or feature will continue to function as described herein.

Issue

Searching for users from a secondary domain in K2 Management does not yield any results.

Symptoms

The domain was added as per documentation: K2 Management > Users > K2 > Domains. 

However, there is an entry in the K2 database that was not updated after adding this configuration.

SELECT [RoleInit]
FROM [HostServer].[SecurityLabel]
WHERE [SecurityLabelName] = 'K2'

<roleprovider>
   <init>ADCache=0;LDAPPath=[LDAPPath];...;MultiDomain=False;...</init>
   <...>
</roleprovider>

Resolution

To resolve this issue:
  1. Stop the K2 Blackpearl service.
  2. Make a backup of the K2 Database.
  3. Update the RoleInit entry in the HostServer.SecurityLabel table to set MultiDomain=True.
  4. Start the K2 Blackpearl service.