How to setup an Active Directory search index for an attribute

How to setup an Active Directory search index for an attribute

Problem:  Active Directory slowness issues in various parts of the webNetwork product - login, webStorage, webAdmin, etc...



Cause:  Different Active Directory environments may require indexing of attributes to improve performance.  For example, slowness may be attributed to lots of groups and index for "member" attribute may greatly improve search times.  IMPORTANT - make sure to read "What to consider before adding an Active Directory search index for an attribute?" helpdesk article before proceeding.  



Solution(s):  Indexing an attribute helps queries find objects that have that attribute more quickly and efficiently than if the attribute had no index.  Ideally, indexed attributes are single value with highly unique values that are evenly distributed across the set of instances. Multivalue attributes can be indexed, but the cost to build the index is larger in terms of storage and updating. Even with single-value attributes, keep in mind that the more indexed attributes a class has, the longer it takes to modify or create instances of the class.

Install the Schema snap-in:
  1. Open Command Prompt on DC
  2. Type: regsvr32 schmmgmt.dll (this command will register Schmmgmt.dll on your computer. For more information about using regsvr32)
  3. Click Start, click Run, type mmc /a, and then click OK.
  4. On the File menu, click Add/Remove Snap-in, and then click Add.
  5. Under Available Standalone Snap-ins, double-click Active Directory Schema, click Close, and then click OK.
  6. To save this console, on the File menu, click Save.

To index an attribute:
  1. Open the Active Directory Schema snap-in.
  2. In the left-hand pane, click Attributes.
  3. In the right-hand pane, right-click the attribute that you want to index, and then click Properties.
  4. Click Index this attribute in the Active Directory and click OK to save the change.
  5. Close the Active Directory Schema snap-in.


References:


Keywords: AD, Active Directory, Search Index
    • Popular Articles

    • Old Browser Versions

      Question: I am using an older browser version and am having problems. What can be done ? We are not able to upgrade the browser at this time.   This is a challenge for any company that makes software that utilizes a browser. Since Stoneware does not ...
    • LCS Redirection

      Problem: How to redirect the LCS in an environment with multiple LCSs and students connecting to them. Solution(s): Create an allow.cfg on all LCS(s) (including the Master) in the network, however, even if no allow.cfg is present on an LCS, machines ...
    • Time windows allows for Service Shutdown

      Issue: Can the time windows gives a service to shut down before it kills the service be increased? Solution: Yes, the following information comes from the Microsoft URL : http://support.microsoft.com/kb/146092 To specify the wait time, do the ...
    • How to disable password saving - Internet Explorer

      Having multiple methods for saving a password in the browser can cause confusion for the user.   To disable password saving in Internet Explorer, launch Internet Explorer and perform the following steps. Click the blue Settings menu icon in the upper ...
    • How to disable password saving - Chrome

      Having multiple methods for saving a password in the browser can cause confusion for the user.  To disable password saving in Chrome, launch Chrome and perform the following steps. Click the Chrome menu button in the upper right corner of the Chrome ...
    • Recent Articles

    • Lenovo Unified Workspace 7.0.0.63 Released

      Highlights of Unified Workspace 7.0.0.63 If you need assistance with your update, please e-mail support at support@lenovosoftware.com or visit https://unifiedworkspace.com/support/ for more information. Below is a list of enhancements and fixes for ...
    • How to fix customized login and profile after upgrading to v7.0

      With the release of 7.0 the default login page has been modified to simplify the customization process.  If you are having an issue with the login page not displaying, after upgrading to v7.0, you will need to delete the custom CSS code and start ...
    • SAML SP - Sync Directory Password

      Login script to prompt for directory password Since the user does not login into Unified Workspace with a password, we cannot capture the password to use in the @@password@@ variable.  If you would like to use the Active Directory password for other ...
    • MySQL 8 SSL

      Issue Admin is making a database connection to a MySQL 8 database.  When clicking the Ping button on the DB Connection object, the following error is presented: WARN: Establishing SSL connection without server's identity verification is not ...
    • 7.0 excludeProtocols - includeProtocols - allowCiphers - denyCiphers config file

      excludeProtocols - includeProtocols - allowCiphers - denyCiphers config file The following configuration is recommended for systems running 7.0.0.63, and higher. (For older 6.5 releases of UW, please see this article.) ...