From cddcc2040204615052b2d6b0f2f13a6fb487e1e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20de=20CHAVIGNY?= Date: Sun, 4 Sep 2022 14:13:29 -0400 Subject: [PATCH] new ad ldap datasource with ldapts --- packages/server/src/integrations/adldap.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/server/src/integrations/adldap.ts b/packages/server/src/integrations/adldap.ts index e3ef70140..f246b1b93 100644 --- a/packages/server/src/integrations/adldap.ts +++ b/packages/server/src/integrations/adldap.ts @@ -157,7 +157,7 @@ module AdLdapModule { console.log("Client ldap Non connecté") } try { - await this.client.bind(this.config.bindDN, this.config.secret); + await this.client.bind(this.config.bindDN, this.config.secret) const { searchEntries, searchReferences } = await this.client.search(this.config.baseDN, { scope: 'sub', @@ -166,7 +166,7 @@ module AdLdapModule { } catch (ex) { throw ex; } finally { - await this.client.unbind(); + await this.client.unbind() } /*const response = await this.client.queryAttributes({ attributes: [`${query.bucket}`],