Skip to content

Commit

Permalink
lib-ldap: Do not create new context and lose settings
Browse files Browse the repository at this point in the history
  • Loading branch information
cmouse authored and sirainen committed May 19, 2016
1 parent 015c15f commit 3a02e96
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib-ldap/ldap-connection.c
Expand Up @@ -88,6 +88,9 @@ int ldap_connection_setup(struct ldap_connection *conn, const char **error_r)

ldap_set_option(conn->conn, LDAP_OPT_REFERRALS, 0);

opt = 0;
ldap_set_option(conn->conn, LDAP_OPT_X_TLS_NEWCTX, &opt);

return 0;
}

Expand Down

0 comments on commit 3a02e96

Please sign in to comment.