VirtualBox

Changeset 59594 in vbox for trunk/src/VBox/Runtime/r3/win


Ignore:
Timestamp:
Feb 5, 2016 1:28:47 PM (9 years ago)
Author:
vboxsync
Message:

IPRT: r3/win/process-win.cpp: Disabled LSA cache handling for NT4.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/win/process-win.cpp

    r59546 r59594  
    3838#include <errno.h>
    3939#include <Strsafe.h>
    40 #include <LsaLookup.h>
     40#ifndef TARGET_NT4
     41# include <LsaLookup.h>
     42#endif
    4143#include <Lmcons.h>
    4244
    43 #define _NTDEF_ /* Prevents redefining (P)UNICODE_STRING. */
    44 #include <Ntsecapi.h>
     45#ifndef TARGET_NT4
     46# define _NTDEF_ /* Prevents redefining (P)UNICODE_STRING. */
     47# include <Ntsecapi.h>
     48#endif
    4549
    4650#include <iprt/process.h>
     
    13311335            }
    13321336            else
    1333                 rc = VERR_INVALID_PARAMETER;
     1337                rc = VERR_NOT_SUPPORTED;
    13341338
    13351339        } while (0);
     
    14301434                dwErr = GetLastError();
    14311435
     1436#ifndef TARGET_NT4
    14321437                /*
    14331438                 * The errors ERROR_TRUSTED_DOMAIN_FAILURE and ERROR_TRUSTED_RELATIONSHIP_FAILURE
     
    15221527                    /* Note: pSid will be free'd down below. */
    15231528                }
    1524                 else if (dwErr == ERROR_INSUFFICIENT_BUFFER)
     1529                else
     1530#endif /* !TARGET_NT4 */
     1531                if (dwErr == ERROR_INSUFFICIENT_BUFFER)
    15251532                {
    15261533                    /* Allocate memory for the LookupAccountNameW output buffers and do it for real. */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette