projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47f00db
)
[SAMLIB]
author
Eric Kohl
<eric.kohl@reactos.org>
Sat, 24 Aug 2013 20:22:05 +0000
(20:22 +0000)
committer
Eric Kohl
<eric.kohl@reactos.org>
Sat, 24 Aug 2013 20:22:05 +0000
(20:22 +0000)
NetUserSetInfo: Use the proper access rights to open the domain object.
svn path=/trunk/; revision=59812
reactos/dll/win32/netapi32/user.c
patch
|
blob
|
history
diff --git
a/reactos/dll/win32/netapi32/user.c
b/reactos/dll/win32/netapi32/user.c
index
3840b68
..
7213b86
100644
(file)
--- a/
reactos/dll/win32/netapi32/user.c
+++ b/
reactos/dll/win32/netapi32/user.c
@@
-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))
{