This commit is contained in:
Chris Mann 2023-07-23 14:23:21 +02:00
parent ea5528933c
commit 0ca4ddc86d

View file

@ -63,7 +63,9 @@ 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", err))
log.Printf(fmt.Sprintf("openNewUserLdap 2 : %v", config.NewUserDN))
log.Printf(fmt.Sprintf("openNewUserLdap 2 : %v", config.NewUserPassword))
log.Printf(fmt.Sprintf("openNewUserLdap 2 : %v", config)) log.Printf(fmt.Sprintf("openNewUserLdap 2 : %v", config))
// data.ErrorMessage = err.Error() // data.ErrorMessage = err.Error()
} }