Skip to content

DOCS-9927: Typos in LDAP tutorial #2845

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -293,7 +293,7 @@ pre: |

.. code-block:: shell

mongo --username [email protected] --password secret123 --authenticationMechanisms='PLAIN' --authenticationDatabase '$external' --host <hostname> --port <port>
mongo --username [email protected] --password secret123 --authenticationMechanisms PLAIN --authenticationDatabase $external --host <hostname> --port <port>

:abbr:`Windows (Microsoft Windows)` MongoDB deployments must use
:program:`mongo.exe` instead of :program:`mongo`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ This procedure produces the following configuration file:
userToDNMapping:
'[
{
match: "(.+)"
match: "(.+)",
ldapQuery: "DC=example,DC=com??sub?(userPrincipalName={0})"
}
]'
Expand Down