git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a785a6
)
s3-samr: Fix Bug #5859, renaming of samr objects failed due to samr setuserinfo acces...
author
Günther Deschner
<gd@samba.org>
Mon, 11 May 2009 16:45:46 +0000
(18:45 +0200)
committer
Günther Deschner
<gd@samba.org>
Mon, 11 May 2009 16:48:54 +0000
(18:48 +0200)
Torture test to follow...
Guenther
source3/rpc_server/srv_samr_nt.c
patch
|
blob
|
history
diff --git
a/source3/rpc_server/srv_samr_nt.c
b/source3/rpc_server/srv_samr_nt.c
index 17e111d4eac88391980b46feebbc988f1e66e6ac..b2503dce1d9728984b87990ef94b40765cfbd02c 100644
(file)
--- 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: