summaryrefslogtreecommitdiffstats
path: root/src/providers
diff options
context:
space:
mode:
Diffstat (limited to 'src/providers')
-rw-r--r--src/providers/ldap/sdap_child_helpers.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/providers/ldap/sdap_child_helpers.c b/src/providers/ldap/sdap_child_helpers.c
index eeb5e5f03..7a59a42ea 100644
--- a/src/providers/ldap/sdap_child_helpers.c
+++ b/src/providers/ldap/sdap_child_helpers.c
@@ -453,7 +453,6 @@ static errno_t set_tgt_child_timeout(struct tevent_req *req,
int setup_child(struct sdap_id_ctx *ctx)
{
int ret;
- const char *mech;
unsigned v;
FILE *debug_filep;
const char *realm;
@@ -463,26 +462,6 @@ int setup_child(struct sdap_id_ctx *ctx)
realm = dp_opt_get_string(ctx->opts->basic, SDAP_KRB5_REALM);
}
- mech = dp_opt_get_string(ctx->opts->basic,
- SDAP_SASL_MECH);
- if (!mech) {
- return EOK;
- }
-
- if (mech && (strcasecmp(mech, "GSSAPI") == 0)) {
- ret = sss_krb5_verify_keytab(dp_opt_get_string(ctx->opts->basic,
- SDAP_SASL_AUTHID),
- realm,
- dp_opt_get_string(ctx->opts->basic,
- SDAP_KRB5_KEYTAB));
-
- if (ret != EOK) {
- DEBUG(0, ("Could not verify keytab\n"));
- return ret;
- }
-
- }
-
if (debug_to_file != 0 && ldap_child_debug_fd == -1) {
ret = open_debug_file_ex("ldap_child", &debug_filep);
if (ret != EOK) {