Commit Graph

94 Commits

Author SHA1 Message Date
Jason Edmeades de70942e6d Add stub for SetSecurityInfo. 2005-03-07 11:00:24 +00:00
Troy Rollo bf6d5fc66b Make GetFileSecurityW return a standard SECURITY_DESCRIPTOR instead of
an uninitialised (and invalid) one.
2005-03-05 10:46:34 +00:00
Robert Shearman b0f02b28b9 - Implement AdjustTokenPrivileges, DuplicateTokenEx and
GetTokenInformation (for the TokenPrivileges case).
- Return STATUS_NO_TOKEN for OpenThreadToken when there is no token
  set for the thread.
2005-02-11 11:52:06 +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
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
Alexandre Julliard 1d36d12917 Fixed prototypes of a couple of ntdll functions.
Replaced the CallWin32ToNt macro by a proper function.
PBOOL cannot be cast to PBOOLEAN, we need to use an intermediate
variable.
2004-12-22 15:31:16 +00:00
Hans Leidekker 49f7f6c208 Stub implementations for AdjustTokenGroups, AreAllAccessesGranted,
CreatePrivateObjectSecurity, CreateProcessAsUser{A,W},
DestroyPrivateObjectSecurity, DuplicateToken{,Ex},
EnumDependentServices{A,W}, GetEffectiveRightsFromAcl{A,W},
ConvertStringSecurityDescriptorToSecurityDescriptorA. Implementations
for BuildExplicitAccessWithName{A,W},
BuildTrusteeWithObjectsAndName{A,W},
BuildTrusteeWithObjectsAndSid{A,W}.
Correct prototype for InitializeAcl, RtlCopySid and RtlGetAce.
Use the CallWin32ToNt macro only with functions that return an
NTSTATUS.
2004-12-21 16:16:10 +00:00
Mike McCormack 0128a849b1 Stub implementations for Lsa(Store/Retrieve)PrivateData. 2004-12-08 14:02:26 +00:00
Mike McCormack 4bda758157 Stub implementations for DecryptFile, EncryptFile and
GetServiceDisplayName.
2004-12-06 16:17:08 +00:00
Juan Lang 0fca5acba8 - implement LookupPrivilegeName
- correct LookupPrivilegeValue (had a buffer overrun and sometimes
  returned incorrect LUIDs for well-known values)
- make AllocateLocallyUniqueId less obviously incorrect
- add a bunch of test cases
2004-11-04 04:52:17 +00:00
Juan Lang 531be0b887 Update comment for LsaOpenPolicy. 2004-10-25 21:43:47 +00:00
Juan Lang bd0e74253c - correct ConvertStringSidToSidW and ConvertSidToStringSidW, with
tests
- add ConvertStringSidToSidA
- add missing exports for ConvertStringSidToSidA/W
2004-09-16 20:27:52 +00:00
Wolfgang Schwotzer 9c4890042d LookupAccountNameA stub always returns a valid SID. 2004-09-07 20:41:35 +00:00
Evan Deaubl 18e195a89b Added GetSecurityInfo stub. 2004-08-26 00:29:06 +00:00
Mike McCormack fd4675c501 Make SetTokenInformation call NtSetInformationToken. 2004-08-25 17:30:46 +00:00
Mike McCormack e27ae38f01 Fix BuildTrusteeWithSid, implement and test BuildTrusteeWithName. 2004-08-19 19:01:12 +00:00
Mike McCormack 93eeaa417d Implemented Get/SetFileSecurity A->W. 2004-08-16 23:18:23 +00:00
Mike McCormack 985646f07a Declaration, implemention and test for BuildTrusteeWithSid. 2004-08-16 21:07:50 +00:00
Mike McCormack 55257303d7 Move declaration of LSA* structs to ntsecapi.h. 2004-08-16 19:47:21 +00:00
Francois Gouget 870f55fefc Fix the PSID and PSECURITY_DESCRIPTOR types.
Add PISID and PISECURITY_DESCRIPTOR.
2004-08-13 23:55:43 +00:00
Mike McCormack edf55ec7d9 Implement SetThreadToken using NtSetInformationThread. 2004-08-13 23:20:27 +00:00
Mike McCormack f8167f01bc Implement A->W call for SetNamedSecurityInfo. 2004-08-09 22:55:47 +00:00
Mike McCormack d161a8f64e Fix definition of LookupPrivilegeNameW and declare it. 2004-08-09 19:46:15 +00:00
Mike McCormack be303074d6 Implemented ConvertSidToStringSidA/W. 2004-08-09 18:47:06 +00:00
Mike McCormack 2d86d17f2f Implement A->W call for GetNamedSecurityInfo. 2004-08-06 17:31:17 +00:00
Ge van Geldorp 606cc0acb6 Add missing privilege names. 2004-07-07 00:47:50 +00:00
William Lahti d5a31871cd Implemented AreAnyAccessesGranted. 2004-05-25 00:22:42 +00:00
Francois Gouget 0345908a27 Assorted spelling fixes. 2004-04-28 00:24:44 +00:00
Jon Griffiths 50ce0844ba Documentation fixes. 2004-04-23 21:32:34 +00:00
Francois Gouget 52c0832161 Make Unicode strings static const. 2004-04-20 01:12:17 +00:00
Francois Gouget 6b6ed724ae Add missing '\n's to debug traces. 2004-01-27 00:01:43 +00:00
Juan Lang c02488b5f0 Read the Policy{Account,Primary}DomainInformation from the registry,
rather than hardcoding it to "DOMAIN".
2003-12-30 19:21:11 +00:00
Ulrich Czekalla fd5e811c4e Added stubs for AccessCheckByType, AddAuditAccessAce,
GetNamedSecurityInfoA, GetNamedSecurityInfoW.
Implemented ConvertStringSecurityDescriptorToSecurityDescriptorW,
DeleteAce, MakeAbsoluteSD, GetAclInformation, ConvertStringSidToSidW,
RtlDeleteAce, RtlQueryInformationAcl.
2003-11-11 22:03:24 +00:00
Jon Griffiths 4c1fa161a3 Documentation updates. 2003-10-01 03:20:21 +00:00
Mike McCormack de047225bb Created stub functions for advapi32.GetExplicitEntriesFromAclA/W(). 2003-09-17 20:04:45 +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
Mike McCormack d0c2c6df72 Stubs for advapi32 functions InitiateSystemShutdownEx, SetEntriesInAcl
and SetNamedSecurityInfo.
2003-08-12 18:53:14 +00:00
Mike McCormack 49b408b192 Stubs for BuildTrusteeWithSid(A/W). 2003-08-11 18:41:28 +00:00
Mike McCormack 133ba9f3cd Implemented LookupPrivilegeValueA/W. 2003-07-24 00:01:16 +00:00
736ff98510 Added AddAccessAllowdAceEx, AddAccessDeniedAceEx, GetAclInformation. 2003-06-16 19:44:06 +00:00
Mike McCormack 493d89d888 Stubs for AccessCheckAndAuditAlarmA/W. 2003-05-11 02:37:11 +00:00
Robert Shearman f0025e2adc - Implemented RtlAddAccessAllowedAce, RtlAddAccessDeniedAce,
RtlAddAce, RtlValidAcl.
- Added the corresponding functions in advapi32.
- Grouped the ACL functions in advapi32.
2003-05-01 00:29:26 +00:00
Jon Griffiths cd4234aa49 Documentation updates. 2003-03-18 18:35:48 +00:00
Alexandre Julliard 43690e9e47 Removed no longer needed inclusion of heap.h. 2003-01-24 00:54:58 +00:00
Matthew Davison 60009b9a56 Removed calls to HEAP_strdupAtoW. 2003-01-23 23:07:38 +00:00
Matthew Davison 6f2a071df1 Remove some calls to HEAP_strdupAtoW from advapi32. 2003-01-20 23:23:12 +00:00
Chris Morgan ee8411f4b0 Stub for GetSecurityInfoExW(). 2002-12-19 04:15:23 +00:00
Andreas Mohr 866d79c11f - actually use PLUID
- initialize the outbound lpLuid variable with bogus values
2002-12-16 23:48:04 +00:00
Michael Stefaniuc cbacde5256 Compile the advapi32 dll with -DSTRICT. 2002-10-25 19:17:33 +00:00
Patrik Stridvall cf07e10017 Don't use wine/unicode.h in the header files, include it directly
where needed instead.
2002-10-23 20:20:59 +00:00