Merge pull request #3627 from wansir/fix-3598

decoupling with Jenkins and LDAP
This commit is contained in:
KubeSphere CI Bot
2021-04-02 10:14:53 +08:00
committed by GitHub
7 changed files with 188 additions and 163 deletions

View File

@@ -171,8 +171,6 @@ func (l *ldapInterfaceImpl) newConn() (ldap.Client, error) {
if err != nil {
return nil, err
}
defer conn.Close()
err = conn.Bind(l.managerDN, l.managerPassword)
if err != nil {
return nil, err