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.
Users' group membership not updated via LDAP import - Support and Troubleshooting
  • >
  • Knowledge Base
  • >
  • Support and Troubleshooting (Knowledge Base)
  • >
  • Users' group membership not updated via LDAP import
KB0727831

Users' group membership not updated via LDAP import


3412 Views Last updated : Jul 22, 2025 public Copy Permalink
KB Summary by Now Assist

Issue

LDAP group import does not add users to the groups.

Release

Applicable to all releases

Cause

When an LDAP group import runs, the onAfter() transform script adds users to the group.

The list of users to be added is specified in the 'member' attribute of the import set record. This attribute holds a comma-separated list of DNs or distinguished names. To add the user to the group, the system queries the sys_user table with the filter 'source=ldap:<DN of one user from member attribute>'.

The user might not be added to the group due to a few different reasons:

  1. If the source field on the sys_user table has a truncated value of the user's DN. 
  2. If there are two users with the same source and one of them is inactive. 
  3. If the source value differs from what is sent in the member attribute of the group import. 

Resolution

If the source field on the sys_user table has a truncated value of the user's DN, do the following:

  1. Ensure that the max length of the source field on the sys_user table is set to 100.
  2. Ensure that the u_source field in the import set table has a max length set to 100.

If there are two users with the same source and one of them is inactive, delete the inactive user or remove the source value from this user record. 

If the source value differs from what is sent in the member attribute of the group import, reach out to your LDAP admin to make sure the DN sent in the user import is the same as what is sent in the member attribute for the user import. 


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.