From b860fe07d190d4c77cad0f6b496c436ec4c6d43e Mon Sep 17 00:00:00 2001 From: ravind Date: Tue, 21 Feb 2017 14:13:48 -0500 Subject: [PATCH] DOCS-9927: Typos in LDAP tutorial --- ...ps-configure-ldap-sasl-activedirectory-authentication.yaml | 4 ++-- source/tutorial/authenticate-nativeldap-activedirectory.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/source/includes/steps-configure-ldap-sasl-activedirectory-authentication.yaml b/source/includes/steps-configure-ldap-sasl-activedirectory-authentication.yaml index f4fd9ce7c88..bd7521c9907 100644 --- a/source/includes/steps-configure-ldap-sasl-activedirectory-authentication.yaml +++ b/source/includes/steps-configure-ldap-sasl-activedirectory-authentication.yaml @@ -167,7 +167,7 @@ pre: | Given the configured :setting:`~security.ldap.authz.queryTemplate`, users must authenticate with their full LDAP DN. If users instead authenticate using their ``userPrincipalName``, then a transformation - must be applied to conver the provided username to a full LDAP DN. + must be applied to convert the provided username to a full LDAP DN. The following :setting:`~security.ldap.userToDNMapping` configuration uses the ``match`` regular expression filter to capture the provided @@ -293,7 +293,7 @@ pre: | .. code-block:: shell - mongo --username sam@DBA.EXAMPLE.COM --password secret123 --authenticationMechanisms='PLAIN' --authenticationDatabase '$external' --host --port + mongo --username sam@DBA.EXAMPLE.COM --password secret123 --authenticationMechanisms PLAIN --authenticationDatabase $external --host --port :abbr:`Windows (Microsoft Windows)` MongoDB deployments must use :program:`mongo.exe` instead of :program:`mongo`. diff --git a/source/tutorial/authenticate-nativeldap-activedirectory.txt b/source/tutorial/authenticate-nativeldap-activedirectory.txt index 29564fa5866..db8643f111f 100644 --- a/source/tutorial/authenticate-nativeldap-activedirectory.txt +++ b/source/tutorial/authenticate-nativeldap-activedirectory.txt @@ -168,7 +168,7 @@ This procedure produces the following configuration file: userToDNMapping: '[ { - match: "(.+)" + match: "(.+)", ldapQuery: "DC=example,DC=com??sub?(userPrincipalName={0})" } ]'