PAM and LDAP
411
Install the Necessary LDAP Packages.
First, make sure that the appropriate packages are installed on both the LDAP server and the LDAP
client machines. The LDAP server needs the
openldap-servers
package.
The
openldap
,
openldap-clients
, and
nss_ldap
packages need to be installed on all LDAP
client machines.
Edit the Configuration Files.
• On the server, edit the
/etc/openldap/slapd.conf
file on the LDAP server to make sure it
matches the specifics of the organization. Refer to
Section 25.6.1, “Editing
/etc/openldap/
slapd.conf
”
for instructions about editing
slapd.conf
.
• On the client machines, both
/etc/ldap.conf
and
/etc/openldap/ldap.conf
need to
contain the proper server and search base information for the organization.
To do this, run the graphical
Authentication Configuration Tool
(
system-config-
authentication
) and select
Enable LDAP Support
under the
User Information
tab.
It is also possible to edit these files by hand.
• On the client machines, the
/etc/nsswitch.conf
must be edited to use LDAP.
To do this, run the
Authentication Configuration Tool
(
system-config-authentication
) and
select
Enable LDAP Support
under the
User Information
tab.
If editing
/etc/nsswitch.conf
by hand, add
ldap
to the appropriate lines.
For example:
passwd: files ldap
shadow: files ldap
group: files ldap
25.7.1. PAM and LDAP
To have standard PAM-enabled applications use LDAP for authentication, run the
Authentication
Configuration Tool
(
system-config-authentication
) and select
Enable LDAP Support
under the the
Authentication
tab. For more about configuring PAM, refer to
Section 43.4, “Pluggable
Authentication Modules (PAM)”
and the PAM man pages.
25.7.2. Migrating Old Authentication Information to LDAP Format
The
/usr/share/openldap/migration/
directory contains a set of shell and Perl scripts for
migrating authentication information into an LDAP format.
Note
Perl must be installed on the system to use these scripts.
Содержание ENTERPRISE LINUX 5 - VIRTUAL SERVER ADMINISTRATION
Страница 22: ...xxii ...
Страница 28: ......
Страница 36: ...10 ...
Страница 40: ...14 ...
Страница 96: ...70 ...
Страница 116: ...90 ...
Страница 144: ...118 ...
Страница 146: ......
Страница 158: ...132 ...
Страница 165: ...Installing and Removing Packages 139 Figure 11 7 Installing and removing packages simultaneously ...
Страница 166: ...140 ...
Страница 172: ...146 ...
Страница 178: ......
Страница 228: ...202 ...
Страница 264: ...238 ...
Страница 318: ...292 ...
Страница 330: ...304 ...
Страница 388: ...362 ...
Страница 428: ...402 ...
Страница 452: ......
Страница 458: ...432 ...
Страница 476: ...450 ...
Страница 478: ...452 ...
Страница 494: ...468 ...
Страница 498: ...472 ...
Страница 530: ...504 ...
Страница 536: ...510 ...
Страница 544: ...Chapter 36 Log Files 518 Figure 36 7 Log file contents after five seconds ...
Страница 546: ......
Страница 550: ...524 ...
Страница 576: ......
Страница 584: ...558 ...
Страница 608: ......
Страница 776: ...750 ...
Страница 796: ...770 ...
Страница 800: ...774 ...
Страница 804: ......
Страница 806: ...780 ...
Страница 808: ...782 ...
Страница 816: ...790 ...
Страница 820: ...794 ...
Страница 822: ...796 ...
Страница 830: ...804 ...
Страница 836: ...810 ...
Страница 844: ...818 ...
Страница 848: ...822 ...