svn commit: samba r6642 - in branches/SAMBA_3_0/source/rpc_server: .

jerry at samba.org jerry at samba.org
Sat May 7 14:55:44 GMT 2005


Author: jerry
Date: 2005-05-07 14:55:44 +0000 (Sat, 07 May 2005)
New Revision: 6642

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=6642

Log:
BUG 2686: shouold fix the group_setinfo() failures; similar to alias_setinfo() patch from last week
Modified:
   branches/SAMBA_3_0/source/rpc_server/srv_samr_nt.c


Changeset:
Modified: branches/SAMBA_3_0/source/rpc_server/srv_samr_nt.c
===================================================================
--- branches/SAMBA_3_0/source/rpc_server/srv_samr_nt.c	2005-05-07 07:00:16 UTC (rev 6641)
+++ branches/SAMBA_3_0/source/rpc_server/srv_samr_nt.c	2005-05-07 14:55:44 UTC (rev 6642)
@@ -3780,6 +3780,11 @@
 	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;



More information about the samba-cvs mailing list