feat: unbind LDAP clients if not used any more

This commit is contained in:
Yang Luo
2023-12-02 17:51:25 +08:00
parent b25b5f0249
commit 85cb68eb66
4 changed files with 22 additions and 1 deletions

View File

@ -59,6 +59,7 @@ func (c *ApiController) GetLdapUsers() {
c.ResponseError(err.Error())
return
}
defer conn.Close()
//groupsMap, err := conn.GetLdapGroups(ldapServer.BaseDn)
//if err != nil {