Changeset 40445 in vbox for trunk/src/VBox/Additions/common
- Timestamp:
- Mar 13, 2012 2:34:27 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceVMInfo-win.cpp
r40158 r40445 587 587 } 588 588 589 VBoxServiceVerbose(3, "Session data: Name=%ls, Session=%u, LogonID=%ld,%ld, LogonType=%ld\n", 590 pSessionData->UserName.Buffer, 591 pSessionData->Session, 592 pSessionData->LogonId.HighPart, pSessionData->LogonId.LowPart, 593 pSessionData->LogonType); 594 589 595 /* 590 596 * Only handle users which can login interactively or logged in … … 595 601 if ( IsValidSid(pSessionData->Sid) 596 602 && ( (SECURITY_LOGON_TYPE)pSessionData->LogonType == Interactive 597 || (SECURITY_LOGON_TYPE)pSessionData->LogonType == RemoteInteractive ))598 {599 VBoxServiceVerbose(3, "Session data: Name=%ls, Session=%u, LogonID=%ld,%ld, LogonType=%ld\n",600 pSessionData->UserName.Buffer,601 pSessionData->Session,602 pSessionData->LogonId.HighPart, pSessionData->LogonId.LowPart,603 || (SECURITY_LOGON_TYPE)pSessionData->LogonType == RemoteInteractive 604 /* Note: We also need CachedInteractive in case Windows cached the credentials 605 * or just wants to reuse them! */ 606 || (SECURITY_LOGON_TYPE)pSessionData->LogonType == CachedInteractive)) 607 { 608 VBoxServiceVerbose(3, "Session LogonType=%ld is supported -- looking up SID + type ...\n", 603 609 pSessionData->LogonType); 604 610 … … 697 703 } 698 704 } 705 else 706 VBoxServiceVerbose(3, "SID owner type=%d not handled, skipping\n", 707 enmOwnerType); 699 708 } 700 709 … … 771 780 for (ULONG i = 0; i < cSessions; i++) 772 781 { 782 VBoxServiceVerbose(3, "Handling session %u\n", i); 783 773 784 VBOXSERVICEVMINFOUSER UserInfo; 774 785 if (VBoxServiceVMInfoWinIsLoggedIn(&UserInfo, &paSessions[i]))
Note:
See TracChangeset
for help on using the changeset viewer.