Red_Hat_Enterprise_Linux-7-Windows_Integration_Guide-en-US.pdf

(5921 KB) Pobierz
Red Hat Enterprise Linux 7
Windows Integration Guide
Integrating Linux Systems with Active Directory Environments
Ella Deon Ballard
Red Hat Enterprise Linux 7 Windows Integration Guide
Integrating Linux Systems with Active Directory Environments
Ella Deo n Ballard
dlackey@redhat.co m
Legal Notice
Copyright © 2014 Red Hat.
T his document is licensed by Red Hat under the
Creative Commons Attribution-ShareAlike 3.0 Unported
License.
If you distribute this document, or a modified version of it, you must provide attribution to Red
Hat, Inc. and provide a link to the original. If the document is modified, all Red Hat trademarks must be
removed.
Red Hat, as the licensor of this document, waives the right to enforce, and agrees not to assert, Section
4d of CC-BY-SA to the fullest extent permitted by applicable law.
Red Hat, Red Hat Enterprise Linux, the Shadowman logo, JBoss, MetaMatrix, Fedora, the Infinity Logo,
and RHCE are trademarks of Red Hat, Inc., registered in the United States and other countries.
Linux ® is the registered trademark of Linus T orvalds in the United States and other countries.
Java ® is a registered trademark of Oracle and/or its affiliates.
XFS ® is a trademark of Silicon Graphics International Corp. or its subsidiaries in the United States
and/or other countries.
MySQL ® is a registered trademark of MySQL AB in the United States, the European Union and other
countries.
Node.js ® is an official trademark of Joyent. Red Hat Software Collections is not formally related to or
endorsed by the official Joyent Node.js open source or commercial project.
T he OpenStack ® Word Mark and OpenStack Logo are either registered trademarks/service marks or
trademarks/service marks of the OpenStack Foundation, in the United States and other countries and
are used with the OpenStack Foundation's permission. We are not affiliated with, endorsed or
sponsored by the OpenStack Foundation, or the OpenStack community.
All other trademarks are the property of their respective owners.
Abstract
Identity and policy management — for both users and machines — is a core function for almost any
enterprise environment. Identity Management provides a way to create an identity domain that allows
machines to enroll to a domain and immediately access identity information required for single sign-on
and authentication services, as well as policy settings that govern authorization and access. T his
manual covers all aspects of installing, configuring, and managing Identity Management domains,
including both servers and clients. T his guide is intended for IT and systems administrators.
Table of Contents
Table of Contents
Preface
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3. . . . . . . .
.
⁠
1. Information for Managing Identity and Authentication Policies in Linux
3
⁠
2. Audience and Purpose
3
⁠
3. Giving Feedback
3
⁠
4 . Document Change History
4
⁠
C . . . . . . . Ways . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. .hapter. 1. . . . . . .to. Integrate .Active. Directory.and .Linux. Environments. . . . . . . . . . . . . . . . . 5 . . . . . . . .
.
⁠
1.1. Defining Windows Integration
5
⁠
1.2. Small Environments: Using Windows as an Identity Source
6
⁠
1.3. Small Environments: Enrolling Individual Clients
6
⁠
1.4. Big Environments: Synchronizing Users
7
⁠
1.5. Big Environments: T rusted Realms
7
⁠
P . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Active Directory Domain
. .art .I. Adding. a .Single .Linux. System to .an . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 . . . . . . . .
.
⁠
C . . . . . . . Using . . . . . . . . . . . . . . . an . . . . . . . . . . . . . . . . . . . . .
. .hapter. 2. . . . . . .Active. Directory.as . . . Identity .Provider .for .SSSD . . . . . . . . . . . . . . . . . . . 10 . . . . . . . .
..
⁠
2.1. About SSSD
10
⁠
2.2. Environments for SSSD
12
⁠
2.3. How SSSD Integrates with an Active Directory Environment
12
⁠
2.4. Configuring an Active Directory Domain with ID Mapping
16
⁠
2.5. Configuring an Active Directory Domain with POSIX Attributes
19
⁠
2.6. Configuring Active Directory as an LDAP Domain
23
⁠
2.7. Additional Configuration Examples
27
⁠
C . . . . . . . . . . . . . . . . . . to . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. .hapter. 3. Using .realmd . . .Connect .to. an. Active. Directory. Domain. . . . . . . . . . . . . . . . . . . . 32 . . . . . . . .
..
⁠
3.1. About realmd
32
⁠
3.2. realmd Commands
32
⁠
3.3. Discovering and Joining Active Directory Domains
33
⁠
3.4. Managing User Logins from Active Directory
35
⁠
3.5. Adding Default User Configuration
35
⁠
3.6. Additional Configuration for the Active Directory Domain Entry
36
⁠
C . . . . . . Using . . . . . . .
. .hapter. 4 . . . . . . . Winbind . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 . . . . . . . .
..
⁠
4 .1. About Winbind
38
⁠
4 .2. Enabling Winbind in the authconfig GUI
39
⁠
4 .3. Enabling Winbind in the authconfig Command Line
41
⁠
P . . . . . . . . . . . . . . . . . . . . . . . . with . . Active . . . . . . . . Domain
. .art .II. .Integrating. a .Linux. Domain . . . . .an . . . . . . .Directory . . . . . . . . . . . . . . . . . . . . . . . . . . 4 3 . . . . . . . .
..
⁠
C . . . . . . . Creating . . . . . . . . . . . . . . . . . . . . Active Directory and . . . . . . . . . . . . . . . . . .
. .hapter. 5. . . . . . . . . .Cross-Realm .T rusts. with . . . . . . . . . . . . . . . . . . . Identity .Management . . . . . . . . . .
⁠
5.1. T he Meaning of "T rust"
44
4 4
⁠
5.2. Environment and Machine Requirements to Set up T rusts
54
⁠
5.3. Creating T rusts
58
⁠
5.4. Creating IdM Groups for Active Directory Users
80
⁠
5.5. Maintaining T rusts
82
⁠
5.6. Verifying T hat IdM Machines Have Resolvable Names
86
⁠
5.7. Setting PAC T ypes for Services
87
⁠
5.8. Using SSH from Active Directory Machines for IdM Resources
90
⁠
5.9. Using T rust with Kerberized Web Applications
91
⁠
C . . . . . . . Synchronizing . . . . . . . . . . . . . . . . Identity . . . . . . . . . . . . . . . .
. .hapter. 6. . . . . . . . . . . . . . .Active .Directory .and . . . . . . . .Management. Users . . . . . . . . . . . . 93 . . . . . . . .
..
⁠
6.1. Supported Windows Platforms
93
⁠
6.2. About Active Directory and Identity Management
93
⁠
6.3. About Synchronized Attributes
95
⁠
6.4. Setting up Active Directory for Synchronization
99
⁠
6.5. Managing Synchronization Agreements
99
1
Zgłoś jeśli naruszono regulamin