summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-05-07 14:55:44 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:56:49 -0500
commit03377b2a21af510da78a964b125ebceba13f2bb1 (patch)
tree4e788cef01d2aedf1bac3d1162e3f9d405e15b78 /source3
parent55739e9f860a2a8f27a99fc2f79905a8ed143fee (diff)
downloadsamba-03377b2a21af510da78a964b125ebceba13f2bb1.tar.gz
samba-03377b2a21af510da78a964b125ebceba13f2bb1.tar.bz2
samba-03377b2a21af510da78a964b125ebceba13f2bb1.zip
r6642: BUG 2686: shouold fix the group_setinfo() failures; similar to alias_setinfo() patch from last week
(This used to be commit 611cca473ef6c50aeeda79c323f55e8e3402b1b1)
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_server/srv_samr_nt.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/rpc_server/srv_samr_nt.c b/source3/rpc_server/srv_samr_nt.c
index 54012d57a9..69298bcd5d 100644
--- a/source3/rpc_server/srv_samr_nt.c
+++ b/source3/rpc_server/srv_samr_nt.c
@@ -3780,6 +3780,11 @@ NTSTATUS _samr_create_dom_group(pipes_struct *p, SAMR_Q_CREATE_DOM_GROUP *q_u, S
if ((info = get_samr_info_by_sid(&info_sid)) == NULL)
return NT_STATUS_NO_MEMORY;
+
+ /* they created it; let the user do what he wants with it */
+
+ info->acc_granted = GENERIC_RIGHTS_GROUP_ALL_ACCESS;
+
/* get a (unique) handle. open a policy on it. */
if (!create_policy_hnd(p, &r_u->pol, free_samr_info, (void *)info))
return NT_STATUS_OBJECT_NAME_NOT_FOUND;