From e6da188884588226b2c6a27f8a7efb7b291a85a0 Mon Sep 17 00:00:00 2001 From: Ed Date: Wed, 18 Mar 2020 22:42:13 -0400 Subject: [PATCH 1/4] Update README with new option --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 2aff153..f2cf2d1 100644 --- a/README.md +++ b/README.md @@ -60,6 +60,13 @@ The maximum number of pooled LDAP connections that will be maintained by the int > If you encounter the error "max waitingClients count exceeded" you will need to increase the maximum connection pool size. +### Disable Connection Pooling + +*Admin Only Setting* | *Changes Require Integration Restart* + +If checked, the integration will not use connection pooling. When connection pooling is disabled, each search request to the LDAP server will bind and unbind a new connection. If you disable connection pooling, this integration should be set to *On-Demand Only*. This option must be set to "Only admins can view and edit". This setting must be configured as an admin-only setting. + +> If you are encountering `ECONNRESET` or `ECONNREFUSED` errors after a short period of time (e.g., 15 minutes), please try disabling connection pooling (checking this option) ### Search Distinguished Name From 215c6cbc4434e426169626f05123365c57ce747e Mon Sep 17 00:00:00 2001 From: Ed Date: Wed, 18 Mar 2020 22:42:21 -0400 Subject: [PATCH 2/4] Reformat config file --- config/config.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/config/config.js b/config/config.js index c8df834..253c50c 100644 --- a/config/config.js +++ b/config/config.js @@ -135,8 +135,7 @@ module.exports = { }, { key: 'disableConnectionPooling', - name: - 'Disable Connection Pooling (Change Requires Integration Restart)', + name: 'Disable Connection Pooling (Change Requires Integration Restart)', description: 'If checked, the integration will not use connection pooling. When connection pooling is disabled, each search request to the LDAP server will bind and unbind a new connection. If you disable connection pooling, this integration should be set to On-Demand Only. This option must be set to "Only admins can view and edit". This setting must be configured as an admin-only setting.', default: false, From 4bf90030e32fbdca8a6677c5e438c317ffa9de55 Mon Sep 17 00:00:00 2001 From: Ed Date: Wed, 18 Mar 2020 22:43:56 -0400 Subject: [PATCH 3/4] README update --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f2cf2d1..043c809 100644 --- a/README.md +++ b/README.md @@ -64,7 +64,7 @@ The maximum number of pooled LDAP connections that will be maintained by the int *Admin Only Setting* | *Changes Require Integration Restart* -If checked, the integration will not use connection pooling. When connection pooling is disabled, each search request to the LDAP server will bind and unbind a new connection. If you disable connection pooling, this integration should be set to *On-Demand Only*. This option must be set to "Only admins can view and edit". This setting must be configured as an admin-only setting. +If checked, the integration will not use connection pooling. When connection pooling is disabled, each search request to the LDAP server will bind and unbind a new connection. If you disable connection pooling, this integration should be set to **On-Demand Only**. This option must be set to "Only admins can view and edit". This setting must be configured as an admin-only setting. > If you are encountering `ECONNRESET` or `ECONNREFUSED` errors after a short period of time (e.g., 15 minutes), please try disabling connection pooling (checking this option) From 06572b5c3f9659f23f650f5a729cff0e11791463 Mon Sep 17 00:00:00 2001 From: Ed Date: Wed, 18 Mar 2020 22:44:04 -0400 Subject: [PATCH 4/4] Bump to 3.4.1-beta --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 882a0bb..870f9fe 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "main": "./integration.js", "name": "LDAP", "description": "Polarity LDAP Integration", - "version": "3.4.0-beta", + "version": "3.4.1-beta", "license": "MIT", "author": "Polarity", "private": true,