diff options
-rw-r--r-- | source3/rpc_server/srv_samr_nt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_samr_nt.c b/source3/rpc_server/srv_samr_nt.c index a429c00890..7e55282384 100644 --- a/source3/rpc_server/srv_samr_nt.c +++ b/source3/rpc_server/srv_samr_nt.c @@ -6182,7 +6182,7 @@ NTSTATUS _samr_RemoveMemberFromForeignDomain(pipes_struct *p, /* Find the policy handle. Open a policy on it. */ dinfo = policy_handle_find(p, r->in.domain_handle, - STD_RIGHT_DELETE_ACCESS, NULL, + SAMR_DOMAIN_ACCESS_OPEN_ACCOUNT, NULL, struct samr_domain_info, &result); if (!NT_STATUS_IS_OK(result)) { return result; |