diff --git a/reactos/bootdata/packages/reactos.dff b/reactos/bootdata/packages/reactos.dff index 8470900095e..fc6b90fe013 100755 --- a/reactos/bootdata/packages/reactos.dff +++ b/reactos/bootdata/packages/reactos.dff @@ -72,6 +72,7 @@ lib\cpl\main\main.cpl 1 lib\cpl\ncpa\ncpa.cpl 1 lib\cpl\sysdm\sysdm.cpl 1 lib\cpl\timedate\timedate.cpl 1 +lib\cfgmgr32\cfgmgr32.dll 1 lib\comctl32\comctl32.dll 1 lib\comdlg32\comdlg32.dll 1 lib\crtdll\crtdll.dll 1 @@ -104,6 +105,7 @@ lib\keyboard\kbdsg\kbdsg.dll 1 lib\keyboard\kbduk\kbduk.dll 1 lib\keyboard\kbdus\kbdus.dll 1 lib\kernel32\kernel32.dll 1 +lib\lsasrv\lsasrv.dll 1 lib\lzexpand\lz32.dll 1 lib\mesa32\mesa32.dll 1 lib\winmm\midimap\midimap.dll 1 @@ -134,6 +136,7 @@ lib\riched20\riched20.dll 1 lib\richedit\riched32.dll 1 lib\rpcrt4\rpcrt4.dll 1 lib\samlib\samlib.dll 1 +lib\samsrv\samsrv.dll 1 lib\secur32\secur32.dll 1 lib\serialui\serialui.dll 1 lib\setupapi\setupapi.dll 1 diff --git a/reactos/lib/directory.xml b/reactos/lib/directory.xml index 9cf6fadedaa..c707804511e 100644 --- a/reactos/lib/directory.xml +++ b/reactos/lib/directory.xml @@ -224,6 +224,9 @@ + + + diff --git a/reactos/lib/samsrv/samsrv.c b/reactos/lib/samsrv/samsrv.c new file mode 100644 index 00000000000..ffd2aa31d11 --- /dev/null +++ b/reactos/lib/samsrv/samsrv.c @@ -0,0 +1,51 @@ +/* + * SAM Server DLL + * Copyright (C) 2005 Eric Kohl + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +/* INCLUDES *****************************************************************/ + +#include +#define NTOS_MODE_USER +#include + +//#include + +#define NDEBUG +#include + + +/* FUNCTIONS ****************************************************************/ + +NTSTATUS STDCALL +SamIInitialize(VOID) +{ + DPRINT1("SamIInitialize() called\n"); + + return STATUS_SUCCESS; +} + + +NTSTATUS STDCALL +SampInitializeRegistry(VOID) +{ + DPRINT1("SampInitializeRegistry() called\n"); + + return STATUS_SUCCESS; +} + +/* EOF */ diff --git a/reactos/lib/samsrv/samsrv.def b/reactos/lib/samsrv/samsrv.def new file mode 100644 index 00000000000..f43c7a388c9 --- /dev/null +++ b/reactos/lib/samsrv/samsrv.def @@ -0,0 +1,75 @@ +LIBRARY samsrv +EXPORTS +;SamIAccountRestrictions +;SamIConnect +;SamICreateAccountByRid +;SamIEnumerateAccountRids +;SamIFree_SAMPR_ALIAS_INFO_BUFFER +;SamIFree_SAMPR_DISPLAY_INFO_BUFFER +;SamIFree_SAMPR_DOMAIN_INFO_BUFFER +;SamIFree_SAMPR_ENUMERATION_BUFFER +;SamIFree_SAMPR_GET_GROUPS_BUFFER +;SamIFree_SAMPR_GET_MEMBERS_BUFFER +;SamIFree_SAMPR_GROUP_INFO_BUFFER +;SamIFree_SAMPR_PSID_ARRAY +;SamIFree_SAMPR_RETURNED_USTRING_ARRAY +;SamIFree_SAMPR_SR_SECURITY_DESCRIPTOR +;SamIFree_SAMPR_ULONG_ARRAY +;SamIFree_SAMPR_USER_INFO_BUFFER +;SamIGetPrivateData +;SamIGetSerialNumberDomain +SamIInitialize@0 +;SamINotifyDelta +;SamISetAuditingInformation +;SamISetPrivateData +;SamISetSerialNumberDomain +SampInitializeRegistry@0 +;SampRtlConvertUlongToUnicodeString +;SamrAddMemberToAlias +;SamrAddMemberToGroup +;SamrAddMultipleMemberstoAlias +;SamrChangePasswordUser +;SamrCloseHandle +;SamrConnect +;SamrCreateAliasInDomain +;SamrCreateGroupInDomain +;SamrCreateUserInDomain +;SamrDeleteAlias +;SamrDeleteGroup +;SamrDeleteUser +;SamrEnumerateAliasesInDomain +;SamrEnumerateDomainsInSamServer +;SamrEnumerateGroupsInDomain +;SamrEnumerateUsersInDomain +;SamrGetAliasMembership +;SamrGetGroupsForUser +;SamrGetMembersInAlias +;SamrGetMembersInGroup +;SamrGetUserDomainPasswordInformation +;SamrLookupDomainInSamServer +;SamrLookupIdsInDomain +;SamrLookupNamesInDomain +;SamrOpenAlias +;SamrOpenDomain +;SamrOpenGroup +;SamrOpenUser +;SamrQueryDisplayInformation +;SamrQueryInformationAlias +;SamrQueryInformationDomain +;SamrQueryInformationGroup +;SamrQueryInformationUser +;SamrQuerySecurityObject +;SamrRemoveMemberFromAlias +;SamrRemoveMemberFromForeignDomain +;SamrRemoveMemberFromGroup +;SamrRemoveMultipleMembersFromAlias +;SamrSetInformationAlias +;SamrSetInformationDomain +;SamrSetInformationGroup +;SamrSetInformationUser +;SamrSetMemberAttributesOfGroup +;SamrSetSecurityObject +;SamrShutdownSamServer +;SamrTestPrivateFunctionsDomain +;SamrTestPrivateFunctionsUser +; EOF \ No newline at end of file diff --git a/reactos/lib/samsrv/samsrv.rc b/reactos/lib/samsrv/samsrv.rc new file mode 100644 index 00000000000..2633a568252 --- /dev/null +++ b/reactos/lib/samsrv/samsrv.rc @@ -0,0 +1,5 @@ +#define REACTOS_VERSION_DLL +#define REACTOS_STR_FILE_DESCRIPTION "SAM server DLL\0" +#define REACTOS_STR_INTERNAL_NAME "samsrv\0" +#define REACTOS_STR_ORIGINAL_FILENAME "samsrv.dll\0" +#include diff --git a/reactos/lib/samsrv/samsrv.xml b/reactos/lib/samsrv/samsrv.xml new file mode 100644 index 00000000000..b27212777d1 --- /dev/null +++ b/reactos/lib/samsrv/samsrv.xml @@ -0,0 +1,13 @@ + + + . + + + + -nostartfiles + -nostdlib + ntdll + kernel32 + samsrv.c + samsrv.rc +