Author: ekohl Date: Sat Sep 23 18:58:39 2017 New Revision: 75932
URL: http://svn.reactos.org/svn/reactos?rev=75932&view=rev Log: [LSASRV] Add some comments and improve trace messages.
Modified: trunk/reactos/dll/win32/lsasrv/authport.c trunk/reactos/dll/win32/lsasrv/database.c
Modified: trunk/reactos/dll/win32/lsasrv/authport.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/lsasrv/authport.c... ============================================================================== --- trunk/reactos/dll/win32/lsasrv/authport.c [iso-8859-1] (original) +++ trunk/reactos/dll/win32/lsasrv/authport.c [iso-8859-1] Sat Sep 23 18:58:39 2017 @@ -22,7 +22,7 @@ LsapDeregisterLogonProcess(PLSA_API_MSG RequestMsg, PLSAP_LOGON_CONTEXT LogonContext) { - TRACE("(%p %p)\n", RequestMsg, LogonContext); + TRACE("LsapDeregisterLogonProcess(%p %p)\n", RequestMsg, LogonContext);
RemoveHeadList(&LogonContext->Entry);
@@ -44,7 +44,7 @@ PLSAP_LOGON_CONTEXT Context = NULL; NTSTATUS Status;
- TRACE("(%p)\n", RequestMsg); + TRACE("LsapCheckLogonProcess(%p)\n", RequestMsg);
TRACE("Client ID: %p %p\n", RequestMsg->h.ClientId.UniqueProcess, RequestMsg->h.ClientId.UniqueThread);
@@ -93,7 +93,7 @@ REMOTE_PORT_VIEW RemotePortView; NTSTATUS Status = STATUS_SUCCESS;
- TRACE("(%p)\n", RequestMsg); + TRACE("LsapHandlePortConnection(%p)\n", RequestMsg);
TRACE("Logon Process Name: %s\n", RequestMsg->ConnectInfo.LogonProcessNameBuffer);
Modified: trunk/reactos/dll/win32/lsasrv/database.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/lsasrv/database.c... ============================================================================== --- trunk/reactos/dll/win32/lsasrv/database.c [iso-8859-1] (original) +++ trunk/reactos/dll/win32/lsasrv/database.c [iso-8859-1] Sat Sep 23 18:58:39 2017 @@ -299,21 +299,25 @@ if (!NT_SUCCESS(Status)) goto done;
+ /* Set the Primary Domain Name attribute */ LsapSetObjectAttribute(PolicyObject, L"PolPrDmN", NULL, 0);
+ /* Set the Primary Domain SID attribute */ LsapSetObjectAttribute(PolicyObject, L"PolPrDmS", NULL, 0);
+ /* Set the Account Domain Name attribute */ LsapSetObjectAttribute(PolicyObject, L"PolAcDmN", NULL, 0);
+ /* Set the Account Domain SID attribute */ LsapSetObjectAttribute(PolicyObject, L"PolAcDmS", AccountDomainSid,