G Pas
This commit is contained in:
parent
803c2e952e
commit
82acecbfe8
1 changed files with 1 additions and 0 deletions
1
utils.go
1
utils.go
|
@ -14,6 +14,7 @@ func openLdap(config *ConfigFile) *ldap.Conn {
|
||||||
l, err := ldap.DialURL(config.LdapServerAddr)
|
l, err := ldap.DialURL(config.LdapServerAddr)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Printf(fmt.Sprint("Erreur connect LDAP %v", err))
|
log.Printf(fmt.Sprint("Erreur connect LDAP %v", err))
|
||||||
|
log.Printf(fmt.Sprint("Erreur connect LDAP %v", config.LdapServerAddr))
|
||||||
return nil
|
return nil
|
||||||
} else {
|
} else {
|
||||||
return l
|
return l
|
||||||
|
|
Loading…
Reference in a new issue