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 | |
parent | 8a785a60475bc4bc537fecd57e72fa78eb9b8df2 (diff) | |
download | samba-6d1e21bd1b38e8a3c7df3f7fdb8a17fcdd997d42.tar.gz samba-6d1e21bd1b38e8a3c7df3f7fdb8a17fcdd997d42.tar.bz2 samba-6d1e21bd1b38e8a3c7df3f7fdb8a17fcdd997d42.zip |
s3-samr: Fix Bug #5859, renaming of samr objects failed due to samr setuserinfo access checks.
Torture test to follow...
Guenther
-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 17e111d4ea..b2503dce1d 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: |