Tips for finding Knowledge Articles

  • - Enter just a few key words related to your question or problem
  • - Add Key words to refine your search as necessary
  • - Do not use punctuation
  • - Search is not case sensitive
  • - Avoid non-descriptive filler words like "how", "the", "what", etc.
  • - If you do not find what you are looking for the first time,reduce the number of key words you enter and try searching again.
  • - Minimum supported Internet Explorer version is IE9
Home  >
article

KB-2553: Adding computers to Deployment Manager causes 100% CPU usage

Centrify DirectControl ,   Centrify Identity Service, Mac Edition ,  

29 April,16 at 08:42 PM

Applies to: All version of Centrify Deployment Manager with all versions of Mac OS X.


 
Problem:
 
When adding a Mac OS X machine to the computer list in Deployment Manager (DM), the process seems to take a long time and CPU usage maxes out to 100%.
 
Enabling debug logs in DM to capture this event will cause the log files to fill up the entire hard drive very quickly.


 
Cause:
 
As part of the process of adding a Mac to the computer list - DM will query for a list of all the users and groups on the Mac. Normally this should only return a list of the local users and groups. However if the Mac is still currently joined to the domain using the Apple AD Plugin, then DM is unable to distinguish between which users are local accounts and which are AD accounts and so will therefore start pulling down the entire AD user directory.
 
Note that this does not happen if the Mac is joined to the domain with an existing Centrify agent.


 
Workaround:
 
The script file which performs this search in DM can be modified to force a local-only user search for all Mac machines:
 
- Open \Program Files\Centrify\Deployment Manager\Scripts\local_account.lua
 
- Search for two functions, "get_effective_users" and "get_effective_groups
 
- In these two functions, change:
 
  "/Search" 
 
..to: 
 
  "."
 
(just a dot inside quotation marks).


 
Resolution:
 
This will be fixed in a future version of Deployment Manager.

Still have questions? Click here to log a technical support case, or collaborate with your peers in Centrify's Online Community.