mirror of
https://github.com/reactos/reactos.git
synced 2025-01-02 20:43:18 +00:00
[LSASRV]
Add some comments and improve trace messages. svn path=/trunk/; revision=75932
This commit is contained in:
parent
62e2601488
commit
4de8e2e114
2 changed files with 7 additions and 3 deletions
|
@ -22,7 +22,7 @@ static NTSTATUS
|
||||||
LsapDeregisterLogonProcess(PLSA_API_MSG RequestMsg,
|
LsapDeregisterLogonProcess(PLSA_API_MSG RequestMsg,
|
||||||
PLSAP_LOGON_CONTEXT LogonContext)
|
PLSAP_LOGON_CONTEXT LogonContext)
|
||||||
{
|
{
|
||||||
TRACE("(%p %p)\n", RequestMsg, LogonContext);
|
TRACE("LsapDeregisterLogonProcess(%p %p)\n", RequestMsg, LogonContext);
|
||||||
|
|
||||||
RemoveHeadList(&LogonContext->Entry);
|
RemoveHeadList(&LogonContext->Entry);
|
||||||
|
|
||||||
|
@ -44,7 +44,7 @@ LsapCheckLogonProcess(PLSA_API_MSG RequestMsg,
|
||||||
PLSAP_LOGON_CONTEXT Context = NULL;
|
PLSAP_LOGON_CONTEXT Context = NULL;
|
||||||
NTSTATUS Status;
|
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);
|
TRACE("Client ID: %p %p\n", RequestMsg->h.ClientId.UniqueProcess, RequestMsg->h.ClientId.UniqueThread);
|
||||||
|
|
||||||
|
@ -93,7 +93,7 @@ LsapHandlePortConnection(PLSA_API_MSG RequestMsg)
|
||||||
REMOTE_PORT_VIEW RemotePortView;
|
REMOTE_PORT_VIEW RemotePortView;
|
||||||
NTSTATUS Status = STATUS_SUCCESS;
|
NTSTATUS Status = STATUS_SUCCESS;
|
||||||
|
|
||||||
TRACE("(%p)\n", RequestMsg);
|
TRACE("LsapHandlePortConnection(%p)\n", RequestMsg);
|
||||||
|
|
||||||
TRACE("Logon Process Name: %s\n", RequestMsg->ConnectInfo.LogonProcessNameBuffer);
|
TRACE("Logon Process Name: %s\n", RequestMsg->ConnectInfo.LogonProcessNameBuffer);
|
||||||
|
|
||||||
|
|
|
@ -299,21 +299,25 @@ LsapCreateDatabaseObjects(VOID)
|
||||||
if (!NT_SUCCESS(Status))
|
if (!NT_SUCCESS(Status))
|
||||||
goto done;
|
goto done;
|
||||||
|
|
||||||
|
/* Set the Primary Domain Name attribute */
|
||||||
LsapSetObjectAttribute(PolicyObject,
|
LsapSetObjectAttribute(PolicyObject,
|
||||||
L"PolPrDmN",
|
L"PolPrDmN",
|
||||||
NULL,
|
NULL,
|
||||||
0);
|
0);
|
||||||
|
|
||||||
|
/* Set the Primary Domain SID attribute */
|
||||||
LsapSetObjectAttribute(PolicyObject,
|
LsapSetObjectAttribute(PolicyObject,
|
||||||
L"PolPrDmS",
|
L"PolPrDmS",
|
||||||
NULL,
|
NULL,
|
||||||
0);
|
0);
|
||||||
|
|
||||||
|
/* Set the Account Domain Name attribute */
|
||||||
LsapSetObjectAttribute(PolicyObject,
|
LsapSetObjectAttribute(PolicyObject,
|
||||||
L"PolAcDmN",
|
L"PolAcDmN",
|
||||||
NULL,
|
NULL,
|
||||||
0);
|
0);
|
||||||
|
|
||||||
|
/* Set the Account Domain SID attribute */
|
||||||
LsapSetObjectAttribute(PolicyObject,
|
LsapSetObjectAttribute(PolicyObject,
|
||||||
L"PolAcDmS",
|
L"PolAcDmS",
|
||||||
AccountDomainSid,
|
AccountDomainSid,
|
||||||
|
|
Loading…
Reference in a new issue