// Open returns an authentication strategy using LDAP. func (c *Config) Open(logger logrus.FieldLogger) (connector.Connector, error) { conn, err := c.OpenConnector(logger) if err != nil { return nil, err } return connector.Connector(conn), nil }
// Open returns an authentication strategy using LDAP. func (c *Config) Open() (connector.Connector, error) { conn, err := c.OpenConnector() if err != nil { return nil, err } return connector.Connector(conn), nil }