This commit is contained in:
Chris Mann 2023-07-23 14:19:23 +02:00
parent 208e04e345
commit ea5528933c

View file

@ -64,6 +64,7 @@ func openNewUserLdap(config *ConfigFile) (*ldap.Conn, error) {
err = l.Bind(config.NewUserDN, config.NewUserPassword) err = l.Bind(config.NewUserDN, config.NewUserPassword)
if err != nil { if err != nil {
log.Printf(fmt.Sprintf("openNewUserLdap 2 : %v %v", err, l)) log.Printf(fmt.Sprintf("openNewUserLdap 2 : %v %v", err, l))
log.Printf(fmt.Sprintf("openNewUserLdap 2 : %v", config))
// data.ErrorMessage = err.Error() // data.ErrorMessage = err.Error()
} }
return l, err return l, err