s3-samr: Fix Bug #5859, renaming of samr objects failed due to samr setuserinfo acces...
authorGünther Deschner <gd@samba.org>
Mon, 11 May 2009 16:45:46 +0000 (18:45 +0200)
committerGü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

index 17e111d4eac88391980b46feebbc988f1e66e6ac..b2503dce1d9728984b87990ef94b40765cfbd02c 100644 (file)
@@ -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: