Signed-off-by: abhishek kumar gupta <abhishekguptaatweb17@gmail.com>
This commit is contained in:
abhishek kumar gupta 2024-07-18 09:12:00 +00:00 committed by abhishek818
parent b95b9a8597
commit 67235999db

View File

@ -127,7 +127,6 @@ func dial(source *Source) (*ldap.Conn, error) {
if source.SecurityProtocol == SecurityProtocolLDAPS {
conn, err := ldap.DialTLS("tcp", net.JoinHostPort(host, strconv.Itoa(source.Port)), tlsConfig)
if err != nil {
// Connection failed, try again with the next host.
log.Trace("error during Dial for host %s: %w", host, err)