summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/netapi/samr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/lib/netapi/samr.c b/source3/lib/netapi/samr.c
index 1c3a94ee9c..7b3d3c58e7 100644
--- a/source3/lib/netapi/samr.c
+++ b/source3/lib/netapi/samr.c
@@ -283,7 +283,7 @@ void libnetapi_samr_close_domain_handle(struct libnetapi_ctx *ctx,
priv = talloc_get_type_abort(ctx->private_data,
struct libnetapi_private_ctx);
- if (!policy_handle_equal(handle, &priv->samr.domain_handle)) {
+ if (!ndr_policy_handle_equal(handle, &priv->samr.domain_handle)) {
return;
}
@@ -311,7 +311,7 @@ void libnetapi_samr_close_builtin_handle(struct libnetapi_ctx *ctx,
priv = talloc_get_type_abort(ctx->private_data,
struct libnetapi_private_ctx);
- if (!policy_handle_equal(handle, &priv->samr.builtin_handle)) {
+ if (!ndr_policy_handle_equal(handle, &priv->samr.builtin_handle)) {
return;
}
@@ -339,7 +339,7 @@ void libnetapi_samr_close_connect_handle(struct libnetapi_ctx *ctx,
priv = talloc_get_type_abort(ctx->private_data,
struct libnetapi_private_ctx);
- if (!policy_handle_equal(handle, &priv->samr.connect_handle)) {
+ if (!ndr_policy_handle_equal(handle, &priv->samr.connect_handle)) {
return;
}