implement method to close the ldap connection

dev
5amu 2024-01-21 19:50:33 +01:00
parent 2019dab187
commit 2f926c4f72
1 changed files with 4 additions and 0 deletions

View File

@ -201,3 +201,7 @@ func (c *LdapClient) CollectMetadata(domain string, controller string) (Metadata
}
return metadata, nil
}
func (c *LdapClient) Close() {
c.Conn.Close()
}