diff options
author | Günther Deschner <gd@samba.org> | 2009-05-11 18:45:46 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-05-11 18:48:54 +0200 |
commit | 6d1e21bd1b38e8a3c7df3f7fdb8a17fcdd997d42 (patch) | |
tree | 9c01345005d3b023e9a510f28d85b74ca6d5cf55 /source3/rpc_server/srv_samr_nt.c | |
parent | 8a785a60475bc4bc537fecd57e72fa78eb9b8df2 (diff) | |
download | samba-6d1e21bd1b38e8a3c7df3f7fdb8a17fcdd997d42.tar.gz samba-6d1e21bd1b38e8a3c7df3f7fdb8a17fcdd997d42.tar.xz samba-6d1e21bd1b38e8a3c7df3f7fdb8a17fcdd997d42.zip |
s3-samr: Fix Bug #5859, renaming of samr objects failed due to samr setuserinfo access checks.
Torture test to follow...
Guenther
Diffstat (limited to 'source3/rpc_server/srv_samr_nt.c')
-rw-r--r-- | source3/rpc_server/srv_samr_nt.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/rpc_server/srv_samr_nt.c b/source3/rpc_server/srv_samr_nt.c index 17e111d4eac..b2503dce1d9 100644 --- a/source3/rpc_server/srv_samr_nt.c +++ b/source3/rpc_server/srv_samr_nt.c @@ -4673,6 +4673,9 @@ NTSTATUS _samr_SetUserInfo(pipes_struct *p, we'll use the set from the WinXP join as the basis. */ switch (switch_value) { + case 7: + acc_required = SAMR_USER_ACCESS_SET_ATTRIBUTES; + break; case 18: case 24: case 25: |