Francois Gouget
17689c07bb
Fix some winapi_check documentation warnings.
2006-05-15 15:05:15 +02:00
Michael Stefaniuc
a87520036f
janitorial: Remove redundant NULL pointer checks before HeapFree'ing them.
...
Some HeapFree's are hidden behind macros. Found by smatch.
2006-05-10 11:31:41 +02:00
Robert Shearman
35596ee290
advapi32: Implement the majority of ImpersonateLoggedOnUser.
2006-05-05 16:35:55 +02:00
Alexandre Julliard
e97a1afbab
advapi32: Fixed compiler warnings.
2006-03-28 14:43:18 +02:00
Thomas Weidenmueller
ae8b835d85
advapi32: Fixed building TRUSTEEs with objects.
...
Fill the TRUSTEE structure properly in BuildTrusteeWithObjectsAndName
and BuildTrusteeWithObjectsAndSid, including regression tests.
2006-03-28 12:34:43 +02:00
Ulrich Czekalla
7aa3be4741
advapi32: Add partial implementation of LookupAccountNameW.
2006-02-22 11:32:41 +01:00
Ulrich Czekalla
5ceb274724
advapi32: Add stub for ObjectDeleteAuditAlarmW.
2006-02-02 13:19:11 +01:00
Ge van Geldorp
1a1583a364
Match PSDK STATUS_* definitions.
2005-11-28 17:32:54 +01:00
Vincent Béron
f41abbd07a
Add/correct prototypes for some already defined functions in
...
advapi32. Correct spec file entry for GetSecurityInfoExW.
2005-11-21 12:06:00 +00:00
Markus Amsler
ec350525e3
Improve c2man Documented-Total count. Changes:
...
- add missing description
- add missing returns section
2005-11-12 19:12:03 +00:00
Francois Gouget
0edbaf7e80
Remove spaces before '\n' in traces.
2005-11-10 12:14:56 +00:00
Markus Amsler
d45811ce2a
Improve c2man Documented-Total count.
2005-11-04 11:43:27 +00:00
Robert Shearman
c218e74184
Fix String SID parsing.
2005-09-16 18:44:17 +00:00
Kevin Koltzau
73159c1d0c
Remove 'cast from pointer to integer of different size' warnings in
...
64bit,
2005-08-22 09:18:48 +00:00
James Hawkins
fb46998825
Branch the LSA functions from security.c to lsa.c.
2005-07-06 10:37:50 +00:00
James Hawkins
0ea0f5fffd
- Define FSCTL_PIPE_IMPERSONATE.
...
- Implement ImpersonateNamedPipeClient.
2005-06-24 11:54:15 +00:00
James Hawkins
fc6b6f4848
Add stub implementations for BuildSecurityDescriptorA/W.
2005-06-23 11:40:57 +00:00
James Hawkins
dd3fd54a65
Forward AddAuditAccessAce to its Rtl counterpart.
2005-06-23 11:03:52 +00:00
James Hawkins
bfaac2776a
Implement IsTokenRestricted.
2005-06-21 20:49:54 +00:00
James Hawkins
bafa13c6a6
Implement GetTrustee* functions.
2005-06-21 20:20:47 +00:00
Robert Shearman
9cb94b276f
Implement RtlImpersonateSelf, RevertToSelf and MapGenericMask.
2005-06-20 11:44:45 +00:00
James Hawkins
5909b0de35
Forward GetPrivate/KernelObjectSecurity to NtQuerySecurityObject.
2005-06-17 09:52:06 +00:00
Robert Shearman
9495180325
MSDN states that DuplicateToken should create a new token with the
...
TOKEN_QUERY | TOKEN_IMPERSONATE rights, not 0.
2005-06-15 10:20:17 +00:00
Mike McCormack
a46a159be9
Make ADVAPI_IsLocalComputer static and simplify it a little.
2005-06-09 09:44:44 +00:00
Robert Shearman
1408169387
Implement PrivilegeCheck.
2005-04-22 21:17:42 +00:00
Alexandre Julliard
b965457c4a
Get rid of the remaining calls to strncpyW, and remove that function
...
from wine/unicode.h.
2005-04-21 17:18:50 +00:00
Francois Gouget
3ef8c51c8a
Tweak the API documentation to silence winapi_check warnings.
2005-04-20 15:18:42 +00:00
Steven Edwards
4a26da2142
Partially implement CreateProcessAsUser.
2005-04-13 11:02:59 +00:00
Hans Leidekker
4ead2b4cb7
Implement GetNamedSecurityInfo.
2005-04-11 14:25:41 +00:00
Stefan Leichter
25102d6b25
Fix GetFileSecurityW for not existing directories/files.
2005-03-29 11:31:18 +00:00
Jakob Eriksson
461c830745
Eliminate HeapAlloc casts.
2005-03-22 18:26:06 +00:00
Vincent Béron
1e365f7791
Fixed some calling conventions.
2005-03-21 10:32:45 +00:00
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