Commit graph

176 commits

Author SHA1 Message Date
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
Kai Blin
b3910387ec netapi32: fix a comment. 2007-03-19 13:24:47 +01:00
Kai Blin
4b4518532a netapi32: Downgrade a FIXME and an ERR to a trace to not clutter test output on handled error conditions. 2007-03-19 12:23:34 +01:00
Paul Vriens
5770f3e30d netapi32/tests: Use GetModuleHandle and skip. 2007-03-16 12:25:55 +01:00
Jan Zerebecki
4a5f61bb63 netapi32: Add DebugInfo to critical sections. 2007-03-12 13:38:50 +01:00
Alexandre Julliard
6782d2b490 netapi32: Added support for more info levels in NetWkstaGetInfo. 2007-03-07 18:05:57 +01:00
Marcus Meissner
d0e8d6a7ba netapi32: Fixed array overflow (spotted by Coverity). 2007-03-02 12:11:11 +01:00
Rob Shearman
3d02585449 netapi32: Add a stub for NetUserChangePassword. 2007-02-23 11:18:36 +01:00
Andrew Talbot
01e338805c netapi32: Constify a variable. 2007-02-20 11:51:45 +01:00
Hans Leidekker
ae1fde0343 netapi32: Add a stub implementation for NetShareDel. Improve the stub for NetUserGetLocalGroups. 2007-02-19 12:41:46 +01:00
Andrew Talbot
9d70a6ee2c netapi32: Declare a variable static. 2007-01-17 11:23:18 +01:00