From 0ca4ddc86d6c1e605e7a283167eb14359001e927 Mon Sep 17 00:00:00 2001 From: Chris Mann Date: Sun, 23 Jul 2023 14:23:21 +0200 Subject: [PATCH] G Pas --- invite.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/invite.go b/invite.go index 40c0a34..914cbd0 100644 --- a/invite.go +++ b/invite.go @@ -63,7 +63,9 @@ func openNewUserLdap(config *ConfigFile) (*ldap.Conn, error) { } err = l.Bind(config.NewUserDN, config.NewUserPassword) 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)) // data.ErrorMessage = err.Error() }