diff options
author | Günther Deschner <gd@samba.org> | 2009-05-15 20:05:30 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-05-15 21:18:23 +0200 |
commit | 4027fde97c0f7fdc7b5c157c82d5563de6f47be2 (patch) | |
tree | 92f5c7fd11343b4825e206b5b47f22f1e96d791a | |
parent | 7d85bf2a4250942f4cbadc0d0bd0903388a15e47 (diff) | |
download | samba-4027fde97c0f7fdc7b5c157c82d5563de6f47be2.tar.gz samba-4027fde97c0f7fdc7b5c157c82d5563de6f47be2.tar.bz2 samba-4027fde97c0f7fdc7b5c157c82d5563de6f47be2.zip |
s3-samr: Fix samr access checks in _samr_RemoveMemberFromForeignDomain().
Guenther
-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; |