Author: ekohl Date: Sat Aug 24 20:22:05 2013 New Revision: 59812
URL: http://svn.reactos.org/svn/reactos?rev=59812&view=rev Log: [SAMLIB] NetUserSetInfo: Use the proper access rights to open the domain object.
Modified: trunk/reactos/dll/win32/netapi32/user.c
Modified: trunk/reactos/dll/win32/netapi32/user.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netapi32/user.c?r... ============================================================================== --- trunk/reactos/dll/win32/netapi32/user.c [iso-8859-1] (original) +++ trunk/reactos/dll/win32/netapi32/user.c [iso-8859-1] Sat Aug 24 20:22:05 2013 @@ -3644,7 +3644,7 @@ /* Open the Account Domain */ Status = OpenAccountDomain(ServerHandle, (servername != NULL) ? &ServerName : NULL, - DOMAIN_LIST_ACCOUNTS | DOMAIN_LOOKUP, + DOMAIN_LIST_ACCOUNTS | DOMAIN_LOOKUP | DOMAIN_READ_PASSWORD_PARAMETERS, &AccountDomainHandle); if (!NT_SUCCESS(Status)) {