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