Download LDAP System Administration

Transcript
Parameter
[ Team
LiB ]
Description
host
The IP address (or hostname) of the LDAP server. The value must be resolvable without LDAP
support. If a host is not specified, the nss_ldap library will attempt to locate an LDAP server by
querying DNS for an SRV record for _ldap._tcp.<domain> . The current version of the pam_ldap
module (v157) will not perform this auto-lookup, but support is planned for a future release. Also
refer to the uri parameter.
base
The base DN to use in searches.
ldap_version
The version of LDAP to use when querying the server. Legal values are 2 and 3. Version 3 is used
by default if it is supported by the client libraries.
binddn
The DN to use when binding to the LDAP server. This is an optional parameter; it is necessary
when access control on directory entries prohibits anonymous searches.
bindpw
The password used when binding to the LDAP server (if the binddn was defined).
port
The port to use when contacting the LDAP server. The default is port 389. Also refer to the uri
parameter.
•
Table of Contents
•
This parameter allows you to map the effective UID 0 (i.e., the root UID) to a DN that is used to
Index
bind to the LDAP server. If enabled, the password for this DN is read from /etc/ldap.secret. This
follows the convention that the root account should be able to access all information on the
Reader Reviews
system.
•rootbinddn Reviews
•
•
Errata
This parameter defines the behavior of the PAM and NSS modules for negotiating SSL when
LDAP System
Administration
binding
to the server. By default, SSL is not used. The client can be configured to use LDAPS by
ssl
By
Gerald Carter
Publisher
scope
setting this parameter to on, or to use the StartTLS Extended command by setting this parameter
tostart_tls.
Pub Date
: O'Reilly
The scope to use when searching the LDAP tree. The possible values are sub,one, and base.
: March 2003
ISBN
: 1-56592-491-6
Pages
: 308
uri
This option accepts an LDAP URI defining the host and port of the directory server.
Table 6-2. pam_ldap ldap.conf parameters
If you want to be a master of your domain, LDAP System Administration will help you get up and running quickly
Parameter
Description
regardless of which LDAP version you use. After reading this book, even with no previous LDAP experience, you'll
A Boolean
(defaults
to no
) that controls
of HTTP,
the host
when
be
able to integrate a directory
serverparameter
into essential
network
services
such as checking
mail, DNS,
andattribute
SMB/CIFS.
pam_check_host_attr
authorizing a login.
[ Team LiB ]
pam_filter
A string that provides additional filter elements that are ANDed with (uid=%s) when
attempting to validate a user. See the pam_login_attribute parameter for related
information.
The attribute that should be matched against the user's login name. This parameter lets
pam_login_attribute you use something other than a simple username for authentication—for example, an
email address.
pam_lookup_policy
A Boolean parameter (yes or no) that tells pam_ldap whether to contact the root DSE
to get the server's password policy. For use with Netscape's directory server 3.x only.
pam_groupdn
Defines the DN of a group whose membership (see the pam_member_attribute
parameter) should be used to to restrict access to the local host.
pam_member_attribute Defines the group membership attribute.
pam_min_uid
pam_max_uid
pam_password
These two parameters accept an integer representing the minimum and maximun
uidNumber values allowed to log in. The default is to place no restrictions on logins.
This parameter defines various methods for changing passwords on LDAP servers. It
supersedes the older pam_crypt,pam_nds_passwd, and pam_ad_passwd parameters.
Possible values include: clear (the default; sends the clear text of the password to the
server),crypt (hashes the password locally using the standard crypt( ) function
before sending the change to the server), md5 (generates the MD5 hash of the
password locally before sending it to the server), nds,racf (provides support for
changing passwords stored in a Novell Directory Server), ad (provides support for
changing passwords stored in an Active Directory server), and exop (supports the
Password Modify extended operation defined in RFC 3062; implemented by OpenLDAP).