midPoint and FreeIPA identity provisioning

This page explains how to govern Linux identities held in Red Hat FreeIPA from midPoint, which connector to use, the build sequence, and the checks that prove sync works before go-live.

On this page

How the midPoint FreeIPA connector governs Linux identities

If your identity team already holds Linux users and groups in FreeIPA and wants midPoint to drive joiner, mover and leaver changes into it, the first decision is which connector to use. The Evolveum catalog lists a FreeIPA connector maintained by Inalogy with community status, alongside the supported LDAP connector for standard LDAPv3 servers. Community status means the connector is not covered by Evolveum's Product Support subscriptions in the same way a supported connector is, so confirm with Evolveum and Inalogy whether the connector version you plan to run is acceptable under your support model before you commit to it. Test the LDAP connector against your FreeIPA directory as a fallback path, since FreeIPA exposes its users and groups through LDAPv3.

midPoint governs the account and group objects in FreeIPA. It does not replace FreeIPA's own roles. Kerberos remains the single sign-on mechanism through the MIT KDC, host-based access and sudo policy stay in FreeIPA, and certificates continue to be issued by the integrated Dogtag authority. Plan the boundary explicitly: decide which attributes midPoint writes (for example, account state, group membership and login shell), which stay managed in FreeIPA by administrators, and how a disabled account in midPoint maps to a locked FreeIPA user. Keep sudo and HBAC rules out of the first synchronization scope unless you have designed how midPoint will own them, because those rules need separate migration work.

The work includes designing the resource definitions and attribute mappings, setting up correlation between HR-sourced identities and existing FreeIPA accounts, configuring import and reconciliation tasks, and testing joiner, mover and leaver scenarios against a non-production FreeIPA topology. You need to provide a FreeIPA test environment with representative users and groups, a service account with the directory rights midPoint requires, LDAPS certificates trusted by the midPoint server, and a named owner for each attribute midPoint will govern. Confirm the FreeIPA version and the connector version you intend to run, and check both against the midPoint release you plan to deploy, because connector behavior is tied to those versions.

What you need in place before connecting midPoint to FreeIPA

Connecting midPoint to FreeIPA touches directory replication, a privileged bind identity, network trust and the attributes that define each account. Gaps in any one of these show up later as failed syncs or unexpected deprovisioning, so settle them before the connector is configured.

FreeIPA deployed on servers you control

Confirm that the FreeIPA topology exists before midPoint is added. FreeIPA's deployment recommendations advise at least two to three replicas in each datacenter, no more than four replication agreements per replica, and dedicated servers without other applications. midPoint should point at a stable endpoint, so decide which replica or load-balanced name it uses and confirm that the chosen server is healthy in its own right.

Replicas per datacenter
2 to 3
Deployment recommendations

Supported midPoint release and Java

Pick the midPoint release before the connector version, because the release sets the Java runtime. midPoint recommends Java 25 for version 4.11 and later and Java 21 for 4.10 and older. Check the support end date for your chosen line, since 4.9 support ends on 18 October 2026 and 4.8 is the long-term support line. Plan the PostgreSQL repository on its own database server.

midPoint system requirements

Bind account with scoped rights

Create a dedicated FreeIPA bind account for midPoint rather than reusing an administrator login. It needs rights to read and manage the user and group entries the sync covers, and nothing beyond that. Record who owns the account, where its password is stored, and how it rotates. Confirm in your environment which permissions the connector needs and test them against a non-production realm first.

Network paths and certificate trust

midPoint must reach the FreeIPA LDAP and API endpoints from its own network segment, and each connection must validate against a certificate chain midPoint trusts. Confirm firewall rules for the LDAP and HTTPS ports, DNS resolution of the IPA server names, and the CA certificate import into the midPoint Java trust store. Failed certificate validation often looks like a generic connection error, so test each endpoint separately.

A named owner for each synced attribute

Before mapping, assign a person or team to each attribute the sync reads or writes, such as login name, mail, group membership, account status and any Kerberos-related fields. Those owners decide which system is authoritative for each value and approve changes to mappings. Without named owners, conflicting updates from HR, FreeIPA and midPoint will have no one to resolve them.

Connector version confirmed for your release

The FreeIPA connector is maintained by Inalogy and carries community status in the Evolveum catalog, so it is not covered by the same support path as the supported LDAP connector. Confirm the connector version, its compatibility with your midPoint release and with your FreeIPA release, and the test results you can rely on, before the project is scoped. Ask your team to record that check in the design documents.

Evolveum connector list

Choosing between the FreeIPA connector and the LDAP connector

The FreeIPA connector from Inalogy is written for Red Hat FreeIPA specifically. The Evolveum catalog lists it with community status, so the project documents it, but it is not part of the supported connector set. FreeIPA combines 389 Directory Server, MIT Kerberos, the Dogtag certificate system and SSSD on clients, so this connector is the first option to evaluate when the work reaches beyond plain LDAP entries.

  • Support status: community, maintained by Inalogy. Fixes and releases follow that project's schedule.
  • Maintenance effort: retest the connector after each midPoint upgrade and each FreeIPA update, including security releases such as 4.13.4, which fixed two CVEs.
  • FreeIPA-specific objects: confirm which objects the connector manages, such as users, groups and host-related entries, and whether it touches sudo or HBAC rules. The FreeIPA migration guide says those rules need manual migration through LDIF.
  • Kerberos and certificates: confirm how the connector handles principal creation, password handling and certificate requests, since these depend on FreeIPA's own services.

Test all of these against a non-production realm before you rely on the connector for Linux access.

Configuration sequence for the FreeIPA resource

This sequence takes a FreeIPA directory from a confirmed topology to a midPoint resource that reads and manages Linux users and groups under reviewed mappings. Each step closes with a check, so the team knows the resource is safe to move to live sync.

  1. Confirm FreeIPA topology and service account

    Before touching midPoint, the FreeIPA team confirms which IdM servers midPoint will reach, which replica it will bind to, and which DNS names and ports the connection uses. They also create a dedicated bind account in FreeIPA with only the rights needed to read and manage the user and group subtrees in scope, and record its distinguished name and password in the secrets store midPoint uses. Done means the team can bind with that account from the midPoint host using a plain LDAP or LDAPS query and can see the expected test users and groups, with no broader directory rights granted.

  2. Install the FreeIPA connector in midPoint

    The midPoint administrator installs the community FreeIPA connector from the Evolveum catalog into the midPoint connector directory, matching the connector version to the running midPoint release. The team records that the connector has community status, so the support expectation is agreed before go-live. Done means midPoint lists the connector among its available connector types after a restart, and the connector bundle version is written in the change record.

  3. Create the resource and run a test connection

    An administrator creates the resource object in midPoint with the server addresses, the bind account, the base contexts for users and groups, and the connection security settings agreed with the FreeIPA team. Passwords are referenced from the secrets store, not typed into the object. The team then runs the built-in test connection. Done means the test reports a successful connection and authentication, and any failure is resolved before the schema step begins.

  4. Import the schema and define object classes

    With the connection working, the administrator imports the resource schema so midPoint sees the FreeIPA object classes and attributes. The team then defines object types for users and groups, selecting the object class, the base context and the filter that limits each type to the accounts in scope. Service and system accounts are excluded from the user type unless they are explicitly governed. Done means the imported attributes match the FreeIPA schema the team reviewed, and each object type returns the expected count of objects in a read-only fetch.

  5. Add mappings and correlation rules

    The identity team writes the attribute mappings that set the login name, given name, surname, email, home directory and group membership, and sets the correlation rules that match an incoming identity to an existing FreeIPA account. Matching should use a stable identifier such as the employee number or a reviewed unique login, not display name. Done means a sample of test identities correlates to a single existing account each, and no identity is matched to more than one account.

  6. Run reconciliation in simulation

    The team runs a reconciliation or import task with simulation enabled, so midPoint reports the changes it would make without writing to FreeIPA. The output is reviewed against a written list of the accounts and groups expected to change. Any unexpected creation, modification or deletion is traced back to a mapping or correlation rule and fixed. Done means the simulation report matches the expected account and group list line for line, and the deletion count is zero or explicitly approved.

  7. Enable live synchronization

    Once the simulation is accepted, the team enables live synchronization and schedules reconciliation on a cadence set by the operations owner. Before enabling, they confirm the safety settings that limit how many accounts a single run may change or delete, and that the audit log records every provisioning action. The first live run is watched and compared with the simulation report. Done means the first live run changes only the expected objects, the audit trail shows each action, and the operations owner has signed off on the schedule.

Which FreeIPA attributes map to midPoint users and groups

This table compares each midPoint user and group property with the FreeIPA attribute it maps to, who owns the value, and how existing accounts are matched. Read it as a design sheet: confirm each owner before the first sync, because a field with two masters will be overwritten on every reconciliation run.

Identity propertyFreeIPA attributeSystem of recordNotes for the build
Login nameuidHR or midPoint naming policySet once at creation by a naming rule. Changing uid later renames the account, so confirm the policy before go-live.
Given namegivennameHR source via midPointMap from the HR feed. Edit in HR, not in FreeIPA, or the next sync will overwrite local changes.
SurnamesnHR source via midPointRequired by the FreeIPA user object. Confirm how the HR feed handles multiple surnames or suffixes.
Email addressmailmidPoint, if no HR email existsMulti-valued in FreeIPA. Decide whether midPoint sets one address or the full list before mapping.
Employee identifierCustom attribute (confirm with your schema)HR systemUseful as a stable correlation anchor across renames. Check that the attribute is present in your FreeIPA schema before mapping it.
Group membershipmemberOf (read) and group member lists (write)midPoint role assignmentsTreat FreeIPA groups as midPoint-managed. Manual group joins made in FreeIPA will be removed unless excluded from the sync scope.
Correlation key for existing accountsuid, with mail or employee identifier as a fallbackmidPoint correlation ruleMatch on the value that is unique in your directory. Duplicate uids or shared mail addresses need a manual review path before the first import.
Sudo rules, HBAC rules and host policyNot mapped by this connectorFreeIPA administratorsOut of scope for user and group sync. Any access that depends on these rules needs a separate design and a separate owner.

How midPoint, the connector and FreeIPA exchange identity changes

The diagram starts with the HR or other authoritative source, which feeds midPoint, where roles and mappings decide what each identity should hold. The FreeIPA connector then writes those changes into FreeIPA over LDAP or its API, and the trust boundary sits at that hand-off. Inside FreeIPA, the 389 Directory Server and MIT Kerberos KDC hold the identities, and SSSD on Linux clients inside the client's network consumes them. Check which side owns each attribute and confirm what the connector can write before go-live.

Identity changes flow from HR through midPoint and the connector into FreeIPA, then to Linux clients.

Securing the FreeIPA bind account and sync path

The midPoint to FreeIPA path carries directory write access, credentials and certificate-authority duties, so each control below narrows what a compromised component could reach. Verify every control against your own security policy and audit scope before go-live, and treat the patch level of both FreeIPA and midPoint as part of the same review.

Dedicated least-privilege bind account

Create a separate FreeIPA account for midPoint instead of reusing an administrator or a person's account. Grant it only the permissions needed to read the user and group entries it manages and to write the attributes you have agreed to provision. Record the account's purpose, owner and permission set in your access inventory, and confirm with your FreeIPA administrators how those permissions are assigned in your environment.

Credential storage in midPoint

The bind password is a high-value secret held by midPoint, so decide where it lives and who can read it. Review how the resource configuration stores the credential, restrict access to the midPoint administration interface and the configuration repository, and plan a rotation procedure that updates both FreeIPA and midPoint in one change. Confirm the storage approach against the security checklist for midPoint and your secrets-management standard.

midPoint requirements

TLS for LDAP and API traffic

Both the LDAP connection used for user and group sync and any API traffic from midPoint to FreeIPA must be encrypted and must validate the server certificate. Do not accept untrusted certificates to get a connection working, and load the FreeIPA certificate authority into the midPoint trust store. Test that a failed certificate check blocks the connection rather than falling back to plaintext.

Limiting writable FreeIPA objects

Decide which object types, attributes and groups midPoint may create, modify or delete, and enforce that in FreeIPA permissions rather than only in midPoint mappings. A mapping mistake should not be able to change administrator groups, host policy or sudo and HBAC rules. Keep privileged groups outside midPoint's write scope and review the permission set after every change to the sync configuration.

Protecting the first FreeIPA server

By default the first FreeIPA server handles certificate renewal and CRL publication, so it is a critical node even though midPoint talks to the directory. Keep it out of any midPoint-specific change window, limit administrative access to it, and back it up before sync changes. Restoring an outdated backup into an active replica topology can break replication, so confirm the restore procedure with your FreeIPA team.

FreeIPA backup docs

Patching FreeIPA and midPoint together

FreeIPA 4.13.4, dated July 9, 2026, fixed two CVEs, including LDAP access control flaws that could let unauthenticated clients obtain credentials, and hardened authentication checks across the API. Patch FreeIPA and midPoint on a documented schedule, and check the FreeIPA release notes against your deployed version before each change. Confirm the midPoint release line you run is still supported, as the release page lists support end dates for each version.

FreeIPA 4.13.4 notes

Common failures when syncing midPoint with FreeIPA

This table lists the failures teams most often hit when midPoint provisions identities into FreeIPA, with the likely cause, the diagnostic step and the fix for each. Read it as a triage guide: start with the row that matches the symptom, confirm the cause in your own logs and FreeIPA state, then apply the fix in a test environment first. Exact connector settings and error text depend on your midPoint and FreeIPA versions, so confirm them against your environment.

FailureLikely causeDiagnostic stepFix
Connection and certificate errorsThe FreeIPA connector cannot reach the LDAP or Kerberos endpoint, or it does not trust the CA that issued the server certificate, often after a replica is added or a certificate is renewed.Test the resource from midPoint, then run an LDAP search with the same host, port and CA file from the midPoint server. Check that the hostname matches the server certificate's name.Point the resource at a reachable replica, install the IPA CA certificate in the trust store midPoint uses, and correct the host name. Retest before resuming sync tasks.
Bind account permission gapsThe service account used for provisioning lacks the FreeIPA privileges needed to create, modify or disable users and groups, or its password expired or was locked.Bind as the service account with a simple LDAP search. Then attempt one test create and one disable on a non-production user and read the error text.Grant the account only the roles needed for user and group management in FreeIPA, reset or unlock its credentials, and record the bind account in your privileged access inventory.
Correlation creates duplicate accountsCorrelation rules match on a changing or inconsistent attribute, such as a display name or mail alias, so an existing FreeIPA user is not found and a second account is created under a new UID.Review the correlation rule and the shadow objects midPoint created. Compare the login names and mail values for the duplicates against the HR source record.Correlate on a stable identifier such as the login name or an authoritative HR employee ID that is stored in FreeIPA. Merge or disable duplicates through a reviewed change, and add a safety check that stops creation when a match is uncertain.
UID or GID collisions with ID rangesmidPoint assigns or reuses numeric IDs that overlap a range already allocated to another IPA domain, a trust partner or a local system account, or the ID range was not set up for the new domain.Check the ID range assigned to the IPA domain, then search for the UID or GID values midPoint wrote. Look for overlap with local accounts on enrolled hosts and with trusted Active Directory domains.Keep midPoint from assigning numeric IDs outside the domain's range, let FreeIPA allocate IDs where the connector supports it, and fix any clashing objects through a planned change. Confirm the range plan with the team that owns host access.
Group membership drift from direct FreeIPA changesAdministrators add or remove group members in the FreeIPA web UI or with the ipa command line, so the state differs from midPoint's assignments and the next reconciliation either reverts the change or leaves it unmanaged.Run a reconciliation in report-only mode and compare the reported differences with recent changes in the FreeIPA audit trail or change records.Decide which system owns each group. Move membership changes into midPoint assignments, then configure reconciliation to correct drift for managed groups and to report it for groups that stay manually administered.
Replication delays across FreeIPA replicasmidPoint writes to one replica and reads from another before multi-master replication has finished, or a replica is out of sync because replication agreements or network links are degraded.Write a test user through midPoint, then query each replica for that user. Check replication status on the servers, and compare the time the write was accepted with the time it appeared on each replica.Point midPoint at a consistent replica for writes, allow for propagation time in follow-up reads and verification steps, and repair agreements that are failing. Keep the replication topology within the FreeIPA deployment recommendations.

Testing reconciliation before FreeIPA goes live

Before midPoint writes to a production FreeIPA topology, run the reconciliation logic against a copy or lab topology that matches production closely enough to expose correlation and mapping errors. Start with a simulated reconciliation run that reports what midPoint would create, modify or disable, and review that list with the identity team before any change is allowed. Pick a sample of real accounts, including users with multiple identifiers, service-like accounts and users whose names changed, and confirm that midPoint correlates each one to the expected FreeIPA entry. Record every mismatch, because a correlation error that seems minor in a sample can disable or duplicate accounts at full scale.

Next, test a joiner, mover and leaver case end to end in the lab. For the joiner, confirm that the new user receives the expected group memberships and that the account is created with the attributes your mappings define. For the mover, change a department or manager attribute in the source and verify that the group changes follow the role model rather than leaving stale memberships behind. For the leaver, confirm the disable behavior and the timing you expect. On the Linux side, confirm that SSSD clients resolve the expected accounts and groups for these cases, since a directory entry that looks correct in the FreeIPA web UI can still fail to authenticate or resolve on a host.

Finally, test restore behavior using FreeIPA's ipa-backup and ipa-restore procedure, and include the scenario the backup documentation warns about: restoring an outdated backup into an active replica topology can break replication. Rehearse this in the lab so the team knows which servers must be stopped, which replica handles certificate renewal and CRL publication by default, and how to verify replication afterward. Confirm the backup schedule and retention with your FreeIPA administrators, and confirm with the midPoint team how a restored directory will be reconciled with midPoint's repository state, since the two can diverge during the gap. Document each result as a go or no-go input for the production change.

Questions teams ask before connecting midPoint to FreeIPA

How much does it cost to connect midPoint to FreeIPA?

The cost depends on the written scope, so no fixed figure applies. Costs fall into one-time work (design, connector configuration, mappings, testing, cutover) and recurring work (upgrades, connector maintenance, reconciliation reviews, support). The main drivers are the number of FreeIPA attributes you sync, how many source systems feed identities, and how much manual change already exists in FreeIPA. DeployOpen provides a quote after the scope is agreed in writing. Ask any vendor to separate one-time and recurring costs, and to state who pays for midPoint subscriptions, which are published by Evolveum without prices on its support page.

How long does a midPoint and FreeIPA integration take?

Duration is set by scope, not by a standard timeline. The work usually moves through design of the identity model and attribute mappings, connector setup, correlation rules, testing in a non-production environment, and a controlled cutover. Topology affects timing: FreeIPA deployments with multiple replicas per datacenter and several datacenters need more verification than a single server. Correlation complexity matters too, especially when identities already exist in FreeIPA with inconsistent usernames. Ask for a timeline tied to named milestones in the written scope.

What does our team need to provide for the integration?

Expect to provide access to a FreeIPA test environment, the authoritative source of identities (usually HR data or an existing directory), and people who can confirm group and role meanings. You also need a service account with rights that match the connector's operations and a decision on which attributes midPoint owns. Operations staff should confirm replication, backup schedules and change windows. Identify where manual changes were made directly in FreeIPA, such as sudo or HBAC rules, since those need an inventory before midPoint takes over. The FreeIPA migration how-to notes that sudo and HBAC rules need manual migration through LDIF.

Can our own team do the midPoint and FreeIPA work alone?

A team with directory, Linux identity and midPoint experience can do the work in-house, and that is often the right choice for simple topologies with clean data. Teams with little midPoint experience should weigh the cost of learning the mapping, correlation and reconciliation model against the risk of an error that deprovisions accounts. Check whether your team can run the FreeIPA deployment recommendations, including dedicated servers and replica counts, and whether it can test backup and restore without disturbing replication. Compare an internal estimate with a written partner scope before deciding.

Is the FreeIPA connector supported by Evolveum?

The Evolveum catalog lists the FreeIPA connector as community status, maintained by Inalogy. That is different from the supported LDAP connector for standard LDAPv3 servers. Community status means the connector is not covered by Evolveum's Product Support subscription for bug resolution in the same way as supported connectors. Confirm the current status on the Evolveum connectors page before you commit, and decide how you will test, patch and own the connector. Many teams configure the supported LDAP connector against FreeIPA's LDAPv3 interface when it fits their needs, and that choice needs its own review.

Does midPoint replace FreeIPA for single sign-on or Kerberos?

No. midPoint is an identity governance and administration platform, not an access management or SSO server, and it does not implement the server side of OAuth2, OpenID Connect or SAML. FreeIPA keeps its role as the Kerberos KDC, the single sign-on source for Linux hosts through SSSD, and the certificate authority through Dogtag. midPoint manages who exists in FreeIPA, their groups and selected attributes, so the two systems complement each other. Plan the boundary explicitly, including which system is authoritative for passwords and which one controls group membership.

What breaks most often in a midPoint to FreeIPA integration?

The most common problems come from correlation mismatches, unexpected attribute changes, and replication or backup mistakes. Duplicate or renamed accounts can cause midPoint to link to the wrong identity, so test correlation with real data before enabling changes. Restoring an outdated backup into an active replica topology can break replication, according to the FreeIPA backup documentation, so connector testing should never rely on production restores. The first server also handles certificate renewal and CRL publication by default, so confirm that role before maintenance. Build reconciliation reports and a safety threshold for mass deprovisioning.

What should we ask for in a written scope and quote?

Ask for a scope that lists the FreeIPA topology, the source systems, the attributes and groups in scope, the correlation rules, the test plan, the cutover steps and the handover for operations. Request a breakdown of one-time and recurring effort, the named roles of each party, and the assumptions about existing manual changes in FreeIPA. DeployOpen plans, implements, integrates, hardens, backs up and documents self-hosted platforms in your infrastructure and prepares a quote from the written scope, so share your topology and source data early to get a precise estimate.

How DeployOpen scopes and delivers the midPoint FreeIPA integration

DeployOpen plans, implements, integrates, hardens, documents and supports self-hosted open-source platforms inside the client's own infrastructure. For midPoint and FreeIPA, that means connecting midPoint to FreeIPA in your environment, with the directory, the connector choice and the operating model agreed in writing before build work starts.

How we scope

  • Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
  • Scope covers which FreeIPA user and group objects midPoint manages and which attributes it reads or writes.
  • The written scope states how the community FreeIPA connector is supported and who owns its patching and testing.

How we build

  • Build work runs in your environment, including the midPoint deployment, FreeIPA access, and network paths between them.
  • Sync and reconciliation rules are tested in a non-production FreeIPA before any change reaches the production directory.
  • Where some accounts sit outside FreeIPA, the LDAP connector path is designed and tested alongside the FreeIPA connector.

How we hand over

  • Handover includes configuration documentation, runbooks for sync failures and a record of the connector version in use.
  • Test evidence covers joiner, mover and leaver cases, with results recorded for your security and compliance teams.
  • Your team receives the backup and restore steps for both midPoint and the FreeIPA topology, and walks through them.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers, scoped in writing.
  • Retainers can cover midPoint release upgrades and FreeIPA patch releases, including the security fixes in each.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.