Access Control

By default, users defined in the LDAP database are able to log into every system which uses that database in conjunction with the LDAP Module for System Authentication. If you want to limit user access to specific systems, use the access control files /etc/ldapusers.deny and /etc/ ldapusers.allow.

A default /etc/ldapusers.deny file is provided at installation time. Included are all of the standard system users: root, bin, daemon, and so on. If you want to deny access to a user, add that user's name to the /etc/ldapusers.deny file.

If you want to disallow access to all but a few users, use the /etc/ldapusers.allow file. If the /etc/ldapusers.allow file exists on a system, only users listed in that file are allowed to log in using LDAP authentication. Note that this is true even if /etc/ldapusers.allow is empty — its very existence invokes the stricter access control rules.

Utilities for Maintaining User Information in the LDAP Directory Server

The Internet Express software kit includes several utilities that you can use to maintain the extended LDAP directory server shipped with Internet Express. The following utilities, summarized in Table 5, are installed in the /usr/internet/ldap_tools directory:

•ldap_check—Section : Checking the LDAP Server Configuration

•passwd_extract—Section : Extracting Users from the /etc/passwd File

•ldap_add_user—Section : Adding a User Entry

•ldap_del_user—Section : Deleting a User Entry

•ldap_get_user—Section : Retrieving a User Entry

•ldap_sync_user—Section : Synchronizing with a Password File

•ldap_add_group—Section : Adding a Group Entry

•ldap_mod_group—Section : Maintaining Group Membership

•ldap_del_group—Section : Deleting a Group Entry

•ldap_get_group—Section : Retrieving a Group Entry

•ldap_passwd—Section : Setting a User's Password in the LDAP Directory Server

•ldap_enable—Section : Starting the ldapcd Daemon

•ldap_disable—Section : Stopping the ldapcd Daemon

78 User Authentication

Page 78
Image 78
HP UX Internet Express Software manual Access Control