diff options
author | Jeremy Allison <jra@samba.org> | 2008-12-10 15:20:06 -0800 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2008-12-11 10:27:19 +0100 |
commit | dc787ff4e3d00b9bee98d62f43f6abc032cf52b0 (patch) | |
tree | 13f960310ff402c04663ad7223116ce13b1752ce | |
parent | 8512b4bde5a315dfccabbeb1a3938f4eace63336 (diff) | |
download | samba-dc787ff4e3d00b9bee98d62f43f6abc032cf52b0.tar.gz |
Fix usrmgr opening a user object as non-root.
Jeremy.
(cherry picked from commit 6a4b0683e05ecc0bf57a1601c741582576f31b23)
-rw-r--r-- | source/rpc_server/srv_samr_nt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/rpc_server/srv_samr_nt.c b/source/rpc_server/srv_samr_nt.c index d807f3a2af1..4ee3ed6dd55 100644 --- a/source/rpc_server/srv_samr_nt.c +++ b/source/rpc_server/srv_samr_nt.c @@ -2710,7 +2710,7 @@ NTSTATUS _samr_QueryUserInfo(pipes_struct *p, return NT_STATUS_INVALID_HANDLE; status = access_check_samr_function(info->acc_granted, - SAMR_DOMAIN_ACCESS_OPEN_ACCOUNT, + SAMR_USER_ACCESS_GET_ATTRIBUTES, "_samr_QueryUserInfo"); if (!NT_STATUS_IS_OK(status)) { return status; |