Skip to main content
Redhat Developers  Logo
  • AI

    Get started with AI

    • Red Hat AI
      Accelerate the development and deployment of enterprise AI solutions.
    • AI learning hub
      Explore learning materials and tools, organized by task.
    • AI interactive demos
      Click through scenarios with Red Hat AI, including training LLMs and more.
    • AI/ML learning paths
      Expand your OpenShift AI knowledge using these learning resources.
    • AI quickstarts
      Focused AI use cases designed for fast deployment on Red Hat AI platforms.
    • No-cost AI training
      Foundational Red Hat AI training.

    Featured resources

    • OpenShift AI learning
    • Open source AI for developers
    • AI product application development
    • Open source-powered AI/ML for hybrid cloud
    • AI and Node.js cheat sheet

    Red Hat AI Factory with NVIDIA

    • Red Hat AI Factory with NVIDIA is a co-engineered, enterprise-grade AI solution for building, deploying, and managing AI at scale across hybrid cloud environments.
    • Explore the solution
  • Learn

    Self-guided

    • Documentation
      Find answers, get step-by-step guidance, and learn how to use Red Hat products.
    • Learning paths
      Explore curated walkthroughs for common development tasks.
    • Guided learning
      Receive custom learning paths powered by our AI assistant.
    • See all learning

    Hands-on

    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.
    • Interactive labs
      Learn by doing in these hands-on, browser-based experiences.
    • Interactive demos
      Click through product features in these guided tours.

    Browse by topic

    • AI/ML
    • Automation
    • Java
    • Kubernetes
    • Linux
    • See all topics

    Training & certifications

    • Courses and exams
    • Certifications
    • Skills assessments
    • Red Hat Academy
    • Learning subscription
    • Explore training
  • Build

    Get started

    • Red Hat build of Podman Desktop
      A downloadable, local development hub to experiment with our products and builds.
    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.

    Download products

    • Access product downloads to start building and testing right away.
    • Red Hat Enterprise Linux
    • Red Hat AI
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Featured

    • Red Hat build of OpenJDK
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenShift Dev Spaces
    • Red Hat Developer Toolset

    References

    • E-books
    • Documentation
    • Cheat sheets
    • Architecture center
  • Community

    Get involved

    • Events
    • Live AI events
    • Red Hat Summit
    • Red Hat Accelerators
    • Community discussions

    Follow along

    • Articles & blogs
    • Developer newsletter
    • Videos
    • Github

    Get help

    • Customer service
    • Customer support
    • Regional contacts
    • Find a partner

    Join the Red Hat Developer program

    • Download Red Hat products and project builds, access support documentation, learning content, and more.
    • Explore the benefits

Red Hat Identity Manager: Part 1 - Overview and Getting started

April 29, 2016
Brian Atkisson
Related topics:
Security
Related products:
Red Hat Single sign-on

    Red Hat Identity Manager (IdM), is designed to provide an integrated identity management service for a wide range of clients, including Linux, Mac, and even Windows. At its core, IdM combines LDAP, Kerberos, DNS, and PKI with a rich management framework.  Frequently, IdM is described as "Active Directory for Linux". Although, to be fair, Active Directory is really just a management framework around LDAP, Kerberos, DNS and PKI -- all of which were well established in the unix community long before Active Directory ever existed.  In any case, the primary use for IdM is to provide these identity services to linux clients using these well established and open protocols.

    This article will provide an overview of Red Hat Identity Manager, and demonstrate how to get started with IdM quickly.

    Technical Overview

    IdM is built upon Red Hat Directory Server and takes advantage of Directory Server's mature multi-master support, which supports up to 20 LDAP masters (both read and write).  MIT Kerberos and ISC Bind sit on top of Directory Server, using LDAP for their back-end data stores - this takes care of replicating changes between IdM servers.

    For those of you who have managed MIT Kerberos propagation and Bind configuration and zone transfers, you'll appreciate the simplicity of simply using LDAP replication rather than maintaining distinct replication systems for each service.

    Finally, Red Hat Certificate System is also included in IdM, providing full PKI services.  IdM's PKI system can operate as either a root certificate authority or as an intermediate authority, integrating existing trust models.

    Getting started

    Part of the beauty of this software, aside from it being 100% open source, is the simplicity of installation and maintenance.  It is very easy to get a highly available, enterprise-level deployment up and running. If you are a Red Hat Enterprise Linux (RHEL) customer, you already have everything you need to start using it - there is no additional subscription required.

    Both the server as well as the client installer are also available in Fedora, if you want to check out the latest code.  It is quite common to use host the IdM servers on RHEL and for developer machines to be running Fedora.  The upstream project is called FreeIPA, as such you'll see the packages called freeipa-* in Fedora. (Editor's note, RHEL is now available for developer use. You may download it by signing up with Red Hat Developers.)

    To install on RHEL, simply execute:

    yum install ipa-server bind-dyndb-ldap
    ipa-server-install  --setup-dns --forwarder=<dns_server1> --forwarder=<dns_server2>

    Take a look at  ipa-server-install --help for full details. Once installed, log in to https://<ipa_server_fqdn>. You'll also want to trust the new CA certificate, which is located on the IdM server at /etc/ipa/ca.crt

    Of course, nobody wants just one IdM server.  The first step would be to create a replica, which is a full read/write copy of the first installation. Take a look at the product docs for full details, but creating the replica is easy as well:

    [root@firstserver ~]# ipa-replica-prepare --ip-address <replicas_ip> <replica_fqdn}
    [root@replica ~]# ipa-replica-install --setup-ca --ip-address=<ipaddr> --setup-dns --forwarder=<dns_server1> --forwarder=<dns_server2> /root/replica-info-<replica_fqdn>.gpg

    Behold! You now have a highly available identity management system offering all the services that would normally take weeks to build separately. These services are secured by default using the strongest standards currently available for enterprise markets.  For example, IdM fully supports using one time passwords and DNSSEC.

    Additional integrations

    Unless you have a complete greenfield infrastructure, you'll probably want to integrate IdM with your existing environment. IdM gives you mechanisms to:

    • Have an external certificate authority sign the IdM CA certificate
    • Import LDAP users
    • Setup a trust relationship with Active Directory

    These are well covered in the IdM documentation.  Where things get interesting is the non-standard integration that you can perform:

    • Cross-realm trust with an existing Kerberos realm
    • Replicating the IdM data store to existing RHDS nodes
    • Using configuring IdM servers to provide a highly available DHCP service, backed by the replicated IdM data store.

    These lesser-known features and hacks will be the subject of future articles.  There are a ton of great resources on IdM out there, hopefully this article has given you a quick-start to begin playing:

    Additional Resources:

    https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/linux_domain_identity_authentication_and_policy_guide/index

    Upstream design docs:
    https://www.freeipa.org/page/Main_Page

     

     

     

     

     

     

     

     

     

    Last updated: October 30, 2023

    Recent Posts

    • Testing infrastructure red teaming with abliterated models

    • Build an enterprise RAG system with OGX

    • Solutions for SELinux MCS challenges with GitLab runners

    • MCP servers vs. skills: Choosing the right context for your AI

    • How to route external and local LLMs with Models-as-a-Service

    Red Hat Developers logo LinkedIn YouTube Twitter Facebook

    Platforms

    • Red Hat AI
    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Build

    • Developer Sandbox
    • Developer tools
    • Interactive tutorials
    • API catalog

    Quicklinks

    • Learning resources
    • E-books
    • Cheat sheets
    • Blog
    • Events
    • Newsletter

    Communicate

    • About us
    • Contact sales
    • Find a partner
    • Report a website issue
    • Site status dashboard
    • Report a security problem

    RED HAT DEVELOPER

    Build here. Go anywhere.

    We serve the builders. The problem solvers who create careers with code.

    Join us if you’re a developer, software engineer, web designer, front-end designer, UX designer, computer scientist, architect, tester, product manager, project manager or team lead.

    Sign me up

    Red Hat legal and privacy links

    • About Red Hat
    • Jobs
    • Events
    • Locations
    • Contact Red Hat
    • Red Hat Blog
    • Inclusion at Red Hat
    • Cool Stuff Store
    • Red Hat Summit
    © 2026 Red Hat

    Red Hat legal and privacy links

    • Privacy statement
    • Terms of use
    • All policies and guidelines
    • Digital accessibility

    Chat Support

    Please log in with your Red Hat account to access chat support.