- Add samsrv.dll stub. - Install cfgmgr32.dll, lsasrv.dll and samsrv.dll. Modified: trunk/reactos/bootdata/packages/reactos.dff Modified: trunk/reactos/lib/directory.xml Added: trunk/reactos/lib/samsrv/ Added: trunk/reactos/lib/samsrv/samsrv.c Added: trunk/reactos/lib/samsrv/samsrv.def Added: trunk/reactos/lib/samsrv/samsrv.rc Added: trunk/reactos/lib/samsrv/samsrv.xml _____
Modified: trunk/reactos/bootdata/packages/reactos.dff --- trunk/reactos/bootdata/packages/reactos.dff 2005-10-16 01:29:08 UTC (rev 18491) +++ trunk/reactos/bootdata/packages/reactos.dff 2005-10-16 09:58:19 UTC (rev 18492) @@ -72,6 +72,7 @@
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\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\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 _____
Modified: trunk/reactos/lib/directory.xml --- trunk/reactos/lib/directory.xml 2005-10-16 01:29:08 UTC (rev 18491) +++ trunk/reactos/lib/directory.xml 2005-10-16 09:58:19 UTC (rev 18492) @@ -224,6 +224,9 @@
<directory name="samlib"> <xi:include href="samlib/samlib.xml" /> </directory> +<directory name="samsrv"> + <xi:include href="samsrv/samsrv.xml" /> +</directory> <directory name="secur32"> <xi:include href="secur32/secur32.xml" /> </directory> _____
Added: trunk/reactos/lib/samsrv/samsrv.c --- trunk/reactos/lib/samsrv/samsrv.c 2005-10-16 01:29:08 UTC (rev 18491) +++ trunk/reactos/lib/samsrv/samsrv.c 2005-10-16 09:58:19 UTC (rev 18492) @@ -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 <windows.h> +#define NTOS_MODE_USER +#include <ndk/ntndk.h> + +//#include <samsrv.h> + +#define NDEBUG +#include <debug.h> + + +/* FUNCTIONS ****************************************************************/ + +NTSTATUS STDCALL +SamIInitialize(VOID) +{ + DPRINT1("SamIInitialize() called\n"); + + return STATUS_SUCCESS; +} + + +NTSTATUS STDCALL +SampInitializeRegistry(VOID) +{ + DPRINT1("SampInitializeRegistry() called\n"); + + return STATUS_SUCCESS; +} + +/* EOF */ _____
Added: trunk/reactos/lib/samsrv/samsrv.def --- trunk/reactos/lib/samsrv/samsrv.def 2005-10-16 01:29:08 UTC (rev 18491) +++ trunk/reactos/lib/samsrv/samsrv.def 2005-10-16 09:58:19 UTC (rev 18492) @@ -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 _____
Added: trunk/reactos/lib/samsrv/samsrv.rc --- trunk/reactos/lib/samsrv/samsrv.rc 2005-10-16 01:29:08 UTC (rev 18491) +++ trunk/reactos/lib/samsrv/samsrv.rc 2005-10-16 09:58:19 UTC (rev 18492) @@ -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 <reactos/version.rc> _____
Added: trunk/reactos/lib/samsrv/samsrv.xml --- trunk/reactos/lib/samsrv/samsrv.xml 2005-10-16 01:29:08 UTC (rev 18491) +++ trunk/reactos/lib/samsrv/samsrv.xml 2005-10-16 09:58:19 UTC (rev 18492) @@ -0,0 +1,13 @@
+<module name="samsrv" type="win32dll" baseaddress="${BASEADDRESS_SAMSRV}" entrypoint="0" installbase="system32" installname="samsrv.dll"> + <importlibrary definition="samsrv.def" /> + <include base="samsrv">.</include> + <define name="UNICODE" /> + <define name="_UNICODE" /> + <define name="__USE_W32API" /> + <linkerflag>-nostartfiles</linkerflag> + <linkerflag>-nostdlib</linkerflag> + <library>ntdll</library> + <library>kernel32</library> + <file>samsrv.c</file> + <file>samsrv.rc</file> +</module>