Commit graph

41 commits

Author SHA1 Message Date
Vitaly Lipatov
d173bc6a53 include: Add standalone LSA_OBJECT_ATTRIBUTES prototype if ntdef.h is not included. 2023-08-16 13:36:15 +02:00
Vitaly Lipatov
caae33a853 include: Use compatible file guard name (_NTSECAPI_, _NTSECPKG_). 2023-08-16 09:07:39 +02:00
Vitaly Lipatov
982f1983c4 include: Update SECURITY_LOGON_TYPE and SECURITY_LOGON_SESSION_DATA in ntsecapi.h.
Signed-off-by: Vitaly Lipatov <lav@etersoft.ru>
2023-08-04 09:51:41 +09:00
Dmitry Timoshkov
835d73379f secur32/tests: Add some tests for "Negotiate" LSA package.
Fixed test failures under some Windows versions.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
2023-08-03 20:45:37 +09:00
Maxim Karasev
9e09d0a762 include: Add more Kerberos cache info types. 2023-07-21 21:27:44 +02:00
Maxim Karasev
cb33d402bb include: Add missing Kerberos related defines. 2023-07-12 21:54:56 +02:00
Alexandre Julliard
fcf5e8c45b include: Use proper dllimports for advapi32 functions. 2022-12-07 13:51:37 +01:00
Martin Liska
9afc341c4f include: Avoid compound literals for WCHAR strings.
Starting from GCC 9, compound liferal's scope has changed:
https://www.gnu.org/software/gcc/gcc-9/porting_to.html#complit

Signed-off-by: Martin Liska <mliska@suse.cz>
Signed-off-by: Marcus Meissner <meissner@suse.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-12 11:44:26 +02:00
Louis Lenders
642d6c695a advapi32: Add AuditQuerySystemPolicy stub.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46643
Signed-off-by: Louis Lenders <xerox.xerox2000x@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-19 19:10:34 +01:00
Dmitry Timoshkov
0e9922bd3e kerberos: Add support for KerbQueryTicketCacheMessage.
Based on the code written by George Popoff.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-30 10:00:13 +01:00
Dmitry Timoshkov
943f0d38ec include: MICROSOFT_KERBEROS_NAME_A definition should be available regardless of UNICODE.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-19 12:12:03 +01:00
Dmitry Timoshkov
e9063e1243 kerberos: Add a stub for Kerberos5 Authentication Package.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-18 11:49:58 +02:00
Francois Gouget
785d7a8841 include: Add the missing guiddef.h include directives. 2011-12-20 10:17:02 +01:00
Michael Stefaniuc
ad0f8b6b66 include: Make some more "long" numeric constants LP64/LLP64 proof. 2011-11-22 11:10:02 +01:00
Andrew Nguyen
c62dd29b37 include: Add prototypes for RtlEncryptMemory and RtlDecryptMemory in ntsecapi.h. 2010-03-22 11:40:25 +01:00
Francois Gouget
11ab3dacfd secur32: Add some missing prototypes to ntsecapi.h. 2007-09-10 12:14:05 +02:00
Kai Blin
b53e1ffa47 secur32: Implement LsaRegisterLogonProcess stub. 2007-08-30 20:06:56 +02:00
Kai Blin
0c6e2c20bd secur32: Implement LsaGetLogonSessionData stub. 2007-08-30 11:57:18 +02:00
Francois Gouget
5cff5038a9 Fix ntsecapi.h so it does not depend on winternl.h. 2006-11-08 12:53:19 +01:00
Robert Reif
1b8cfc5151 advapi32: Add a computer SID to the registry. 2006-08-04 12:04:06 +02:00
Robert Reif
63cbb0cae3 include: Add more policy structures to ntsecapi.h. 2006-07-12 13:15:36 +02:00
Jonathan Ernst
360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Francois Gouget
5b993191a9 include: Standardize the LsaLookupNames() prototype. 2006-03-21 20:02:28 +01:00
Hans Leidekker
93676b10c6 advapi32: Add stub implementations for a bunch of documented Lsa APIs. 2006-03-13 14:18:29 +01:00
Francois Gouget
6fb12fc291 Declare PNTSTATUS in lmaccess.h and ntsecapi.h to match the PSDK.
Protect against multiple definitions.
Use PNTSTATUS where appropriate.
2005-08-16 16:01:49 +00:00
Hans Leidekker
524251db40 Stub implementations for GetUserNameEx{A,W}, TranslateName{A,W},
LsaCallAuthenticationPackage, LsaConnectUntrusted and
LsaDeregisterLogonProcess.
2005-07-18 09:11:14 +00:00
Mike McCormack
5e62bd0b0c Declare some missing functions. 2005-06-13 10:04:20 +00:00
Juan Lang
213c17e579 Added some definitions. 2005-01-21 10:15:50 +00:00
Hans Leidekker
0cc2031409 Stub implementations for GetKernelObjectSecurity,
GetPrivateObjectSecurity, GetServiceKeyName{A,W},
ImpersonateNamedPipeClient, InitiateSystemShutdown{A,W},
IsTokenRestricted, LogonUser{A,W}, LookupAccountNameW,
LookupPrivilegeDisplayName{A,W}, MapGenericMask,
ObjectCloseAuditAlarm{A,W}, ObjectOpenAuditAlarm{A,W},
ObjectPrivilegeAuditAlarm{A,W}, PrivilegedServiceAuditAlarm{A,W},
QueryServiceLockStatus{A,W}, SetAclInformation,
SetPrivateObjectSecurity, SetSecurityDescriptorControl,
SetServiceBits, LsaSetInformationPolicy, LsaLookupNames,
LsaEnumerateTrustedDomains.
2005-01-03 17:12:51 +00:00
Mike McCormack
55257303d7 Move declaration of LSA* structs to ntsecapi.h. 2004-08-16 19:47:21 +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
Dimitrie O. Paun
53f9c21fb7 Use angle brackets (<>) rather than quotes ("") for the include
directives in our .h files. This should avoid some potentially nasty
surprises for Winelib apps.
2003-08-28 21:43:34 +00:00
Andriy Palamarchuk
63709f07f9 Added policy access constants, type definition. 2002-09-11 00:48:26 +00:00
Andriy Palamarchuk
d7922143dd LsaNtStatusToDosError implementation. 2002-09-06 19:36:37 +00:00
Vincent Béron
9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Alexandre Julliard
0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Alexandre Julliard
83f52d11c1 Moved all Win16 definitions out of the standard Windows headers. 2000-09-26 22:20:14 +00:00
Juergen Schmied
02d45e52c5 - implementation of RtlReg* (read access), RtlEvent*, RtlSemaphore*,
NtAllocateLocallyUniqueId
- implementation or stubs for NtAccessCheck, NtSetSecurityObject,
  RtlClearBits, RtlEqualPrefixSid, RtlFindClearBits,
  RtlFormatCurrentUserKeyPath, RtlGetControlSecurityDescriptor,
  RtlIdentifierAuthoritySid, RtlImpersonateSelf, RtlInitializeBitMap,
  RtlInitializeGenericTable, RtlMakeSelfRelativeSD,
  RtlPrefixUnicodeString, RtlSetBits, RtlUnicodeToMultiByteN,
  RtlUpcaseUnicodeStringToOemString, RtlUpcaseUnicodeToOemN,
  RtlValidSid, RtlxUnicodeStringToOemSize
- corrected most RtlString* functions, added documentation
- more fixes and partial implementations
2000-01-23 22:35:33 +00:00
Juergen Schmied
044db46459 Stubs for LsaFreeMemory, LsaQueryInformationPolicy, LsaClose.
Small fixes.
1999-12-11 23:19:54 +00:00
Patrik Stridvall
feb94cbbcb Made the include files self-sufficient. 1999-10-24 21:48:50 +00:00
Patrik Stridvall
4a73973f23 Fixed/moved/added missing/wrong function prototypes. 1999-07-04 11:01:21 +00:00