Alexandre Julliard
1938ddc651
netapi32: Use standard dlopen() instead of the libwine wrappers.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-07 14:26:19 +02:00
Dmitry Timoshkov
510bea7692
netapi32: Implement DsGetDcNameW.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-11 22:58:16 +01:00
Zebediah Figura
8341b51bf6
netapi32/tests: Fix the size passed to GetUserNameW() and GetComputerNameW() (Coverity).
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-13 15:59:21 +01:00
Zebediah Figura
e480fa87ad
netapi32/tests: Remove some workarounds for no longer supported versions of Windows.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-09 22:50:49 +01:00
Zebediah Figura
cc5e52ea52
netapi32/tests: Use wide character string constants.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-09 22:50:48 +01:00
Zebediah Figura
f9bc81c448
netapi32/tests: Rewrite UNC/HTTP conversion tests.
...
Windows 1709 changed the algorithm to be far more restrictive. Treat those
results as correct and older versions as broken.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-09 22:50:48 +01:00
Alexandre Julliard
ddac3dccc8
netapi32: Use strncmpiW instead of memicmpW for strings without embedded nulls.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-08 08:34:19 -05:00
Alex Henrie
5ceb740793
netapi32: Make constant 'admins' static.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-30 19:36:51 +01:00
Michael Stefaniuc
2f4f1399d1
netapi32: Use the ARRAY_SIZE() macro.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-09 22:21:29 +02:00
Michael Stefaniuc
55ef1f4d92
netapi32/tests: Use the available ARRAY_SIZE() macro.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-06 11:11:25 +02:00
Alistair Leslie-Hughes
07e41e4c9b
netapi32: Add DsEnumerateDomainTrustsA/W stubs.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-30 10:42:46 +02:00
Dmitry Timoshkov
67968b8805
netapi32: Properly implement NetApiBufferFree.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-09 19:55:08 +02:00
Dmitry Timoshkov
586a622813
netapi32: Implement NetScheduleJobGetInfo.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-09 19:55:05 +02:00
Dmitry Timoshkov
fb9a4a6725
netapi32: Implement NetScheduleJobEnum.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-09 19:55:00 +02:00
Dmitry Timoshkov
0ddcd1bb58
netapi32: Implement NetScheduleJobDel.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-09 19:54:30 +02:00
Dmitry Timoshkov
5ce26d11de
netapi32: Implement NetScheduleJobAdd.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-09 19:54:27 +02:00
Alex Henrie
fb3c1da6ba
netapi32/tests: Print NetWkstaTransportEnum error code on test failure.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-20 18:06:17 +01:00
Hans Leidekker
83af2eec50
netapi32/tests: Fix a test failure on Windows 7.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-04 14:10:10 +01:00
Hans Leidekker
199b0bf84e
netapi32: Implement DavGetUNCFromHTTPPath.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-24 11:02:15 +02:00
Thomas Faber
f53b2588af
netapi32: Avoid buffer overrun in NetBTNameEncode.
...
Signed-off-by: Thomas Faber <thomas.faber@reactos.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-05 23:22:05 +09:00
Gerald Pfeifer
a818d5cab2
netapi32: Avoid shift overflow for GENERIC_READ_ACCESS and friends. friends.
2015-09-14 16:47:51 +09:00
Thomas Faber
7164fde439
netapi32: Correctly reallocate buffer in NetWkstaUserGetInfo.
2015-09-01 21:11:34 +09:00
Hans Leidekker
2e9a2d8062
netapi32: Implement DavGetHTTPFromUNCPath.
2015-07-28 09:53:15 +02:00
Stefan Leichter
11af7fda4f
netapi: Add stub for NetGroupAddUser.
2015-04-22 14:01:07 +09:00
Bruno Jesus
4eff187961
netapi32: Better stub NetStatisticsGet().
2015-04-07 15:12:17 +09:00
Bruno Jesus
ea2507f461
netapi32: Return an empty comment instead of NULL pointer in NetServerGetInfo.
2015-03-23 16:22:23 +09:00
Bruno Jesus
1fa2986d00
netapi32/tests: Fix a memory leak (Valgrind).
2015-03-23 16:21:04 +09:00
Hans Leidekker
df5b8e417f
netapi32: Add support for info level 20 in NetUserEnum.
2015-03-17 00:19:54 +09:00
Hans Leidekker
56ff1cc76a
netapi32: Add a partial implementation of NetUserEnum.
2015-02-16 23:28:39 +09:00
Michael Stefaniuc
7883bb072b
netapi32: Remove always true conditional expression (PVS-Studio).
2015-01-07 23:48:20 +01:00
Qian Hong
8c60161148
netapi32: Add stub for NetScheduleJobDel.
2014-03-21 13:59:23 +01:00
Alexandre Julliard
99ef0d6ff0
makefiles: Get rid of the MAKE_TEST_RULES variable.
2014-01-02 12:13:16 +01:00
Alexandre Julliard
5e7416e5c8
makefiles: Get rid of the MAKE_DLL_RULES variable.
2014-01-02 12:08:18 +01:00
Francois Gouget
8b5ec5bb49
netapi32: Make access_mask_to_samba() static.
2013-12-09 11:43:38 +01:00
Marcus Meissner
0ef0f7bb0a
netapi32: Added missing breaks (Coverity).
2013-11-25 15:15:52 +01:00
Hans Leidekker
466f435a3c
netapi32: The last parameter to Samba's NetShareAdd is not optional.
2013-11-20 11:28:59 +01:00
Hans Leidekker
d9723d2bed
netapi32: Add support for info level 502 in NetShareAdd.
2013-11-20 11:28:51 +01:00
Hans Leidekker
499eed087e
netapi32: Add helpers to initialize and destroy a libnetapi context.
2013-11-20 11:28:42 +01:00
Francois Gouget
19d8c27d12
netapi32: Remove WINAPI on static functions where not needed.
2013-11-20 11:27:57 +01:00
Hans Leidekker
8f200ea9f8
netapi32: Add support for remote computers in NetShareDel.
2013-11-13 18:30:26 +01:00
Hans Leidekker
461eaca8a7
netapi32: Add support for remote computers in NetShareAdd.
2013-11-13 18:30:21 +01:00
Hans Leidekker
f3c78b1ba7
netapi32: Add support for remote computers in NetWkstaGetInfo.
2013-11-13 18:30:16 +01:00
Frédéric Delanoy
b7dc002158
netapi32/tests: Use BOOL type where appropriate.
2013-11-13 11:21:57 +01:00
Hans Leidekker
eaef76f041
netapi32: Add support for remote computers in NetServerGetInfo.
2013-11-12 12:58:04 +01:00
Hans Leidekker
65d12829b6
netapi32: Perform a case-insensitive string comparison in NETAPI_IsLocalComputer.
2013-11-12 12:58:04 +01:00
Hans Leidekker
edbf3ac0ee
netapi32: Merge local_group.c into netapi32.c.
2013-11-12 12:58:04 +01:00
Hans Leidekker
192cc0aca4
netapi32: Merge ds.c into netapi32.c.
2013-11-12 12:58:04 +01:00
Hans Leidekker
01fb3a1b90
netapi32: Merge browsr.c into netapi32.c.
2013-11-12 12:58:04 +01:00
Hans Leidekker
97bc30ae19
netapi32: Merge access.c into netapi32.c.
2013-11-12 12:58:04 +01:00
Hans Leidekker
cf597a7603
netapi32: Merge wksta.c into netapi32.c.
2013-11-12 12:58:04 +01:00