Is there a way to stop updating email address with certain domain names when running pdm_ldap_import?
search cancel

Is there a way to stop updating email address with certain domain names when running pdm_ldap_import?

book

Article ID: 262992

calendar_today

Updated On:

Products

CA Service Management - Service Desk Manager

Issue/Introduction

When running pdm_ldap_import command, we do not want to update email address if it has certain domain names, such as "gmail.com" or "outlook.com", or etc. Is there a way to stop updating only email address field if it has the specific domain names? 

Environment

Release : 17.3

Resolution

It is not possible to stop updating only email address field when domain of the email address is specific ones, such as "@gmail.com", "@hotmail.com" or "@outlook.com", however, you can stop synchronizing the email address of all contacts by creating a custom ldap.mod file as per below.

  1. Create a ldap.mod file with the following definition and store it under NX_ROOT \site\mods\majic folder.
    NOTE: Please remove other definitions that are already defined in ldap.maj file located under NX_ROOT\bopcfg\majic folder. 

    MODIFY ldap email_address DELETE;

  2. Restart the Service Desk service.
    * Please run pdm_status command to ensure all processes are up and running.

Additional Information

If you would like us to enhance the functionality, please post your idea to our Idea site.