Commit Graph

76 Commits

Author SHA1 Message Date
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
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
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
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
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
Qian Hong 8c60161148 netapi32: Add stub for NetScheduleJobDel. 2014-03-21 13:59:23 +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
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
Hans Leidekker eb8264bac3 netapi32: Merge share.c into netapi32.c. 2013-11-12 12:58:04 +01:00
Hans Leidekker a746b826f4 netapi32: Merge apibuf.c into netapi32.c. 2013-11-12 12:58:04 +01:00
Hans Leidekker fe3669e823 netapi32: Move NetBios functions to netbios.c. 2013-11-12 12:58:03 +01:00
Alexandre Julliard 670c621414 netapi32: Don't bother to clean up at process exit. 2013-05-17 12:29:08 +02:00
Andrew Talbot 9205f02ac5 netapi32: Remove unused variable. 2012-11-28 20:14:41 +01:00
Chae Jong Bin ecdd6c58c5 netapi32: Add stub for NetScheduleJobAdd. 2012-09-04 16:15:48 +02:00
Michael Stefaniuc 04121b3e02 netapi32: Print the debug string and not the pointer to it. 2012-03-26 18:15:26 +02:00
Austin English bf8d9cb707 netapi32: Add a stub for NetUseGetInfo. 2011-11-28 16:40:47 +01:00
Louis Lenders a9b473fa83 netapi32: Add stub for NetScheduleJobEnum. 2011-10-08 17:36:36 +02:00
André Hentschel ae3e768a2e netapi32: Add stub implementation for NetServerDiskEnum. 2011-02-07 13:07:58 -06:00
Jason Edmeades c6be6a4bfe netapi31: Add basic support for NetServerGetInfo.
Based on code from NetWkstaGetInfo, and retrieves the basic system
information. Note the 'type' field is a little generic as there is
currently no concept of domain controllers, servers or workstation
so I used the most accurate value I could.
2010-01-18 14:38:14 +01:00
Juan Lang 45ae94dddc netapi32: Improve a trace. 2009-10-12 12:13:24 +02:00
Tim Schwartz db994bf6ed netapi32: Add stub for NetUseEnum(). 2007-10-31 12:39:54 +01:00
Francois Gouget 9fae03b39b netapi32: Add some missing prototypes in the lmaccess.h, lmshare.h and lmwksta.h headers.
Replace LPWC?STR with LMC?STR to better match the PSDK.
2007-08-08 15:32:03 +02:00
Andrew Talbot 9d70a6ee2c netapi32: Declare a variable static. 2007-01-17 11:23:18 +01:00