diff --git a/server/src/infra/ldap_server.rs b/server/src/infra/ldap_server.rs index ec9e96f..63cb016 100644 --- a/server/src/infra/ldap_server.rs +++ b/server/src/infra/ldap_server.rs @@ -212,8 +212,12 @@ where config.ldaps_options.port ); server_builder.and_then(|s| { - s.bind("ldaps", (config.host.clone(), config.ldaps_options.port), tls_binder) - .with_context(|| format!("while binding to the port {}", config.ldaps_options.port)) + s.bind( + "ldaps", + (config.host.clone(), config.ldaps_options.port), + tls_binder, + ) + .with_context(|| format!("while binding to the port {}", config.ldaps_options.port)) }) } else { server_builder