Identity and Directories with FreeIPA Simo Sorce Sr. Principal Sw. - - PowerPoint PPT Presentation

identity and directories with freeipa
SMART_READER_LITE
LIVE PREVIEW

Identity and Directories with FreeIPA Simo Sorce Sr. Principal Sw. - - PowerPoint PPT Presentation

Identity and Directories with FreeIPA Simo Sorce Sr. Principal Sw. Eng., Red Hat 2015/01/21 1 Simo Sorce What is FreeIPA ? FreeIPA is a Directory and Authentication Server aka a Domain Controller Primarily targets at Linux servers.


slide-1
SLIDE 1

1

Simo Sorce

Identity and Directories with FreeIPA

Simo Sorce

  • Sr. Principal Sw. Eng., Red Hat

2015/01/21

slide-2
SLIDE 2

2

NYLUG – Simo Sorce - FreeIPA

What is FreeIPA ?

FreeIPA is a Directory and Authentication Server

aka a Domain Controller

Primarily targets at Linux servers. “IPA” stands for Identity, Policy and Audit

slide-3
SLIDE 3

3

NYLUG – Simo Sorce - FreeIPA

FreeIPA project

The FreeIPA project can be defined as a meta- project. It integrates existing Open Source components into a cohesive and harmonized solution. The goal of the FreeIPA project is to provide an easy to use and install but powerful Identity Management solution for Linux environments.

slide-4
SLIDE 4

NYLUG – Simo Sorce - FreeIPA

Identity Management ?

slide-5
SLIDE 5

5

NYLUG – Simo Sorce - FreeIPA

Identity Management

“Identity management (IdM) describes the management of individual principals, their authentication, authorization, and privileges within

  • r across system and enterprise boundaries with

the goal of increasing security and productivity while decreasing cost, downtime and repetitive tasks.”

Wikipedia

slide-6
SLIDE 6

6

NYLUG – Simo Sorce - FreeIPA

Identity Management - Basics

Identities

When talking about identities in FreeIPA we think equally

  • f users, hosts and services.

Identity implies concepts such as naming, credentials, privileges, identification is key to establish relations with other objects.

Access Control

The end goal is to be able to apply access policies and enforce access privileges. FreeIPA implements a number of standard access controls as well as new ones (like Host Based Access Control).

Authentication

Authentication is the act of identifying one actor to another. In FreeIPA both users and machines own credentials and can authenticate (to) each other.

slide-7
SLIDE 7

7

NYLUG – Simo Sorce - FreeIPA

Why should I care for Identity Management ?

Every networked machine needs accounts and authentication services. From small startups to big enterprises, from cloud deployments to on-premise, every system admin or devop environment faces the problem of managing users, admins, systems, their credentials and keys, and control and coordinate access. Purpose built Identity Management systems reduce errors, and improve productivity of both admins and users by simplifying management.

?

slide-8
SLIDE 8

NYLUG – Simo Sorce - FreeIPA

Identities and Directories

slide-9
SLIDE 9

9

NYLUG – Simo Sorce - FreeIPA

Just a directory ?

A directory is necessary but not sufficient. A modern system includes dedicated authentication services, policies and a way to manage all these components. Naming is also important over networks; if you can't resolve names you can't effectively use modern security and crypto services.

slide-10
SLIDE 10

10

NYLUG – Simo Sorce - FreeIPA

FreeIPA Components

FreeIPA

LDAP Directory Web UI / CLI CS (PKI CA) DNS NTPD Kerberos KDC

Core:

389ds LDAP Server MIT Krb5 KDC HTTP APIs / Web UI Python IPA framework NTPD server

Optional:

BIND9 DNS Server Dogtag Certificate System

slide-11
SLIDE 11

11

NYLUG – Simo Sorce - FreeIPA

Holistic approach

Not just a bag of parts. Conceal complexity with consistent management interfaces. All the functions are available both via a pleasing Web UI and a powerful CLI all based on the same API.

slide-12
SLIDE 12

NYLUG – Simo Sorce - FreeIPA

So, what can it do for you ?

slide-13
SLIDE 13

13

NYLUG – Simo Sorce - FreeIPA

Manage identities

Full identity life-cycle management for:

Users Hosts Services Nested user groups Nested host groups Private user groups External users and groups Auto-membership Netgroups Automount maps User self-service

slide-14
SLIDE 14

14

NYLUG – Simo Sorce - FreeIPA

Policy & Security

Extensive security policy management capabilities:

Host Based Access Control Centralized Sudo Policies Groups based password policies Two Factor Authentication via Hard or Soft-token (TOTP/HOTP) SSH Keys management

Both host and user public keys

Role-based, fine-grained delegation of administrative privileges. Hosts SSL Certificates management including revocation and automatic renewal via integrated CA and client tools Secure DNS updates (GSS-TSIG) SELinux User Mapping

slide-15
SLIDE 15

15

NYLUG – Simo Sorce - FreeIPA

Simple and powerful setup tools

Install scripts are used to configure both servers and clients

ipa-server-install first server instance ipa-replica-install additional freeipa servers ipa-client-install quick client domain join and setup ipa-advise tool help admins with configuration advice ipa tool command line administrative interface

slide-16
SLIDE 16

16

NYLUG – Simo Sorce - FreeIPA

Scalable

Location 2 Location 1

slide-17
SLIDE 17

17

NYLUG – Simo Sorce - FreeIPA

Integration tools

Directory migration

ipa migrate-ds tool Including password migration

Legacy clients compatibility:

Internal NIS server (translates from LDAP data) LDAP “compat” tree for legacy RFC2307-only clients

Active Directory Integration via cross-forest trust or sync

slide-18
SLIDE 18

NYLUG – Simo Sorce - FreeIPA

Trust ?

slide-19
SLIDE 19

19

NYLUG – Simo Sorce - FreeIPA

Active Directory Integration (Trust)

Active Directory

FreeIPA TRUST Linux

user@domain.ad

slide-20
SLIDE 20

20

NYLUG – Simo Sorce - FreeIPA

Active Directory Cross-Forest Trust Features

Authentication to FreeIPA clients

Password based PAM login GSSAPI/Krb5 single sign on to services

SSH, HTTP/Negotiate, etc..

External membership in FreeIPA groups

Including (indirect) membership in posix groups for file and other access control

Multiple Posix ID mapping choices

Autogenerated IDs RFC2307 IDs from AD ID Views

legacy clients migrations

slide-21
SLIDE 21

21

NYLUG – Simo Sorce - FreeIPA

Active Directory Integration (Sync)

Active Directory

FreeIPA Linux Sync users & paswords

slide-22
SLIDE 22

NYLUG – Simo Sorce - FreeIPA

Clients

slide-23
SLIDE 23

23

NYLUG – Simo Sorce - FreeIPA

Clients

The 'official' FreeIPA client is SSSD (System Security Services Daemon). SSSD replaces legacy clients like pam_ldap/nss_ldap/pam_krb5 (they are also still fully supported as clients, but they do not

  • ffer all the advanced features of SSSD).

Certmonger is the client tool used to fetch and automatically renew certificates.

slide-24
SLIDE 24

24

NYLUG – Simo Sorce - FreeIPA

SSSD

SSSD is the recommended client agent for FreeIPA. But SSSD is more than that, it is a generic agent to connect to identity information and authentication services. SSSD is in fact a pluggable service that provides connectors for multiple identity systems (even at the same time) and organizes identity information sources into “domains”:

FreeIPA Domains Active Directory Domains Plain LDAP servers ...

slide-25
SLIDE 25

25

NYLUG – Simo Sorce - FreeIPA

SSSD

NSS Resp. IPA Prov. User Application pam_sss nss_sss PAM Resp.

Active Directory

FreeIPA AD Prov.

SUDO Resp. AD GPO

Cache

slide-26
SLIDE 26

26

NYLUG – Simo Sorce - FreeIPA

Key SSSD Features

Smart caching of identity information

Automatically refreshed as needed

Offline identity and authentication support via caching:

network interruptions, server maintenance windows, good for laptops

Better client behavior:

Keeps access credentials private Saves load on the servers thanks to caching and connection pooling.

Advanced FreeIPA / AD features

slide-27
SLIDE 27

27

NYLUG – Simo Sorce - FreeIPA

Let's take a look at FreeIPA

slide-28
SLIDE 28

28

NYLUG – Simo Sorce - FreeIPA

Future features

Enterprise user life-cycle

User provisioning into staging area and admin controlled activation, recover of deleted users

DNSSEC support

Automatic zone signing and key rotation

Ipsilon Identity Provider (spinoff project)

Web authentication and Federation

SAML, OpenID, OpenID Connect, Persona, etc...

slide-29
SLIDE 29

29

NYLUG – Simo Sorce - FreeIPA

Future features - continued

Password vault

Allow users or services to store passwords and

  • ther secrets in the directory and retrieve them

anywhere using a master password With optional escrow for admins

Security domains

Scope limited sub-CAs

VPN Certs Puppet Certs ....

slide-30
SLIDE 30

30

NYLUG – Simo Sorce - FreeIPA

Clearly the best thing since sliced bread!

FreeIPA Server available in:

RHEL / CentOS / Fedora Debian (unstable) Ubuntu (15.04)

SSSD Client available in pretty much all distros and even FreeBSD Cures admin-blues in minutes! As seen on TV!

slide-31
SLIDE 31

31

NYLUG – Simo Sorce - FreeIPA

Questions ?

Learn more http://freeipa.org http://fedorahosted.org/sssd IRC – FreeNode: #freeipa, #sssd Try it out Demo site: http://ipa.demo1.freeipa.org FreeOTP: https://fedorahosted.org/freeotp Docker Images: http://www.freeipa.org/page/Docker