LDAP_parameters_PSMDB#1124
Conversation
|
Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
…mdb-docs into LDAP_parameters_PSMDB
| To configure LDAP authorization with the native LDAP authentication, see [Setting up LDAP authentication and authorization using NativeLDAP](ldap-setup.md). | ||
|
|
||
| *[DN]: Distinguished Name No newline at end of file | ||
| For details on available configuration options, refer to [LDAP parameters](ldap-parameters.md). No newline at end of file |
There was a problem hiding this comment.
@copilot apply changes based on this feedback
There was a problem hiding this comment.
Re-added in fa1ca22: the DN (Distinguished Name) abbreviation definition at the end of authorization.md.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Agent-Logs-Url: https://github.com/percona/psmdb-docs/sessions/d369ba41-d255-42a9-b450-9246ff0c220c Co-authored-by: rasika-chivate <95711051+rasika-chivate@users.noreply.github.com>
…mdb-docs into LDAP_parameters_PSMDB
radoslawszulgo
left a comment
There was a problem hiding this comment.
Rasika, please fix all my comments so far. And work with MongoDB upstream documentation to provide more comprhensive documentation for parameters. Especially care to what is the type of parameter (what format is expected), is it applicable to mongod and mongos or only mongod ? What's the minimum version required, what's the impact of the parameter.
reference:
| !!! note | ||
| Both parameters can be set at startup and at runtime using `setParameter`. | ||
|
|
||
| **Cache invalidation parameters** |
There was a problem hiding this comment.
shouldn't that be ## ?
|
|
||
| | Parameter | Required | Description | | ||
| | ------------------------------------------------------- | -------- | ---------------------------------------------------------------------------------------------------------------------------- | | ||
| | `ldapUseConnectionPool` | No | Enables/disables connection pooling. Default is OS dependent: `true` on Windows and specific Linux builds using `libldap_r`. | |
There was a problem hiding this comment.
We don't support Windows!
There was a problem hiding this comment.
Please clarify what's the default on what OS if possible.
|
|
||
| ### Connection pool | ||
|
|
||
| As of version 6.0.2-1, Percona Server for MongoDB always uses a connection pool to LDAP server to process bind requests. The connection pool is enabled by default. The default connection pool size is 2 connections. |
There was a problem hiding this comment.
| As of version 6.0.2-1, Percona Server for MongoDB always uses a connection pool to LDAP server to process bind requests. The connection pool is enabled by default. The default connection pool size is 2 connections. | |
| Percona Server for MongoDB always uses a connection pool to the LDAP server to process bind requests. The connection pool is enabled by default. The default connection pool size is 2 connections. |
| ldap: | ||
| mode: authzAndAuthn | ||
| setParameter: | ||
| # --- Connection Pool Settings (Startup Only) --- |
There was a problem hiding this comment.
I think that comment is not needed
|
|
||
|
|
||
| | **Parameter** | **Required** | **Description** | | ||
| | ----------------------------------- | ------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
There was a problem hiding this comment.
Why so many "-" dashes?
|
|
||
| ```{.javascript data-prompt=">"} | ||
| > db.adminCommand({ | ||
| ... setParameter: 1, |
There was a problem hiding this comment.
Please remove dots "..." they are not needed and prevent copying and pasting to the shell
| authorization: enabled | ||
| ldap: | ||
| mode: authzAndAuthn | ||
| # --- Performance & Retries --- |
Document the LDAP parameters for PSMDB.