Part II: Application Integration
|
Chapter 6. Replacing NIS
One of LDAP's chief advantages is its ability to consolidate multiple directory services into one. This chapter examines the pros and cons of using LDAP as a replacement for Sun's Network Information Service (NIS). NIS is used primarily by Unix clients to centralize management of
While the focus of this chapter is using an LDAP directory as a replacement for NIS domains, many other tools are used to distribute management information on Unix systems; for example, many sites use
rsync(1)
to push administrative files, such as
/etc/passwd
, to client machines. While this chapter assumes that you are replacing NIS with an LDAP directory, adapting these techniques I present to other schemes for sharing the data in
/etc/passwd
,
/etc/
There are two fundamental strategies for replacing NIS with an LDAP directory. The first solution,
Figure 6-1. NIS/LDAP gateway
The second solution involves making a complete transition to LDAP. If you are willing to disable NIS lookups on all of your clients and install the necessary LDAP libraries and modules, you may prefer this approach. Clients access information directly from an LDAP directory, eliminating the gateway. Many modern operating systems support pluggable information retrieval modules; for example, Unix and Unix-like systems such as Solaris and Linux can use the LDAP Pluggable Authentication Modules (PAM) and
To implement either solution -an NIS/LDAP gateway server or LDAP-enabled client lookups -we must define the attribute types and object classes needed to move the information
|