Author: ekohl
Date: Mon Jun 10 19:27:45 2013
New Revision: 59203
URL:
http://svn.reactos.org/svn/reactos?rev=59203&view=rev
Log:
[USRMGR]
Enable the call to NetLocalGroupSetInfo. Now we can rename groups.
Modified:
trunk/reactos/dll/cpl/usrmgr/groups.c
Modified: trunk/reactos/dll/cpl/usrmgr/groups.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/usrmgr/groups.c?re…
==============================================================================
--- trunk/reactos/dll/cpl/usrmgr/groups.c [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/usrmgr/groups.c [iso-8859-1] Mon Jun 10 19:27:45 2013
@@ -338,7 +338,7 @@
{
TCHAR szOldGroupName[UNLEN];
TCHAR szNewGroupName[UNLEN];
- //LOCALGROUP_INFO_0 lgrpi0;
+ LOCALGROUP_INFO_0 lgrpi0;
NET_API_STATUS status;
/* Leave, if there is no valid listview item */
@@ -367,13 +367,9 @@
return FALSE;
/* Change the user name */
- //lgrpi0.lgrpi0_name = szNewGroupName;
-
-#if 0
+ lgrpi0.lgrpi0_name = szNewGroupName;
+
status = NetLocalGroupSetInfo(NULL, szOldGroupName, 0, (LPBYTE)&lgrpi0, NULL);
-#else
- status = NERR_Success;
-#endif
if (status != NERR_Success)
{
TCHAR szText[256];