G Pas
This commit is contained in:
parent
ea5528933c
commit
0ca4ddc86d
1 changed files with 3 additions and 1 deletions
|
@ -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()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue