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
Michael Stefaniuc
c7e00c9f49
janitorial: In multiline strings there is no need for '\' at the end of the lines.
2006-12-27 13:10:13 +01:00
Francois Gouget
5cff5038a9
Fix ntsecapi.h so it does not depend on winternl.h.
2006-11-08 12:53:19 +01:00
Eric Pouech
a8e5179d8e
netapi32: Fix the size of allocation for the string returned from NetpGetComputerName.
2006-10-24 11:33:00 +02:00
Hans Leidekker
9f71ae876a
netapi32: Win64 printf format warning fixes.
2006-10-12 21:26:26 +02:00
Michael Stefaniuc
611220d554
netapi32: Win64 printf format warning fixes.
2006-10-09 12:55:58 +02:00
Paul Chitescu
a0db724a5e
netapi: Stub for DsGetDcNameA.
2006-10-05 18:06:58 +02:00
Francois Gouget
82babbee0b
Add missing '\n's to Wine traces.
2006-10-05 17:46:48 +02:00
Michael Stefaniuc
85ce5117c5
Add a WINE_NO_LONG_INT define to many makefiles to ease the transition of DWORD/LONG/ULONG from long to int.
2006-09-29 16:08:30 +02:00
Juan Lang
afbe00a85e
netapi32: Add stubs for DsGetDcNameW and DsGetSiteNameW.
2006-09-27 18:19:44 +02:00
Juan Lang
b44d713d23
netapi32: Partially implement DsRoleGetPrimaryDomainInformation, and DsRoleFreeMemory.
2006-09-21 11:16:25 +02:00
Andrew Talbot
c4f4c2ff84
netapi32: Cast-qual warnings fix.
2006-09-20 12:23:37 +02:00
Alexandre Julliard
32ab895e46
makefiles: Generate the dependencies line to avoid some code duplication.
2006-09-14 09:38:16 +02:00
Marcus Meissner
0c15360a3e
Removes all unnecessary WINE_DEFAULT_DEBUG_CHANNEL and respective wine/debug.h includes.
2006-09-11 11:30:48 +02:00
Detlef Riekenberg
c8d4413068
netapi32: Avoid NULL access in NetApiBufferAllocate, with test.
2006-09-08 15:08:05 +02:00
Alexandre Julliard
5cf75e615a
makefiles: Only run test and documentation targets in directories that need them.
2006-08-28 13:37:44 +02:00
Robert Reif
d54043c028
netapi32: NetUserModalsGet bug fixes and cleanup.
2006-08-14 11:45:42 +02:00
Robert Reif
2fa5806a3a
netapi32: Add stubs for remaining NetLocalGroup* functions.
...
Move existing NetLocalGroup* functions to local_group.c.
Add stubs for remaining NetLocalGroup* functions.
2006-08-07 15:35:10 +02:00
Robert Reif
fb2017d4f4
netapi32: Add stub for NetUserGetLocalGroups.
2006-08-05 11:30:47 +02:00
Robert Reif
651ac46970
netapi32: Return an error for unimplemented levels in NetUserGetInfo.
2006-08-05 11:30:39 +02:00
Robert Reif
f1adcb191f
netapi32: Add stub for NetLocalGroupEnum.
2006-08-05 11:28:09 +02:00
Alexandre Julliard
0fa8baafcb
make_dlls: Recursively ignore .ok files in all tests directories.
2006-07-10 21:26:50 +02:00
Alexandre Julliard
edd100b899
make_dlls: Recursively ignore testlist.c in all tests directories.
2006-07-10 21:19:42 +02:00
Alexandre Julliard
5258e061dc
make_dlls: Ignore generated import libraries from the top-level .gitignore.
2006-07-10 20:55:58 +02:00
Alexandre Julliard
cc2b3b48e6
Take advantage of the recursive nature of .gitignore for Makefile entries.
...
Prefix other entries with '/' to make them non-recursive.
2006-07-10 20:47:54 +02:00
Alexandre Julliard
a62dca5874
netapi32: Don't use sizeof in traces to avoid printf format warnings.
2006-06-13 14:11:04 +02:00
Robert Reif
65dd8741ff
netapi32: Add stub for NetServerEnumEx.
2006-06-07 14:31:13 +02:00
Jonathan Ernst
360a3f9142
Update the address of the Free Software Foundation.
2006-05-23 14:11:13 +02:00
Robert Reif
357713473b
netapi32: Implement NetUserModalsGet level 2.
2006-05-05 17:31:00 +02:00
Robert Reif
2e28e4a7b3
netapi32: Add minimal NetUserModalsGet test.
2006-05-05 16:32:54 +02:00
Paul Vriens
a233d55dbd
netapi32: Move NetShareEnum from browsr.c to share.c.
2006-04-07 20:01:12 +02:00
Paul Vriens
e29dd373b2
netapi32: Add (stubbed) NetSessionEnum.
2006-04-06 22:22:29 +02:00
Hans Leidekker
b9709d805c
netapi32: Improve stub for NetUserModalsGet.
...
Tell the caller this host is not part of a domain.
2006-02-13 13:22:11 +01:00
Vincent Béron
d52dafb5cc
Add a few missing #includes.
2005-12-07 12:51:39 +01:00
Francois Gouget
250c80b1ed
Better stick to the PSDK types and to the dsrole.h prototype.
...
Update win32.api.
2005-12-02 13:27:42 +01:00
Vincent Béron
74a4e59aad
Add some prototypes to include/ for already existing functions in
...
netapi32.
2005-11-30 12:04:18 +01:00
Paul Vriens
45f0e0625e
Added some stubbed Ds-calls
...
Start of conformance tests for these Ds-calls.
2005-11-29 12:00:19 +01:00
Ge van Geldorp
1a1583a364
Match PSDK STATUS_* definitions.
2005-11-28 17:32:54 +01:00
Alexandre Julliard
0ec7e1a591
Renamed all .cvsignore files to .gitignore.
2005-11-26 13:10:33 +01:00
Ge van Geldorp
2f57b9f36e
Fix some prototypes to match the PSDK.
2005-11-21 11:59:27 +00:00
Alexandre Julliard
7e22be4d84
We are no longer generating .dbg.c files.
2005-09-29 10:35:58 +00:00
Mike McCormack
a107234dcd
gcc 4.0 warning fixes.
2005-08-29 09:38:19 +00:00
Alexandre Julliard
cc4da88563
Explicitly import kernel32 in tests that use it.
2005-08-27 09:27:09 +00:00
Mike McCormack
0791d06215
Interlocked LONG* gcc warning fixes.
2005-07-12 19:21:36 +00:00
Detlef Riekenberg
0af6ae55e9
NetUserAdd + NetUserDel implemented as stub.
...
Made some FIXME more informative.
Marked some FIXME as stub.
Added comments before some functions.
2005-07-07 20:26:41 +00:00
Mike McCormack
257c337c19
gcc 4.0 -Wpointer-sign fixes (Reg* functions).
2005-07-07 12:08:42 +00:00
Stefan Huehner
2440dcfe88
Fix -Wmissing-declarations warnings.
2005-07-05 12:49:14 +00:00
Alexandre Julliard
f84401aa17
Sort entry points in the same order as Windows.
2005-06-23 09:57:11 +00:00
Stefan Huehner
9213d56ae0
Make some function static.
2005-06-20 15:35:54 +00:00
Alexandre Julliard
629352bdc4
Moved network configuration parameters to HKCU\Software\Wine\Network.
2005-06-14 17:22:41 +00:00
Alexandre Julliard
2e4bca9db5
Added magic comments to all Wine-specific registry accesses to make
...
them easier to grep.
2005-06-13 18:56:00 +00:00
Alexandre Julliard
34fa35dc99
Added rules for building import libraries in the individual dll
...
makefiles, and added support for building a .def.a static import
library too.
2005-05-09 14:42:30 +00:00
Alexandre Julliard
d62356aa1e
Added rules to build import libraries in the individual dll makefiles.
...
Generate import libraries with the right name right away instead of
using an intermediate .spec.def file.
2005-05-07 12:39:52 +00:00
Jakob Eriksson
53a4473334
No need continuing tests if no NetUserGetInfo.
2005-03-25 10:24:45 +00:00
Jakob Eriksson
9ed61de9a2
Get rid of HeapAlloc casts.
2005-03-24 21:01:35 +00:00
Juan Lang
8528796c48
Fix a test to pass under XP.
2005-03-14 10:05:58 +00:00
Ulrich Czekalla
a47a0e3be7
Added stub implementation of NetGetJoinInformation.
2005-01-20 10:35:21 +00:00
Jakob Eriksson
41314e6992
Fix test failure on Windows 2000.
2004-12-27 17:04:38 +00:00
Michael Stefaniuc
5ad7d858e0
Do not check for non NULL pointer before HeapFree'ing it. It's
...
redundant.
2004-12-23 17:06:43 +00:00
Juan Lang
e0399f6c10
In Netbios(),
...
- set ncb_retcode and ncb_cmd_cplt for NCB_ADDNAME
- always make sure adapters have been enumerated.
2004-12-16 14:34:47 +00:00
Juan Lang
e520346265
Convert some registry calls from A to W.
2004-12-08 13:49:36 +00:00
Jon Griffiths
5685659d75
Allow NCBRESET and NCBADDNAME to work even if there are no adapters.
2004-11-30 17:26:22 +00:00
Hans Leidekker
fe442b21f7
Fix signed/unsigned comparison warnings.
2004-09-08 01:23:57 +00:00
Juan Lang
759ef45945
Fix NetApiBufferReallocate and tests based on results from winetest.
2004-04-21 22:24:38 +00:00
Francois Gouget
8fc374d8b4
Make Unicode strings 'static const'.
2004-04-20 02:14:00 +00:00
Francois Gouget
6a6c85c6d8
Make Unicode const strings static so they are not copied to the stack
...
each time we enter the function.
2004-04-19 20:12:14 +00:00
Juan Lang
1ad8180e44
- fix a couple tests and traces
...
- add a couple stubs required by native ntlanman.dll
2004-04-05 20:17:45 +00:00
Hans Leidekker
7e8e12439a
NetServerGetInfo() pseudo stub.
2004-04-02 19:17:42 +00:00
Alexandre Julliard
9e4ed6460c
.spec.c files are no longer used for 32-bit dlls.
2004-03-24 03:36:44 +00:00
Alexandre Julliard
589e115233
We no longer use the .exe.spec.c files.
2004-03-02 21:16:37 +00:00
Alexandre Julliard
e8a339c1d2
Portability fixes for LSB compatibility.
2004-03-01 21:32:02 +00:00
Juan Lang
93e268efbd
Implement NetpNetbiosStatusToApiStatus.
2004-03-01 21:23:51 +00:00
Patrik Stridvall
8f9b09e947
Fixed some issues found by winapi_check.
2004-02-27 21:32:54 +00:00
Steven Edwards
000a5c73ee
Porting Fixes for Mingw/MSVC.
2004-02-10 20:09:43 +00:00
Chris Morgan
6088c11f96
Stub NetUserEnum().
2004-02-06 05:17:39 +00:00
Juan Lang
c935908e2a
- fix broadcast address for name lookups after iphlpapi change
...
- fix bad registry key opening
2004-01-30 22:55:25 +00:00
Francois Gouget
ce7c3b50ac
Add trailing '\n's to ok() calls.
2004-01-27 20:13:03 +00:00
Francois Gouget
6b6ed724ae
Add missing '\n's to debug traces.
2004-01-27 00:01:43 +00:00
Alexandre Julliard
d03300eca3
Define INADDR_NONE if needed (reported by Robert Lunnon).
2004-01-15 00:25:41 +00:00
Robert Lunnon
9376904446
FD_SET is not a type changed to struct fd_set.
...
Reordered headers to avoid including sys/select.h before winbase.h.
2004-01-14 05:20:59 +00:00
Steven Edwards
d8f9c1c076
Fix compiling netapi32 on MSVC with PSDK headers.
2004-01-02 20:15:05 +00:00
Juan Lang
a5545b64e5
Fix conflicting registry value names, and try both Win9x and WinNT
...
locations for NetBT registry values.
2004-01-02 03:55:53 +00:00
Huw Davies
f92bbe6c65
Fix incorrect calculation of transport_addr.
2003-12-11 04:26:38 +00:00
Juan Lang
216a0dfbe7
Partially implement NetWkstaGetInfo.
2003-12-08 21:45:44 +00:00
Mike McCormack
ed224b3398
Stub implementations for some functions.
2003-12-04 20:53:46 +00:00
Dimitrie O. Paun
add6726c90
Fix NetApiBufferReallocate and add a few tests for the border cases
...
(thanks to Juan Lang for clarifications).
2003-12-04 01:42:34 +00:00
Juan Lang
e7fd6fd2a1
Implemented a lot of Netbios().
2003-11-29 00:19:19 +00:00
Dimitrie O. Paun
fbdfd910c1
Remove SYMBOLFILE and LDDLLFLAGS from Makefiles.
2003-10-11 01:09:15 +00:00
Jon Griffiths
90535ce905
Various test fixes for XP/msvc.
2003-09-25 20:29:40 +00:00
Geoff Thorpe
23609d22d6
Added a stub for NetStatisticsGet.
2003-09-11 03:09:19 +00:00
Alexandre Julliard
e37c6e18d0
Fixed header dependencies to be fully compatible with the Windows
...
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Jon Griffiths
e1e0728ba6
Fix compilation under VS.Net.
2003-07-18 22:53:49 +00:00
Uwe Bonnes
119eacc6d3
Removed a no longer used header.
2003-07-08 21:10:45 +00:00
Dmitry Timoshkov
4e1ef0c114
For all DLLs with defined DllMain and which do not require
...
DLL_THREAD_ATTACH/DLL_THREAD_DETACH notifications, call
DisableThreadLibraryCalls() in order to slightly improve performance
on thread creation/exiting.
2003-06-30 20:53:48 +00:00
Eric Pouech
9b5cde85a2
Fixed a few bugs in network interface handling (code & test).
2003-06-23 03:32:28 +00:00
Juan Lang
c5e856a300
Use iphlpapi to enumerate LAN adapters.
...
Add names to NetBIOS transports, and eliminates loopback adapters from
enumerated LAN adapters.
2003-06-16 01:23:20 +00:00
Aric Stewart
3e53d11efe
Added stub for NetServerEnum.
2003-05-19 23:06:35 +00:00
Juan Lang
7b55bc45eb
Better API compliance and test case for NetWkstaTransportEnum.
2003-04-30 00:48:56 +00:00
Alexandre Julliard
5537dbbf40
Replaced WINE_CHECK_STRUCT_MEMBER autoconf macro by the standard
...
AC_CHECK_MEMBERS. Added check for si_fd in siginfo_t.
2003-03-28 00:36:12 +00:00
Alexandre Julliard
114a31a2a8
Take advantage of new winebuild syntax to remove redundant function
...
names in spec files.
2003-03-20 03:53:12 +00:00
Alexandre Julliard
a9c51cb60b
Replaced forwards by normal function declarations.
2003-03-17 00:17:00 +00:00
Uwe Bonnes
51e4839fb0
Separate "Enumerate Hardware Addresses" as function, as other netapi32
...
function need it.
Implemented level 0 of NetWkstaTransportEnum.
2003-02-14 23:29:24 +00:00