Using LDAP
to Manage Unix Accounts
Jeff Machols
User management is one of the most tedious tasks in a systems
administrator's job. There have been some attempts to centralize
user management with NIS and NIS+. NIS fizzled out because of its
security holes, and NIS+ is not very straightforward to configure.
So, what's the best way to centralize user management in an
environment? The answer is looking more and more like LDAP.
LDAP (Lightweight Directory Access Protocol) is quickly emerging
as the standard in hierarchical data, such as user and group data.
LDAP servers are designed for an "update seldom, access often"
scenario. One of the roadblocks LDAP has faced in gaining popularity
as a centralized user management system is the effort to get client
machines to securely authenticate users. In the past, this required
writing custom PAM modules or trying to configure existing ones.
However, as major Unix vendors are realizing the potential of LDAP,
they are including clients in the operating system.
These built-in clients also contain the PAM libraries for authentication
with an LDAP server. These client-side applications are included
in the Solaris 8 and 9 distributions, as well as AIX 5L. HP-UX has
a free software depot called ldapux that can be found at software.hp.com,
and Linux has an RPM called nss_ldap. These clients include built-in
libraries, so fears about writing C programs to authenticate or
having holes in your security can be put to rest.
|