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
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