Missed some changes for db_context->dal_handle renaming
authorKen Raeburn <raeburn@mit.edu>
Mon, 22 Sep 2008 16:01:03 +0000 (16:01 +0000)
committerKen Raeburn <raeburn@mit.edu>
Mon, 22 Sep 2008 16:01:03 +0000 (16:01 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20742 dc483132-0cff-0310-8789-dd5450dbe970

src/plugins/kdb/ldap/ldap_util/kdb5_ldap_services.c

index e2c799a89f0f876ad54741eba3767e6fb2bb58c2..34b3dc8d0a7549466272ecb13abcd77f8cdee8c7 100644 (file)
@@ -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) {