Imports github.com/rancher/types/apis/management.cattle.io/v3 github.com/sirupsen/logrus gopkg.in/ldap.v2 github.com/rancher/norman/httperror github.com/pkg/errors k8s.io/apimachinery/pkg/apis/meta/v1 Standard library imports crypto/tls crypto/x509 fmt strconv strings time