diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2011-07-27 18:34:04 +0200 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2011-11-29 14:21:07 -0500 |
commit | 9b9c7f8caddf2b57adfbef8741651ee5063fa3bd (patch) | |
tree | 6c1a922399f85699ccb4cab84de606aaf553a6ce /src/providers/ldap/sdap_async.h | |
parent | 069a5fe72d38f8e15b4416992453ac41a425ce9a (diff) | |
download | sssd-9b9c7f8caddf2b57adfbef8741651ee5063fa3bd.tar.gz sssd-9b9c7f8caddf2b57adfbef8741651ee5063fa3bd.tar.bz2 sssd-9b9c7f8caddf2b57adfbef8741651ee5063fa3bd.zip |
Provide means of forcing TLS and GSSAPI enabled/disabled for sdap connections
Diffstat (limited to 'src/providers/ldap/sdap_async.h')
-rw-r--r-- | src/providers/ldap/sdap_async.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/providers/ldap/sdap_async.h b/src/providers/ldap/sdap_async.h index 5da2cff4..4ba2770c 100644 --- a/src/providers/ldap/sdap_async.h +++ b/src/providers/ldap/sdap_async.h @@ -131,12 +131,20 @@ int sdap_exop_modify_passwd_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx, enum sdap_result *result, char **user_error_msg); +enum connect_tls { + CON_TLS_DFL, + CON_TLS_ON, + CON_TLS_OFF +}; + struct tevent_req *sdap_cli_connect_send(TALLOC_CTX *memctx, struct tevent_context *ev, struct sdap_options *opts, struct be_ctx *be, struct sdap_service *service, - bool skip_rootdse); + bool skip_rootdse, + enum connect_tls force_tls, + bool skip_auth); int sdap_cli_connect_recv(struct tevent_req *req, TALLOC_CTX *memctx, bool *can_retry, |