summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/kdb/ldap/ldap_util/kdb5_ldap_services.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_services.c b/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_services.c
index e2c799a89..34b3dc8d0 100644
--- a/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_services.c
+++ b/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_services.c
@@ -235,7 +235,7 @@ void kdb5_ldap_create_service(argc, argv)
goto cleanup;
}
- dal_handle = (kdb5_dal_handle *) util_context->db_context;
+ dal_handle = util_context->dal_handle;
ldap_context = (krb5_ldap_context *) dal_handle->db_context;
/* Allocate memory for extra arguments to be used for setting
@@ -531,7 +531,7 @@ void kdb5_ldap_modify_service(argc, argv)
goto err_usage;
}
- dal_handle = (kdb5_dal_handle *) util_context->db_context;
+ dal_handle = util_context->dal_handle;
ldap_context = (krb5_ldap_context *) dal_handle->db_context;
/* Parse all arguments, only to pick up service DN (Pass 1) */
@@ -1561,7 +1561,7 @@ kdb5_ldap_set_service_password(argc, argv)
goto cleanup;
}
- dal_handle = (kdb5_dal_handle *)util_context->db_context;
+ dal_handle = util_context->dal_handle;
lparams = (krb5_ldap_context *) dal_handle->db_context;
if (lparams == NULL) {