Minor README updates.

This commit is contained in:
Julien Fontanet 2015-04-21 17:48:26 +02:00
parent 37e5bcad61
commit e8e7a92131

View File

@ -26,16 +26,18 @@ plugins:
auth-ldap: auth-ldap:
uri: "ldap://ldap.example.org" uri: "ldap://ldap.example.org"
# Path to CA certificates to use when connecting to # Path to CA certificates to use when connecting to SSL-secured
# SSL-secured LDAP servers. If not specified, it will use # LDAP servers.
# a default set of well-known CAs. #
# If not specified, it will use a default set of well-known CAs.
certificateAuthorities: certificateAuthorities:
- /path/to/ca_cert.pem - /path/to/ca_cert.pem
- /path/to/another/ca_cert.pem - /path/to/another/ca_cert.pem
# Check the validity of the server's certificate. Useful # Check the validity of the server's certificate. Useful when
# when connecting to servers that use a self-signed certificate. # connecting to servers that use a self-signed certificate.
# Defaults to true if not specified. #
# Default to true
checkCertificate: true checkCertificate: true
# Credentials to use before looking for the user record. # Credentials to use before looking for the user record.
@ -47,7 +49,7 @@ plugins:
# directory for the user to authenticate. # directory for the user to authenticate.
# #
# For Microsoft Active Directory, it can also be # For Microsoft Active Directory, it can also be
# `'<user>@<domain>'` # '<user>@<domain>'
dn: 'cn=admin,ou=people,dc=example,dc=org' dn: 'cn=admin,ou=people,dc=example,dc=org'
# Password of the user permitted to search the LDAP directory. # Password of the user permitted to search the LDAP directory.
@ -59,10 +61,14 @@ plugins:
# Filter used to find the user. # Filter used to find the user.
# #
# For Microsoft Active Directory, the filter should be # For Microsoft Active Directory, you can try one of the following
# `'(cn={{name}})'` or `'(sAMAccountName={{name}}@<domain>)'`. # filters:
# #
# Default is `'(uid={{name}})'`. # - '(cn={{name}})'
# - '(sAMAccountName={{name}}@<domain>)'
# - '(userPrincipalName={{name}})'
#
# Default is '(uid={{name}})'
#filter: '(uid={{name}})' #filter: '(uid={{name}})'
``` ```