Commit Graph

286 Commits

Author SHA1 Message Date
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
Marcus Meissner f014487f9e netapi32: Check for GetUserNameW return (Coverity). 2011-09-07 18:13:30 +02:00
Andrew Talbot 18549f3357 netapi32: Fix to prevent access beyond nul terminator. 2011-08-23 16:53:53 +02:00
Alexandre Julliard bc8a2b1fb9 netapi32/tests: Don't crash if the administrators group is missing. 2011-07-15 09:59:26 +02:00
Lauri Kenttä 46328eff5e netapi32: Fix h_addr_list handling. 2011-07-01 17:31:05 +02:00
Austin English 94ae7ebdaa netapi32: Add a stub for DsGetSiteNameA. 2011-06-17 11:01:53 +02:00
Louis Lenders 6f08c7e979 netapi32/tests: Add small conformance test for NetGetJoinInformation. 2011-06-10 15:25:46 +02:00
Louis Lenders ed28cab624 netapi32: Improve stubbed NetGetJoinInformation function. 2011-06-10 15:24:56 +02:00
Louis Lenders de2c401527 netapi32/tests: Add small conformance test for NetLocalGroupGetInfo and LocalGroupGetMembers. 2011-06-08 17:30:51 +02:00
Louis Lenders 4680f63939 netapi32: Fill the data buffer with something useful in NetLocalGroupGetInfo. 2011-06-08 17:30:46 +02:00
Marcus Meissner d6c0dec158 netapi32: Mark internal symbols with hidden visibility. 2011-05-23 11:14:17 +02:00
Hans Leidekker e572dca4cc netapi32: Try running the smbpasswd tool in NetUserChangePassword. 2011-03-01 15:22:42 +01:00
André Hentschel ae3e768a2e netapi32: Add stub implementation for NetServerDiskEnum. 2011-02-07 13:07:58 -06:00
André Hentschel 01ae887ebe netapi32: Add stub implementation for NetUseDel. 2011-02-07 13:07:55 -06:00
Alexandre Julliard 7c2de56ccd netapi32/tests: Make some variables static. 2010-10-01 13:36:54 +02:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Alexandre Julliard 6164ce2d82 makefiles: Use the standard C_SRCS variable as the list of test files.
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01: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
Hans Leidekker d81f9006de netapi32/tests: Fix a memory leak.
Found by Valgrind.
2009-12-07 14:18:29 +01:00
Rob Shearman 0450235db4 netapi32: Fix off-by-one errors in ACCESS_QueryAdminDisplayInformation and ACCESS_QueryGuestDisplayInformation. 2009-12-07 09:32:17 +01:00
Paul Vriens 0b8ae46836 netapi32/tests: Fix a test failure on Win7. 2009-11-20 11:40:31 +01:00
Kai Blin a61044b675 netapi32: Implement NetUserGetGroups stub. 2009-11-09 19:37:52 +01:00
Alexandre Julliard 5b5054c10e netapi32/tests: Don't try to get the size of a freed buffer. 2009-10-19 16:06:07 +02:00
Paul Chitescu b462e34cf8 netapi32: Add stub for NetFileEnum(). 2009-10-14 15:09:53 +02:00
Jeffrey Morlan d5f2172c09 netapi32: Fix heap buffer overflows. 2009-10-12 12:33:31 +02:00
Juan Lang 45ae94dddc netapi32: Improve a trace. 2009-10-12 12:13:24 +02:00
Gerald Pfeifer 4dedab6152 netapi32: Remove two conditions which always hold true. 2009-09-22 18:52:07 +02:00
Austin English ba151944b4 netapi32: Add a stub for NetGroupGetInfo. 2009-09-08 13:07:20 +02:00
Ge van Geldorp 675799daf8 netapi32/tests: Add acceptable error codes for Win7. 2009-08-28 16:48:33 +02:00
Ge van Geldorp 1b0648229d netapi32/tests: Fix tests on Win7. 2009-08-24 16:41:17 +02:00
Michael Stefaniuc a8510589c3 netapi32: Remove superfluous pointer casts. 2009-03-05 13:24:49 +01:00
Francois Gouget 49de63595a netapi32/tests: Use win_skip() to skip over unimplemented functionality. 2009-02-23 12:21:37 +01:00
Juan Lang c233fd5796 netapi32: Fix tests on systems with reduced privilege. 2009-02-13 12:59:30 +01:00
Andrew Talbot e2eaface45 netapi32: Remove unused functions. 2009-02-06 13:04:06 +01:00
Juan Lang f356c8e46d netapi32: Remove unused define. 2009-01-21 11:18:00 +01:00
Andrew Talbot 05c283246c netapi32: Fix some limits and bounds checking. 2009-01-20 12:23:24 +01:00
Francois Gouget 9d69e41501 netapi32: Remove unneeded casts of zero. 2008-12-08 12:05:44 +01:00
Juan Lang 9f8ae26c13 netapi32: Fix dead stores. 2008-11-19 14:22:11 +01:00
Michael Stefaniuc df4cb76100 netapi32/tests: Do not cast NULL. 2008-11-03 13:41:12 +01:00
Vitaly Perov 8d1d6a2822 netapi32: Add stub for NetShareAdd. 2008-10-31 13:27:34 +01:00
Vitaly Perov 38815e1c89 netapi32: Add stub for NetShareGetInfo. 2008-10-29 15:33:14 +01:00
Marcus Meissner 0025eaefab netapi32: Fixed buffer sizes to GetUserNameW and GetComputerNameW. 2008-10-27 11:28:22 +01:00
Nicolas Le Cam 7526b88013 netapi32/tests: Fix a failing test on localized Windows. 2008-10-18 19:29:43 +02:00
Nicolas Le Cam 6a7017e41f netapi32: Fix well known account RIDs in NetQueryDisplayInformation Level 1. 2008-10-18 19:29:33 +02:00
Nicolas Le Cam 72d764f60e netapi32/tests: Add a test for well known account RIDs. 2008-10-18 19:29:24 +02:00
Alexander Nicolaysen Sørnes 39894c2423 netapi32: Improve NetUserGetLocalGroups stub.
Report the user as member of the admins group.
2008-09-23 15:41:58 +02:00
James Hawkins fc3019ac99 netapi32: Fix two failing tests in NT4. 2008-09-03 14:21:42 +02:00
Paul Vriens d8339f2eed netapi32/tests: Fix the error text. 2008-08-27 14:19:27 +02:00
Vladimir Pankratov ae71af004b netapi32: Add stub for NetGroupEnum. 2008-07-31 13:43:14 +02:00
Vladimir Pankratov ee120e01c9 netapi32: Add stub for NetWkstaUserEnum. 2008-07-30 15:25:47 +02:00
Kai Blin 20213e49f2 netapi32: Make sure NetUserGetInfo can find the current user. 2008-07-03 11:50:51 +02:00
Kai Blin ce81d843c6 netapi32: Don't test NetUserChangePassword for now. 2008-06-27 12:31:57 +02:00
Kai Blin ac7511b9fa netapi32: Remove double free test from apibuf tests. 2008-06-27 12:26:11 +02:00
Kai Blin 2d02cb056d netapi32: tests/access: Don't clutter up standalone Windows boxes.
On Windows XP (and newer), calling NetUserChangePassword with a NULL
domainname parameter creates a user home directory, iff the machine is
not member of a domain.  As we don't want to clutter up the folder
containing the home directories, specify \\127.0.0.1 as domainname to
access the local samdb.
2008-06-25 10:44:03 +02:00
Huw Davies 09c0bf20a1 netapi32: Free the correct pointers. 2008-06-20 11:19:25 +02:00
Francois Gouget 7857cf3dc7 A couple of spelling fixes. 2008-06-18 16:48:29 +02:00
Alistair Leslie-Hughes 4ece5deeef netapi32: Fix tests when the machine is on DOMAIN. 2008-05-28 11:46:03 +02:00
Maarten Lankhorst a61ef431b8 netapi32: Fix test crash occuring when NetWkstaUserGetInfo fails. 2008-05-06 11:25:37 +02:00
Maarten Lankhorst a2d53016b5 netapi32: Make the tests pass under XP that enforces a strict password policy. 2008-05-05 21:19:44 +02:00
Andrew Talbot 34480aef09 netapi32: Remove unused variable. 2008-04-23 12:23:33 +02:00
Austin English 05faae7b5a Spelling fixes. 2008-04-09 12:07:39 +02:00
Kai Blin 65686b583b netapi32: Revert "janitorial: Use poll() instead of select()."
As Juan Lang pointed out, fd is a SOCKET here and the netapi32 call to
select calls ws2_32.WS_select(), which uses poll internally already.
2008-03-24 20:42:09 +01:00
Kai Blin 63504e9e80 janitorial: Use poll() instead of select(). 2008-03-24 13:41:57 +01:00
Andrew Talbot 0167d2c8a6 netapi32: Assign to struct instead of using memcpy. 2008-03-10 11:23:24 +01:00
Alistair Leslie-Hughes 4b89de772a netapi32: Correct test for NetUserChangePassword. 2008-03-07 11:13:52 +01:00
Rob Shearman 48000893f9 makefiles: Simplify the use of the IMPORTLIB variable in the DLL makefiles.
Only specify the root to keep platform-specifics out of the individual 
DLL makefiles.
2008-03-04 20:55:01 +01:00
Rob Shearman 38a968ff52 netapi32: Fix character count passed to GetUserNameW and GetComputerNameW in init_wksta_tests. 2008-02-25 13:31:57 +01:00
Marcus Meissner 47b050a047 netapi32: Added some return value checking. 2008-02-20 12:06:54 +01:00
Paul Vriens dd8fe5a973 netapi32/tests: Adding a user with a too long name succeeds on NT4. 2008-02-15 11:03:17 +01:00
Andrew Talbot 4e3671f70b netapi32: Remove unneeded cast. 2008-01-14 13:09:53 +01:00
Michael Stefaniuc a4ec3ff61b netapi32: Remove two unused global variables. 2008-01-02 12:38:42 +01:00
Aric Stewart f3e59a3d70 netapi32: Improve stub for NetLocalGroupGetMembers a bit to return current user. 2007-12-12 16:01:23 +01:00
Alexandre Julliard ad9396302d Removed some unneeded imports. 2007-12-06 21:24:24 +01:00
Gerald Pfeifer 7b80410646 netapi32: Remove one tests and simplify another based on the limited range of unsigned. 2007-11-26 13:57:09 +01:00
Michael Stefaniuc 28a7d58837 netapi32: Remove redundant NULL check before HeapFree(). Found by Smatch. 2007-11-19 13:02:08 +01:00
Kai Blin bb4ba8e21b netapi32: Fix valgrind warnings.
For now, those pointers are always null, anyway.
2007-11-05 13:24:37 +01: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
Francois Gouget a4bbc85853 netapi32: Add lmuseflg.h and include it from lmuse.h.
Also add some prototypes to lmuse.h, and use it in the implementation.
2007-08-06 13:57:27 +02:00
Francois Gouget cec957d684 netapi32: Fix the NetUseAdd() calling convention. 2007-08-03 12:45:04 +02:00
Francois Gouget 5266e57975 Assorted spelling fixes. 2007-07-31 21:37:50 +02:00
Tim Schwartz 894343268c netapi32: Add NetUseAdd() stub. 2007-07-16 22:55:47 +02:00
Andrew Talbot 2a2a3b4ea4 netapi32: Constify some variables. 2007-06-20 13:08:55 +02:00
Andrew Talbot 2fb8c8aad0 netapi32: Exclude unused headers. 2007-05-15 12:19:35 +02:00
Francois Gouget 45827fb404 netapi32/tests: Add a missing '\n' to a trace(). 2007-03-28 12:34:04 +02:00
Kai Blin 936662094f netapi32/tests: Make NetGetUserInfo checks language independent. 2007-03-26 14:24:23 +02:00
Kai Blin 1daf9a1e51 netapi32: Implement NetUserChangePassword. 2007-03-26 14:24:09 +02:00
Kai Blin 2207f20b5f netapi32: Implement NetUserDel. 2007-03-26 14:23:53 +02:00
Kai Blin 5934c2c9b1 netapi32: Implement NetUserAdd with a dummy user database. 2007-03-26 14:23:43 +02:00
Kai Blin 9ab9886821 netapi32/test: Test the username and password length limits. 2007-03-26 14:22:53 +02:00
Paul Vriens 87b291a261 netapi32/tests: Use LoadLibrary where needed and skip. 2007-03-23 13:04:29 +01:00
Kai Blin ce6a7595c3 netapi32: Add test for adding/deleting users. 2007-03-20 13:00:13 +01:00
Kai Blin 4f4123303f netapi32/tests: Use skip when skipping tests. 2007-03-19 13:35:37 +01:00
Kai Blin 5091bd9a96 netapi32: Downgrade more ERRs to TRACEs. 2007-03-19 13:35:15 +01:00
Kai Blin fa841ae379 netapi32: Remove another macro, replace by more readable functions. 2007-03-19 13:35:11 +01:00
Kai Blin 284683a24e netapi32: Downgrade another WARN and ERR to a TRACE. 2007-03-19 13:24:56 +01:00
Kai Blin 5f8a14d5e2 netapi32: Get rid of an ugly macro definition only used once. 2007-03-19 13:24:51 +01:00