export these stubs: AddAccessAllowedObjectAce, AddAccessDeniedObjectAce,
AddAuditAccessObjectAce, CreatePrivateObjectSecurityEx,
CreatePrivateObjectSecurityWithMultipleInheritance,
ConvertToAutoInheritPrivateObjectSecurity, EqualDomainSid,
GetWindowsAccountDomainSid and CreateWellKnownSid
Modified: trunk/reactos/lib/advapi32/advapi32.def
Modified: trunk/reactos/lib/advapi32/sec/ac.c
Modified: trunk/reactos/lib/advapi32/sec/misc.c
Modified: trunk/reactos/lib/advapi32/sec/sec.c
Modified: trunk/reactos/lib/advapi32/sec/sid.c
Modified: trunk/reactos/w32api/include/winnt.h
_____
Modified: trunk/reactos/lib/advapi32/advapi32.def
--- trunk/reactos/lib/advapi32/advapi32.def 2005-07-27 01:26:16 UTC
(rev 16774)
+++ trunk/reactos/lib/advapi32/advapi32.def 2005-07-27 01:31:34 UTC
(rev 16775)
@@ -24,14 +24,14 @@
;AccessCheckByTypeResultListAndAuditAlarmW@64
AddAccessAllowedAce@16
AddAccessAllowedAceEx@20
-;AddAccessAllowedObjectAce@28
+AddAccessAllowedObjectAce@28
AddAccessDeniedAce@16
AddAccessDeniedAceEx@20
-;AddAccessDeniedObjectAce@28
+AddAccessDeniedObjectAce@28
AddAce@20
AddAuditAccessAce@24
AddAuditAccessAceEx@28
-;AddAuditAccessObjectAce@36
+AddAuditAccessObjectAce@36
;AddUsersToEncryptedFile@8
AdjustTokenGroups@24
AdjustTokenPrivileges@24
@@ -95,12 +95,12 @@
;ConvertStringSecurityDescriptorToSecurityDescriptorW@20
;ConvertStringSidToSidA@8
;ConvertStringSidToSidW@8
-;ConvertToAutoInheritPrivateObjectSecurity@24
+ConvertToAutoInheritPrivateObjectSecurity@24
CopySid@12
;CreateCodeAuthzLevel@20
CreatePrivateObjectSecurity@24
-;CreatePrivateObjectSecurityEx@32
-;CreatePrivateObjectSecurityWithMultipleInheritance@36
+CreatePrivateObjectSecurityEx@32
+CreatePrivateObjectSecurityWithMultipleInheritance@36
CreateProcessAsUserA@44
;CreateProcessAsUserSecure
CreateProcessAsUserW@44
@@ -109,7 +109,7 @@
CreateServiceA@52
CreateServiceW@52
;CreateTraceInstanceId@8
-;CreateWellKnownSid@16
+CreateWellKnownSid@16
;CredDeleteA@12
;CredDeleteW@12
;CredEnumerateA@16
@@ -219,7 +219,7 @@
;EnumServicesStatusExW
EnumServicesStatusW@32
;EnumerateTraceGuids
-;EqualDomainSid
+EqualDomainSid@12
EqualPrefixSid@8
EqualSid@8
;FileEncryptionStatusA
@@ -298,7 +298,7 @@
GetTrusteeTypeW@4
GetUserNameA@8
GetUserNameW@8
-;GetWindowsAccountDomainSid
+GetWindowsAccountDomainSid@12
;I_ScGetCurrentGroupStateW@12
;I_ScIsSecurityProcess
;I_ScPnPGetServiceName
_____
Modified: trunk/reactos/lib/advapi32/sec/ac.c
--- trunk/reactos/lib/advapi32/sec/ac.c 2005-07-27 01:26:16 UTC (rev
16774)
+++ trunk/reactos/lib/advapi32/sec/ac.c 2005-07-27 01:31:34 UTC (rev
16775)
@@ -166,6 +166,25 @@
/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+AddAccessAllowedObjectAce(
+ PACL pAcl,
+ DWORD dwAceRevision,
+ DWORD AceFlags,
+ DWORD AccessMask,
+ GUID* ObjectTypeGuid,
+ GUID* InheritedObjectTypeGuid,
+ PSID pSid)
+{
+ DPRINT1("%s() not implemented!\n", __FUNCTION__);
+ return ERROR_CALL_NOT_IMPLEMENTED;
+}
+
+
+/*
* @implemented
*/
BOOL
@@ -221,6 +240,22 @@
/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+AddAccessDeniedObjectAce(
+ PACL pAcl,
+ DWORD dwAceRevision,
+ DWORD AccessMask,
+ PSID pSid)
+{
+ DPRINT1("%s() not implemented!\n", __FUNCTION__);
+ return ERROR_CALL_NOT_IMPLEMENTED;
+}
+
+
+/*
* @implemented
*/
BOOL
@@ -314,6 +349,27 @@
/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+AddAuditAccessObjectAce(
+ PACL pAcl,
+ DWORD dwAceRevision,
+ DWORD AceFlags,
+ DWORD AccessMask,
+ GUID* ObjectTypeGuid,
+ GUID* InheritedObjectTypeGuid,
+ PSID pSid,
+ BOOL bAuditSuccess,
+ BOOL bAuditFailure)
+{
+ DPRINT1("%s() not implemented!\n", __FUNCTION__);
+ return ERROR_CALL_NOT_IMPLEMENTED;
+}
+
+
+/*
* @implemented
*/
BOOL
_____
Modified: trunk/reactos/lib/advapi32/sec/misc.c
--- trunk/reactos/lib/advapi32/sec/misc.c 2005-07-27 01:26:16 UTC
(rev 16774)
+++ trunk/reactos/lib/advapi32/sec/misc.c 2005-07-27 01:31:34 UTC
(rev 16775)
@@ -1800,6 +1800,43 @@
/*
+ * @unimplemented
+ */
+BOOL STDCALL
+CreatePrivateObjectSecurityEx(PSECURITY_DESCRIPTOR ParentDescriptor,
+ PSECURITY_DESCRIPTOR CreatorDescriptor,
+ PSECURITY_DESCRIPTOR* NewDescriptor,
+ GUID* ObjectType,
+ BOOL IsContainerObject,
+ ULONG AutoInheritFlags,
+ HANDLE Token,
+ PGENERIC_MAPPING GenericMapping)
+{
+ DPRINT1("%s() not implemented!\n", __FUNCTION__);
+ return FALSE;
+}
+
+
+/*
+ * @unimplemented
+ */
+BOOL STDCALL
+CreatePrivateObjectSecurityWithMultipleInheritance(PSECURITY_DESCRIPTOR
ParentDescriptor,
+ PSECURITY_DESCRIPTOR
CreatorDescriptor,
+
PSECURITY_DESCRIPTOR* NewDescriptor,
+ GUID** ObjectTypes,
+ ULONG GuidCount,
+ BOOL
IsContainerObject,
+ ULONG
AutoInheritFlags,
+ HANDLE Token,
+ PGENERIC_MAPPING
GenericMapping)
+{
+ DPRINT1("%s() not implemented!\n", __FUNCTION__);
+ return FALSE;
+}
+
+
+/*
* @implemented
*/
BOOL STDCALL
_____
Modified: trunk/reactos/lib/advapi32/sec/sec.c
--- trunk/reactos/lib/advapi32/sec/sec.c 2005-07-27 01:26:16 UTC
(rev 16774)
+++ trunk/reactos/lib/advapi32/sec/sec.c 2005-07-27 01:31:34 UTC
(rev 16775)
@@ -440,4 +440,21 @@
return TRUE;
}
+
+/*
+ * @unimplemented
+ */
+BOOL
+STDCALL
+ConvertToAutoInheritPrivateObjectSecurity(IN PSECURITY_DESCRIPTOR
ParentDescriptor,
+ IN PSECURITY_DESCRIPTOR
CurrentSecurityDescriptor,
+ OUT PSECURITY_DESCRIPTOR*
NewSecurityDescriptor,
+ IN GUID* ObjectType,
+ IN BOOLEAN IsDirectoryObject,
+ IN PGENERIC_MAPPING
GenericMapping)
+{
+ UNIMPLEMENTED;
+ return FALSE;
+}
+
/* EOF */
_____
Modified: trunk/reactos/lib/advapi32/sec/sid.c
--- trunk/reactos/lib/advapi32/sec/sid.c 2005-07-27 01:26:16 UTC
(rev 16774)
+++ trunk/reactos/lib/advapi32/sec/sid.c 2005-07-27 01:31:34 UTC
(rev 16775)
@@ -303,4 +303,44 @@
return TRUE;
}
+
+/*
+ * @unimplemented
+ */
+BOOL STDCALL
+EqualDomainSid(IN PSID pSid1,
+ IN PSID pSid2,
+ OUT BOOL* pfEqual)
+{
+ DPRINT1("%s() not implemented!\n", __FUNCTION__);
+ return FALSE;
+}
+
+
+/*
+ * @unimplemented
+ */
+BOOL STDCALL
+GetWindowsAccountDomainSid(IN PSID pSid,
+ OUT PSID ppDomainSid,
+ IN OUT DWORD* cbSid)
+{
+ DPRINT1("%s() not implemented!\n", __FUNCTION__);
+ return FALSE;
+}
+
+
+/*
+ * @unimplemented
+ */
+BOOL STDCALL
+CreateWellKnownSid(IN WELL_KNOWN_SID_TYPE WellKnownSidType,
+ IN PSID DomainSid OPTIONAL,
+ OUT PSID pSid,
+ IN OUT DWORD* cbSid)
+{
+ DPRINT1("%s() not implemented!\n", __FUNCTION__);
+ return FALSE;
+}
+
/* EOF */
_____
Modified: trunk/reactos/w32api/include/winnt.h
--- trunk/reactos/w32api/include/winnt.h 2005-07-27 01:26:16 UTC
(rev 16774)
+++ trunk/reactos/w32api/include/winnt.h 2005-07-27 01:31:34 UTC
(rev 16775)
@@ -444,6 +444,73 @@
#define DOMAIN_ALIAS_RID_PRINT_OPS 0x226L
#define DOMAIN_ALIAS_RID_BACKUP_OPS 0x227L
#define DOMAIN_ALIAS_RID_REPLICATOR 0x228L
+
+typedef enum
+{
+ WinNullSid = 0,
+ WinWorldSid,
+ WinLocalSid,
+ WinCreatorOwnerSid,
+ WinCreatorGroupSid,
+ WinCreatorOwnerServerSid,
+ WinCreatorGroupServerSid,
+ WinNtAuthoritySid,
+ WinDialupSid,
+ WinNetworkSid,
+ WinBatchSid,
+ WinInteractiveSid,
+ WinServiceSid,
+ WinAnonymousSid,
+ WinProxySid,
+ WinEnterpriseControllersSid,
+ WinSelfSid,
+ WinAuthenticatedUserSid,
+ WinRestrictedCodeSid,
+ WinTerminalServerSid,
+ WinRemoteLogonIdSid,
+ WinLogonIdsSid,
+ WinLocalSystemSid,
+ WinLocalServiceSid,
+ WinNetworkServiceSid,
+ WinBuiltinDomainSid,
+ WinBuiltinAdministratorsSid,
+ WinBuiltinUsersSid,
+ WinBuiltinGuestsSid,
+ WinBuiltinPowerUsersSid,
+ WinBuiltinAccountOperatorsSid,
+ WinBuiltinSystemOperatorsSid,
+ WinBuiltinPrintOperatorsSid,
+ WinBuiltinBackupOperatorsSid,
+ WinBuiltinReplicatorSid,
+ WinBuiltinPreWindows2000CompatibleAccessSid,
+ WinBuiltinRemoteDesktopUsersSid,
+ WinBuiltinNetworkConfigurationOperatorsSid,
+ WinAccountAdministratorSid,
+ WinAccountGuestSid,
+ WinAccountKrbtgtSid,
+ WinAccountDomainAdminsSid,
+ WinAccountDomainUsersSid,
+ WinAccountDomainGuestsSid,
+ WinAccountComputersSid,
+ WinAccountControllersSid,
+ WinAccountCertAdminsSid,
+ WinAccountSchemaAdminsSid,
+ WinAccountEnterpriseAdminsSid,
+ WinAccountPolicyAdminsSid,
+ WinAccountRasAndIasServersSid,
+ WinNTLMAuthenticationSid,
+ WinDigestAuthenticationSid,
+ WinSChannelAuthenticationSid,
+ WinThisOrganizationSid,
+ WinOtherOrganizationSid,
+ WinBuiltinIncomingForestTrustBuildersSid,
+ WinBuiltinPerfMonitoringUsersSid,
+ WinBuiltinPerfLoggingUsersSid,
+ WinBuiltinAuthorizationAccessSid,
+ WinBuiltinTerminalServerLicenseServersSid,
+ WinBuiltinDCOMUsersSid
+} WELL_KNOWN_SID_TYPE;
+
#define SE_CREATE_TOKEN_NAME TEXT("SeCreateTokenPrivilege")
#define SE_ASSIGNPRIMARYTOKEN_NAME
TEXT("SeAssignPrimaryTokenPrivilege")
#define SE_LOCK_MEMORY_NAME TEXT("SeLockMemoryPrivilege")