LDAP synchronizations setup page accepts blank data for group cn and user filter

Summary

When using Groups > LDAP Synchronization it's possible to add empty synchronizations which show as an error (Inactive because syncing with an LDAP user filter is not included in the current license)

Steps to reproduce

  • Go to Group > LDAP Synchronization groups/YOUR_GROUP/-/ldap_group_links
  • Select LDAP Group cn or LDAP user filter
  • Select Add Synchronization gives LDAP_Synchronization_Settings_GitLab

What is the current bug behavior?

LDAP synchronization is saved on empty filters.

What is the expected correct behavior?

Make the LDAP group cn or LDAP user filter a required entry.

Output of checks

Results of GitLab environment info

Expand for output related to GitLab environment info

10.6.0

Possible fixes

(If you can, link to the line of code that might be responsible for the problem)

Edited Jan 18, 2026 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading