Blame SOURCES/sudo-ldap.conf

46eb58
## BINDDN DN
46eb58
##  The BINDDN parameter specifies the identity, in the form of a Dis‐
46eb58
##  tinguished Name (DN), to use when performing LDAP operations.  If
46eb58
##  not specified, LDAP operations are performed with an anonymous
46eb58
##  identity.  By default, most LDAP servers will allow anonymous
46eb58
##  access.
46eb58
##
46eb58
#binddn uid=sudo,cn=sysaccounts,cn=etc,dc=example,dc=com
46eb58
46eb58
## BINDPW secret
46eb58
##  The BINDPW parameter specifies the password to use when performing
46eb58
##  LDAP operations.  This is typically used in conjunction with the
46eb58
##  BINDDN parameter.
46eb58
##
46eb58
#bindpw secret
46eb58
46eb58
## SSL start_tls
46eb58
##  If the SSL parameter is set to start_tls, the LDAP server connec‐
46eb58
##  tion is initiated normally and TLS encryption is begun before the
46eb58
##  bind credentials are sent.  This has the advantage of not requiring
46eb58
##  a dedicated port for encrypted communications.  This parameter is
46eb58
##  only supported by LDAP servers that honor the start_tls extension,
46eb58
##  such as the OpenLDAP and Tivoli Directory servers.
46eb58
##
46eb58
#ssl start_tls
46eb58
46eb58
## TLS_CACERTFILE file name
46eb58
##  The path to a certificate authority bundle which contains the cer‐
46eb58
##  tificates for all the Certificate Authorities the client knows to
46eb58
##  be valid, e.g. /etc/ssl/ca-bundle.pem.  This option is only sup‐
46eb58
##  ported by the OpenLDAP libraries.  Netscape-derived LDAP libraries
46eb58
##  use the same certificate database for CA and client certificates
46eb58
##  (see TLS_CERT).
46eb58
##
46eb58
#tls_cacertfile /path/to/CA.crt
46eb58
46eb58
## TLS_CHECKPEER on/true/yes/off/false/no
46eb58
##  If enabled, TLS_CHECKPEER will cause the LDAP server's TLS certifi‐
46eb58
##  cated to be verified.  If the server's TLS certificate cannot be
46eb58
##  verified (usually because it is signed by an unknown certificate
46eb58
##  authority), sudo will be unable to connect to it.  If TLS_CHECKPEER
46eb58
##  is disabled, no check is made.  Note that disabling the check cre‐
46eb58
##  ates an opportunity for man-in-the-middle attacks since the
46eb58
##  server's identity will not be authenticated.  If possible, the CA's
46eb58
##  certificate should be installed locally so it can be verified.
46eb58
##  This option is not supported by the Tivoli Directory Server LDAP
46eb58
##  libraries.
46eb58
#tls_checkpeer yes
46eb58
46eb58
##
46eb58
## URI ldap[s]://[hostname[:port]] ...
46eb58
##  Specifies a whitespace-delimited list of one or more
46eb58
##  URIs describing the LDAP server(s) to connect to. 
46eb58
##
46eb58
#uri ldap://ldapserver
46eb58
46eb58
##
46eb58
## SUDOERS_BASE base
46eb58
##  The base DN to use when performing sudo LDAP queries.
46eb58
##  Multiple SUDOERS_BASE lines may be specified, in which
46eb58
##  case they are queried in the order specified.
46eb58
##
46eb58
#sudoers_base ou=SUDOers,dc=example,dc=com
46eb58
46eb58
##
46eb58
## BIND_TIMELIMIT seconds
46eb58
##  The BIND_TIMELIMIT parameter specifies the amount of
46eb58
##  time to wait while trying to connect to an LDAP server.
46eb58
##
46eb58
#bind_timelimit 30
46eb58
46eb58
##
46eb58
## TIMELIMIT seconds
46eb58
##  The TIMELIMIT parameter specifies the amount of time
46eb58
##  to wait for a response to an LDAP query.
46eb58
##
46eb58
#timelimit 30
46eb58
46eb58
##
46eb58
## SUDOERS_DEBUG debug_level
46eb58
##  This sets the debug level for sudo LDAP queries. Debugging
46eb58
##  information is printed to the standard error. A value of 1
46eb58
##  results in a moderate amount of debugging information.
46eb58
##  A value of 2 shows the results of the matches themselves.
46eb58
##
46eb58
#sudoers_debug 1