Skip to content

Commit 71d7dc5

Browse files
author
wenge
committed
set default connectionPooling to false
Signed-off-by: wenge <[email protected]>
1 parent 124ca43 commit 71d7dc5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/resources/ldap_user_federation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ resource "keycloak_ldap_user_federation" "ldap_user_federation" {
7070
- `ONE_LEVEL`: Only search for users in the DN specified by `user_dn`.
7171
- `SUBTREE`: Search entire LDAP subtree.
7272
- `start_tls` - (Optional) When `true`, Keycloak will encrypt the connection to LDAP using STARTTLS, which will disable connection pooling.
73-
- `connection_pooling` - (Optional) When `true`, LDAP connection pooling is enabled. Defaults to `true`.
73+
- `connection_pooling` - (Optional) When `true`, LDAP connection pooling is enabled. Defaults to `false`.
7474
- `use_password_modify_extended_op` - (Optional) When `true`, use the LDAPv3 Password Modify Extended Operation (RFC-3062).
7575
- `validate_password_policy` - (Optional) When `true`, Keycloak will validate passwords using the realm policy before updating it.
7676
- `trust_email` - (Optional) If enabled, email provided by this provider is not verified even if verification is enabled for the realm.

provider/resource_keycloak_ldap_user_federation.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ func resourceKeycloakLdapUserFederation() *schema.Resource {
150150
"connection_pooling": {
151151
Type: schema.TypeBool,
152152
Optional: true,
153-
Default: true,
153+
Default: false,
154154
Description: "When true, Keycloak will use connection pooling when connecting to LDAP.",
155155
},
156156
"use_password_modify_extended_op": {

0 commit comments

Comments
 (0)