Windows workstations in a FreeIPA environment

Windows workstations cannot join a FreeIPA domain, so the design question is how Windows users reach Linux services. This page covers the options, prerequisites, setup sequence and limits to confirm.

On this page

Windows workstations in a FreeIPA environment: what they can and cannot do

Windows laptops and desktops do not join a FreeIPA domain, so a mixed estate cannot put them under FreeIPA host enrollment, SSSD, or host-based access policy the way it does Linux machines. The real design work is deciding how Windows users reach the services that FreeIPA manages. That decision shapes the trust, the naming, the ID mapping and the access rules that follow.

FreeIPA's own identity stack is built around Linux and UNIX. 389 Directory Server holds users, groups, hosts and policies, MIT Kerberos issues tickets, and SSSD runs on the enrolled clients to resolve identities and apply policy. Windows clients do not run SSSD, so none of this stack reaches them directly. The documented bridge for Windows users is a *cross-forest trust* with Active Directory, which lets users whose accounts live in an AD forest authenticate to IPA-managed Linux hosts. Confirm the trust mechanics, supported Windows domain controller versions and naming rules against the FreeIPA Trusts page before you commit to the design, since the IPA domain must use a DNS name that does not overlap with any AD domain.

Before you plan anything, inventory which Windows-side services your users need from IPA-managed systems, such as file shares, Linux application logins or sudo. Then confirm with your AD team where those Windows user accounts live, because that owns the trust. Work out what each Windows device still needs from the Windows side (domain policy, endpoint management, local authentication) and keep that out of the FreeIPA design. Anything you cannot confirm from the sources should go on the list for a pilot with a small group of users and one test host.

Ways Windows users reach FreeIPA resources and when each fits

This table compares four ways Windows users and machines can reach FreeIPA-managed resources, from keeping endpoints in Active Directory to running a separate Windows estate. Read each row for the conditions where it fits, what the AD team must provide, and what remains unmanaged. Confirm Windows-side behavior with Microsoft or the FreeIPA project before committing to a pattern.

PatternWhen it fitsWhat it requires from the AD teamWhat it leaves unmanaged
Windows endpoints stay in AD, cross-forest trust to FreeIPAWindows staff already use AD for logon and need Linux servers, SSH or IPA-hosted servicesAgreed DNS zones, trust setup, a non-overlapping DNS domain on the IPA side, and a trust direction chosen with the IPA teamWindows machines are not joined to FreeIPA, so host policy, HBAC and sudo rules apply only to Linux hosts
Samba file servers running on IPA clientsWindows users need SMB shares hosted on Linux, with identities resolved through the trustShare permission design, and confirmation that AD users resolve on the file server through the trustSMB protocol behavior, client-side SMB settings and Windows Explorer quirks must be confirmed with the Samba and Microsoft documentation
Web single sign-on through an external identity providerUsers reach web apps on FreeIPA-backed services and the organization already runs an OIDC or SAML providerAn identity provider that federates with FreeIPA or AD, and agreed claims and group mappingWindows desktop logon and Kerberos ticket handling for native apps are outside this pattern; confirm with the identity provider vendor
Separate Windows estate with no FreeIPA dependencyWindows workloads have no need for Linux identity, or the organization wants a clear separation of dutiesLittle or no change; AD stays independent and no trust is createdAny shared access between the two estates must be handled by separate processes, and access reviews cover each estate on its own
Windows machines joined directly to FreeIPANot supported by the trust documentation as a domain join; confirm current Windows-side options with the vendorNot applicable under the documented trust modelTreat as unsupported unless the vendor and FreeIPA documentation confirm a supported path for your Windows version

What Windows workstations cannot do in a FreeIPA environment

FreeIPA is built around Linux and UNIX clients, so Windows machines sit outside its core enrollment, policy and access model. The cards below cover the four limits that most often surprise teams planning a mixed estate, and each one names the check to run before the design is approved.

No domain join for Windows machines

A Windows workstation cannot join a FreeIPA domain the way it joins Active Directory. FreeIPA's identity store, Kerberos realm and client tooling target Linux and UNIX hosts, so the Windows machine keeps its own local accounts or joins an AD domain instead. The consequence is that Windows logons do not get a computer object, host keytab or machine trust inside IPA. Confirm which directory owns each Windows device, and whether the AD team or your endpoint management tool will handle device identity.

No FreeIPA-managed Group Policy for Windows

FreeIPA does not push Windows Group Policy objects, registry settings, software deployment or security baselines to Windows endpoints. Its policy features apply to Linux hosts through SSSD, HBAC and sudo rules. Teams that expect one place to set password, lockout or screen-lock rules for every device will end up with two policy stores. Confirm whether an AD domain controller with Group Policy, or a separate endpoint management product, will carry each Windows control, and map each control to its owner.

No HBAC control over Windows logons

HBAC rules in FreeIPA decide which users may log in to which Linux hosts and services. They do not evaluate interactive or network logons to Windows workstations, so a Windows user who is allowed in IPA is not thereby restricted or permitted on a Windows desktop. The consequence is that workstation access rules must be written in the Windows domain or local policy. Confirm which system is the source of truth for who may sign in to each Windows device, and test that a denied IPA user is also denied on Windows.

No SSSD enrollment for Windows devices

The SSSD client tooling, including the ipa-client-install enrollment path, runs on Linux and UNIX clients and cannot enroll a Windows device into IPA. Teams therefore cannot apply the bulk enrollment, offline login and SSH key distribution that Linux clients receive. For Windows, enrollment and lifecycle belong to the AD domain or to an endpoint management tool. Confirm the enrollment owner for each Windows device class, and check what happens to a device when its user leaves.

Trust and DNS prerequisites before Windows users can log in to Linux

A cross-forest trust between FreeIPA and Active Directory is built through Samba components, and the first prerequisite is naming. The IPA domain must use a DNS domain that does not overlap with any domain in the AD forest. That rule is set before any server is installed, because the IPA domain name, the Kerberos realm and the NetBIOS name all follow from the naming plan, and changing them later means rebuilding the deployment. Ask the AD team for every domain in the forest, including child and legacy domains, and agree the IPA domain name in writing against that list. The FreeIPA Trusts page is the next read for the exact requirements.

DNS is the second prerequisite, and it has to work in both directions. Each side must resolve the other's service records, so the FreeIPA servers need to find the AD domain controllers and the AD domain controllers need to find IPA. In practice this means conditional forwarding or delegation between the two DNS platforms, and SRV records that the clients and trust components can look up. Confirm with the AD team who owns the DNS zones on their side, who can add forward zones for the IPA domain, and how changes are reviewed. Test resolution from a FreeIPA server, from a Linux client and from an AD domain controller before any trust work begins. The dedicated DNS topic in this content group covers the record-level steps.

The AD team's agreement covers more than DNS. They need to approve the trust direction, the creation of the trust, and the accounts and groups that will receive access on the Linux side. They also need to confirm which Windows domain controller versions and functional levels their forest runs, because those determine which trust configurations are possible. Clarify early whether the FreeIPA team will hold domain administrator credentials, since that changes how the trust is created. Put the naming decision, the DNS ownership and the approval steps into one written plan signed by both teams, so that a later change to the forest does not silently break the trust.

Architecture for mixed Linux and Windows estates with FreeIPA

In this model, FreeIPA is the authoritative source for users, groups, hosts and policy. Most servers and administrators live on Linux, and Windows users appear only occasionally, for example to reach a file share or an internal web application. The Windows side keeps its own Active Directory forest, which stays in place and keeps managing the desktops. Access to Linux is granted through FreeIPA groups, with AD users referenced through external group membership rather than copied into the IPA user store.

  • Authority: FreeIPA holds the Linux accounts, host access rules (HBAC) and sudo rules, and the IPA team approves who receives access.
  • Trust placement: A trust is created only for the AD users who need access, and the IPA DNS domain must not overlap with any AD domain.
  • Group mapping: AD groups are added to IPA external groups and then to HBAC or sudo rules, so access follows one group model.
  • Administration: The Linux platform team administers IPA. The Windows team administers AD and controls its own user lifecycle.
  • Decisions first: Trust direction and ID range type (SID mapping or POSIX attributes) are covered on sibling topics and should be settled before the build.

Before building, confirm with the AD team which accounts and groups need access and how often that list changes.

Setup sequence for giving AD users access to IPA-managed Linux hosts

This sequence takes an Active Directory forest and a FreeIPA deployment from separate naming and DNS planning through a working trust, so AD users can be resolved, authenticated and granted access on Linux hosts enrolled in IPA. Each step closes with a check that tells the team whether to move on.

  1. Confirm AD forest and functional levels

    The AD team confirms the forest and domain functional levels, the domain controller versions in each domain, and whether any domain in the forest overlaps the DNS name you plan to give the IPA domain. The FreeIPA trust documentation requires the IPA DNS domain to not overlap any AD domain, so this is the first gate. Ask the AD team to confirm the versions in writing, and check the supported combinations against the Windows Server versions topic before continuing. Done means you hold a written inventory of forest, domain and DC versions and no overlapping DNS names.

  2. Set the IPA domain and realm naming

    The IPA team chooses the IPA DNS domain, the Kerberos realm and the NetBIOS name, and records them in the design document alongside the AD names. These values are hard to change once users, hosts and trust objects exist, so they are agreed with the AD team before any server is installed or any trust is created. Done means a signed-off naming table that shows the IPA domain, realm, NetBIOS name and the AD domain each one pairs with.

  3. Configure DNS on both sides

    Set up DNS so each side can resolve the other's SRV records and forward zones. The IPA side needs the AD domain forwarded or delegated, and the AD side needs a conditional forward or stub zone for the IPA domain. Enrolled Linux clients should list at least two DNS servers in resolv.conf, in line with the FreeIPA deployment recommendations. Verify from an IPA server with a lookup of the AD domain's SRV records, and from a Windows domain controller with a lookup of the IPA domain's SRV records. Done means both lookups return the expected records from both sides.

  4. Establish the cross-forest trust

    The IPA administrator and the AD team run the trust setup together, with the AD side supplying the administrative action it must approve. Decide the trust direction first, since it affects which AD users can reach IPA resources and how two-factor authentication behaves. Confirm that the trust is created and validated on the IPA side, and that the AD side shows the matching trust relationship. Done means both sides report the trust as established and validated, with no errors in the IPA trust status output.

  5. Confirm ID mapping for AD users

    Decide how AD users get UIDs and GIDs: from SID-based ranges created by the trust setup, or from POSIX attributes in AD. Check that the ID range exists, that it does not overlap existing local or IPA ranges, and that a test AD user resolves with a UID and primary group. If a POSIX-based approach is used, confirm that the attributes are populated for every user who needs Linux access. Done means a test AD user returns a stable UID and GID on the IPA server, and the value stays the same across repeated lookups.

  6. Enroll target Linux hosts as IPA clients

    Enroll each Linux host that AD users will access as an IPA client, so SSSD handles identity resolution and Kerberos on the host. Use the client enrollment process for your distribution, confirm the host resolves IPA DNS names, and confirm SSSD is running. Check that the host can resolve an AD user through SSSD, for example with an id lookup on the AD user's name, and that the returned UID matches the value confirmed in the previous step. Done means each target host resolves the test AD user and reports the same UID and GID as the IPA server.

  7. Obtain a Kerberos ticket for an AD user

    On an enrolled host, have a test AD user run kinit with the AD password and confirm that a ticket is issued in the IPA realm. This checks the cross-realm path that Windows and Linux logins both depend on. Confirm that klist shows a valid ticket and that the ticket can reach an IPA service. If the ticket fails, check the trust status, the realm mapping and the time synchronization between hosts before trying again. Done means the test user holds a valid Kerberos ticket and can use it against an IPA-managed service.

  8. Grant access through HBAC and sudo, then test

    Create HBAC rules that name the AD users or external groups allowed to log in to each target host, then add sudo rules only where the workload needs them. Test each rule from a Windows workstation by signing in to a target host over SSH with the AD account, then confirm that a user outside the rule is refused. Record the results for each host group so later changes can be retested. Done means the permitted AD user logs in from a Windows workstation, sudo behaves as the rule states, and the excluded user is denied.

Security considerations for Windows workstations in a FreeIPA environment

A cross-forest trust links two authentication systems, so a change on either side can grant or remove Linux access. The cards below cover the controls that connect the two teams and the ones each side must verify on its own.

Review AD groups granted Linux access

The trust lets AD users authenticate to IPA-enrolled Linux hosts, so every AD group that reaches those hosts is a grant of access made on the Windows side. Review which groups are mapped through external groups, HBAC rules and sudo rules, and confirm that membership changes in AD, such as contractor or leaver removals, reach the Linux hosts within your policy window. Treat the AD group list as part of the Linux access review.

Patch FreeIPA promptly

The 4.13.4 release notes describe fixes for two CVEs, including LDAP access control flaws that could let unauthenticated clients obtain credentials, and hardened authentication checks across the API. Because the trust exposes IPA services to AD-authenticated users, a delayed patch affects both forests. Confirm your patch window for IPA servers and trust controllers, and test the update on a replica before the production servers.

Limit administrative rights on each side

FreeIPA administrators and AD domain administrators hold different keys, and neither team should need the other's full credentials to operate the trust. Keep the list of IPA admins and AD admins that can change trust objects, ID ranges or group mappings short and reviewed. Confirm with the AD team who may modify the trust relationship and who may change the groups used in IPA policy.

Check backup and restore constraints first

The backup documentation warns that restoring an outdated backup into an active replica topology can break replication. The first server also handles certificate renewal and CRL publication by default, so a restore that rolls back that state can affect every enrolled host. Before any recovery, confirm which server holds those roles, decide whether the restore targets a standalone server or the whole topology, and rehearse the procedure in a lab.

Document Windows-side controls

Some controls that protect Windows users sit entirely on the AD side, such as domain password policy, Windows lockout settings, endpoint protection on workstations and the conditions under which Windows users sign in. The IPA team cannot see or change these settings. Write them down in a shared control register, name the owner of each control, and confirm that the register matches your security policy and any audit scope before go-live.

Running Samba file servers on IPA clients for Windows access

A Linux file server enrolled as an IPA client can present SMB shares to Windows users, with access decided by the identity that arrives through the trust rather than by local accounts on the server. The file server team should treat this as a separate build from the identity work: the Windows users are authenticated against Active Directory, the server is authorized through FreeIPA policy, and the shares themselves are configured in Samba. Identity and share permissions are two independent layers, and both must allow the request. FreeIPA's documented integrations include Samba file servers on IPA clients, so the pattern is recognized, but the detailed configuration is its own project with its own tests.

Plan the share permissions first. Decide which AD groups or IPA groups map to read, write and administrative rights on each share, and confirm how those groups resolve to UIDs and GIDs on the server, since that mapping depends on the ID range and ID view choices made earlier in the trust design. Then plan the Kerberos service principals the Samba service needs, including how the keytab is distributed and rotated, and confirm the supported SMB protocol versions and the encryption settings your Windows versions require. Ask your Windows and AD team which SMB encryption requirements are enforced in their domain policy before you fix the server configuration.

Plan backup of the share data as its own job. FreeIPA backups cover the identity directory, not the files on the server, so the file data needs a backup product or snapshot process, with restore tests that include ACLs and ownership. Confirm with your own team how restores are authorized, and test a restore of a share as a Windows user with the expected trust-based identity. Treat these checks as acceptance criteria in the build, not as follow-up work after go-live.

Limits to confirm in your environment before committing to the design

Windows workstations do not join a FreeIPA domain, so the design depends on what your forest, your endpoints and your AD team will accept. The cards below list the items to verify before you commit, with the person who can answer each one.

Windows Server and forest versions

Trust support depends on the Windows Server version of your domain controllers, the forest and domain functional levels, and the RHEL release that runs the IPA side. Ask your AD team for the exact domain controller versions and functional levels in the forest that will be trusted, then compare them with the Windows Server versions page for FreeIPA trusts. Treat any gap as a blocker until it is resolved in writing. The AD team and your Linux platform owners answer this together.

Domain naming and DNS overlap

The IPA domain must use a DNS name that does not overlap with any domain in the AD forest. Confirm the proposed IPA DNS domain and realm against every AD domain and child domain, and check which DNS servers answer for each zone. Overlapping names are the kind of error that is cheap to find on paper and expensive to fix after clients are enrolled. The DNS owner on the AD side and your IPA architect should sign off on the naming plan.

Kerberos and SMB settings on endpoints

Windows endpoints negotiate Kerberos encryption types and SMB signing or encryption with the domain controllers, and some of those settings differ between Windows releases and hardened builds. Ask the AD team which encryption types and SMB requirements are enforced by Group Policy, and which Windows client builds your estate runs. Mismatches tend to show up as failed file access or authentication errors rather than clear messages. The Windows endpoint team and the AD team should confirm these settings together.

AD team acceptance of the trust

A cross-forest trust changes what AD users can reach on Linux and what your IPA administrators can see in the forest. The trust needs an AD administrator to configure one side, and that person needs to accept the trust direction, the scope of access and the ongoing ownership of the trust objects. Ask who on the AD side will approve the trust, who maintains it after go-live, and what they need from you in writing. The AD governance owner answers this, not the Linux team.

Windows device management and patching

FreeIPA does not manage Windows workstations, so patching, configuration baselines, disk encryption and device compliance for those machines stay with your Windows management tooling. Confirm which tool handles Windows endpoint management, which group policies apply to workstations, and who owns patch windows. Without this, a Linux-side access decision can rely on a Windows device that nobody is maintaining. The endpoint management team owns these answers.

Access review coverage across both sides

Auditors who review access will ask who can reach which systems, and the answer now spans AD groups, IPA groups, HBAC rules and sudo rules. Confirm whether your Windows-side tooling exports group membership and privileged access reports that cover trusted AD users, and whether those reports can be matched with the IPA records. Identify the evidence you need before you pick the design, because a gap here changes which accounts and groups must be mirrored. The compliance lead with the AD and IPA administrators should agree the evidence list.

Questions buyers ask about Windows workstations and FreeIPA

Can Windows workstations join a FreeIPA domain?

No. FreeIPA is built for Linux and UNIX clients, and Windows workstations cannot enroll as FreeIPA hosts or receive FreeIPA host policy the way Linux machines do. The practical options are to keep Windows endpoints in Active Directory and connect the two identity systems with a cross-forest trust, so Windows users can reach Linux services that FreeIPA governs. Windows users then authenticate against their own AD domain controllers, and FreeIPA applies its access rules to the trusted identities. Confirm this model against the FreeIPA Trusts documentation and your own endpoint management plan before you commit to it.

What drives the cost and effort of a mixed Linux and Windows design?

The main drivers are the number of trusts, the complexity of the AD forest and its functional levels, the amount of DNS change needed, the number of Samba file servers, and how many access rules must be rebuilt. Each trust adds design, validation and coordination with the AD team. DNS work can take longer than expected when AD and IPA domain names overlap or when resolvers are not under your control. Costs are one-time for design, build and testing, and recurring for trust maintenance, patching and access reviews. Ask any provider for a quote that lists each trust, DNS zone, file server and access model separately.

How long does a FreeIPA and Active Directory design take?

Duration depends on the scope agreed in writing, the availability of the AD team, and how much testing the environment requires. Work usually moves faster when the AD forest is current, DNS ownership is clear and change windows are already scheduled. It slows down when AD administrators must review each step, when test accounts must be created, or when file server access needs to be validated for several user groups. Ask for a timeline tied to named milestones, with dependencies on the AD team and on change approvals written out, rather than a single total figure.

What must our organization provide for a trust and Samba project?

Plan for four things. First, cooperation from AD administrators, who must configure their side of the trust and review domain settings. Second, control over DNS, including the ability to add conditional forwarders or zones and to check SRV records from both sides. Third, test accounts in AD and FreeIPA that cover the groups who will use Linux and file services. Fourth, change windows for DNS changes, trust creation and file server cutover. Confirm these with your AD, DNS and infrastructure owners in the first planning session, because delays here usually cost more time than the build itself.

Can our internal team build this without an outside partner?

Yes, a team with working knowledge of Kerberos, DNS, SSSD and Active Directory administration can build a FreeIPA trust and Samba design in-house. The trust, DNS and access-control steps need careful sequencing and clear coordination with the AD team, and a first trust is easier when someone has done one before. A partner typically helps when the team lacks recent trust experience, when several domains are involved, or when testing and documentation must be completed on a fixed schedule. Check your team's skills against the work list before deciding.

What does a DeployOpen quote follow from?

A DeployOpen quote follows from the written scope. Most engagements are fixed-scope, so scope, deliverables and timelines are agreed in writing before work starts. For a Windows and FreeIPA design, the scope should name the trusts, DNS zones, Samba file servers, access rules and testing you need, along with who on your side provides AD and DNS changes. DeployOpen does not publish a price list. Ongoing support and upgrades can be added as a retainer once the initial scope is agreed.

How DeployOpen scopes and delivers a mixed FreeIPA and Windows design

DeployOpen plans, implements, documents and supports self-hosted open-source platforms inside your own infrastructure, including the FreeIPA servers and Linux clients that sit beside your Windows estate. For Windows workstations, the work starts with a written boundary between what Windows machines will authenticate against and what stays on Active Directory.

How we scope

  • The written scope lists which Windows user populations, devices and applications will be served through FreeIPA and which stay on Active Directory.
  • Scope records the trust direction, ID range approach, DNS layout and Samba file server count the design depends on.
  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts; ongoing support is available as a retainer.

How we build

  • We build the FreeIPA, trust and client configuration in your environment, using your cloud accounts, data centers or air-gapped networks.
  • Test plans verify Windows user logons, Kerberos tickets, group mapping and Samba share access from the Linux side, not only from Windows.
  • Each design decision, including what Windows workstations cannot do natively, is recorded so your Windows and Linux teams work from one reference.

How we hand over

  • Handover includes architecture diagrams, configuration records, runbooks for account and group changes, and the test evidence from each stage.
  • Your Windows administrators receive a clear list of tasks that stay in Active Directory and tasks that move to FreeIPA administration.
  • Operators are walked through backup, restore and health check steps for the FreeIPA servers before the environment goes into production use.

How we support

  • Ongoing support covers FreeIPA version upgrades, security releases and changes to trust, DNS or client configuration as your estate grows.
  • Retainers can include periodic re-testing of Windows logons, Samba shares and Kerberos access after changes on either side.
  • Before any upgrade, we confirm the release notes and your rollback plan with your team, and confirm each Windows Server version against the trust requirements.

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.