mirror of
https://github.com/reactos/reactos.git
synced 2024-10-06 01:13:38 +00:00
[SAMLIB]
NetUserSetInfo: Use the proper access rights to open the domain object. svn path=/trunk/; revision=59812
This commit is contained in:
parent
47f00dba5f
commit
4c96bd997e
|
@ -3644,7 +3644,7 @@ NetUserSetInfo(LPCWSTR servername,
|
|||
/* 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))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue