Skip to page contentSkip to chat
ServiceNow support
    • Community
      Ask questions, give advice, and connect with fellow ServiceNow professionals.
      Developer
      Build, test, and deploy applications
      Documentation
      Find detailed information about ServiceNow products, apps, features, and releases.
      Impact
      Accelerate ROI and amplify your expertise.
      Learning
      Build skills with instructor-led and online training.
      Partner
      Grow your business with promotions, news, and marketing tools
      ServiceNow
      Learn about ServiceNow products & solutions.
      Store
      Download certified apps and integrations that complement ServiceNow.
      Support
      Manage your instances, access self-help, and get technical support.
On LDAP import, "manager" users get set to inactive users if the manager DN matches their source field - Known Error
  • >
  • Knowledge Base
  • >
  • Known Error (Knowledge Base)
  • >
  • On LDAP import, "manager" users get set to inactive users if the manager DN matches their source field
KB0621798

On LDAP import, "manager" users get set to inactive users if the manager DN matches their source field


1981 Views Last updated : Jul 18, 2024 public Copy Permalink
KB Summary by Now Assist

Description

When a LDAP process imports a user and associates a "manager," the system will match the first user (active or inactive) from the results returned

Steps to Reproduce

  1. Ensure you have two different users on sys_user as follows:
    • User 1: name = test 1, source : ldap:CN=Test1,DC=TEST,DC=LOCA, active = true (checked)
    • User 2: name = test 2, source : ldap:CN=Test2,DC=TEST,DC=LOCA, active = false (unchecked)
  2. Import a LDAP User test 3, with Manager = CN=Test1,DC=TEST,DC=LOCA
  3. Transform the data using "LDAP User Import" transformation map.
  4. Note that User test 3 has manager = User test 2 set to inactive (false) instead of active (true).

    ldap-problem 

Workaround

There are multiple workarounds:

  1. Ensure the Source field on the sys_user table is unique or empty on your sys_user form.
  2. Ensure the Source field on the sys_user table in the inactive records is (empty) so the manager will not match.
  3. Create your own transformation script to map the manager correctly.

Related Problem: PRB875161

The world works with ServiceNow.

Sign in for more! There's more content available only to authenticated users Sign in for more!
Did this KB article help you?
Did this KB article help you?

How would you rate your Now Support digital experience?

*

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

What can we improve? Please select all that apply.

What are we doing well? Please select all that apply.

Tell us more

*

Do you expect a response from this feedback?

  • Terms and conditions
  • Privacy statement
  • GDPR
  • Cookie policy
  • © 2025 ServiceNow. All rights reserved.