Datasheet

“main” (Installation and Administration) 2004/6/25 13:29 page 495 #521
i
i
i
i
i
i
i
i
21
Linux in the Network
Figure 21.22: YaST OpenLDAP Server Configuration: Available Databases
Example 21.27: pam_unix2.conf Adapted to LDAP
auth: use_ldap nullok
account: use_ldap
password: use_ldap nullok
session: none
When manually configuring additional services to use LDAP, include the
PAM LDAP module in the PAM configuration file corresponding to the
service in /etc/pam.d/. Configuration files already adapted to individual
services can be found in /usr/share/doc/packages/pam_ldap/pam.
d/. Copy appropriate files to /etc/pam.d/.
glibc name resolution through the nsswitch mechanism is adapted
to the employment of LDAP with nss_ldap. A new, adapted file
nsswitch.conf is created in /etc/ with the installation of this pack-
age. More about the workings of nsswitch.conf can be found in Sec-
tion 21.3.1 on page 433. The following lines must be present in nsswitch.
conf for user administration and authentication with LDAP (See Exam-
ple 21.28 on the next page):
495SUSE LINUX Enterprise Server