[midPoint-git] [Evolveum/midpoint] ba1dd9: Smart Integration: Add outbound DN mapping support...

Michal Zelenčík noreply at github.com
Thu Feb 12 09:24:57 CET 2026


  Branch: refs/heads/dn-mapping
  Home:   https://github.com/Evolveum/midpoint
  Commit: ba1dd9c0d318f3077884fd8a31dd7387d727d6d8
      https://github.com/Evolveum/midpoint/commit/ba1dd9c0d318f3077884fd8a31dd7387d727d6d8
  Author: Michal Zelencik <michal.zelencik at evolveum.com>
  Date:   2026-02-12 (Thu, 12 Feb 2026)

  Changed paths:
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/MappingsSuggestionOperation.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/wellknownschemas/WellKnownSchemaProvider.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/wellknownschemas/ad/UserActiveDirectoryMappingProvider.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/wellknownschemas/ldap/InetOrgPersonLdapMappingProvider.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/wellknownschemas/scim/UserScimMappingProvider.java
    M model/smart-impl/src/test/java/com/evolveum/midpoint/smart/impl/DummyScenario.java
    M model/smart-impl/src/test/java/com/evolveum/midpoint/smart/impl/TestSystemMappingsSuggestion.java
    A model/smart-impl/src/test/resources/smart/mappings-suggestion/resource-ad-for-mappings-suggestion.xml

  Log Message:
  -----------
  Smart Integration: Add outbound DN mapping support for AD/LDAP

Implements automatic DN/distinguishedName outbound mapping suggestions
for Active Directory and LDAP inetOrgPerson schemas by analyzing sample
shadow DNs to extract organizational unit suffix and RDN structure.

Changes:
- Add optional sampleShadows parameter for DN analysis
- Implement AD DN mapping with cn-based RDN (cn=<fullName>,ou=...)
- Implement LDAP DN mapping with uid or cn-based RDN detection
- Add DN suffix extraction logic from shadow samples
- Mark DN mappings as system-provided for provenance tracking
- Add comprehensive tests for DN suggestion and validation



To unsubscribe from these emails, change your notification settings at https://github.com/Evolveum/midpoint/settings/notifications


More information about the midPoint-svn mailing list