summaryrefslogtreecommitdiffstats
path: root/src/providers/ldap/sdap_id_op.c
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2011-07-27 18:34:04 +0200
committerStephen Gallagher <sgallagh@redhat.com>2011-11-29 14:21:07 -0500
commit9b9c7f8caddf2b57adfbef8741651ee5063fa3bd (patch)
tree6c1a922399f85699ccb4cab84de606aaf553a6ce /src/providers/ldap/sdap_id_op.c
parent069a5fe72d38f8e15b4416992453ac41a425ce9a (diff)
downloadsssd-9b9c7f8caddf2b57adfbef8741651ee5063fa3bd.tar.gz
sssd-9b9c7f8caddf2b57adfbef8741651ee5063fa3bd.tar.xz
sssd-9b9c7f8caddf2b57adfbef8741651ee5063fa3bd.zip
Provide means of forcing TLS and GSSAPI enabled/disabled for sdap connections
Diffstat (limited to 'src/providers/ldap/sdap_id_op.c')
-rw-r--r--src/providers/ldap/sdap_id_op.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/providers/ldap/sdap_id_op.c b/src/providers/ldap/sdap_id_op.c
index 11a379cc9..5087cddc6 100644
--- a/src/providers/ldap/sdap_id_op.c
+++ b/src/providers/ldap/sdap_id_op.c
@@ -465,7 +465,9 @@ static int sdap_id_op_connect_step(struct tevent_req *req)
subreq = sdap_cli_connect_send(conn_data, state->ev,
state->id_ctx->opts,
state->id_ctx->be,
- state->id_ctx->service, false);
+ state->id_ctx->service, false,
+ CON_TLS_DFL, false);
+
if (!subreq) {
ret = ENOMEM;
goto done;