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)
|
||||
if err != nil {
|
||||
log.Printf(fmt.Sprint("Erreur connect LDAP %v", err))
|
||||
log.Printf(fmt.Sprint("Erreur connect LDAP %v", config.LdapServerAddr))
|
||||
return nil
|
||||
} else {
|
||||
return l
|
||||
|
|
Loading…
Reference in a new issue