VirtualBox

Ignore:
Timestamp:
Dec 1, 2010 10:56:44 AM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
68349
Message:

Updated VBox authentication library interface, removed references to VRDP.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/auth/directoryservice/directoryservice.cpp

    r33185 r34558  
    258258
    259259RT_C_DECLS_BEGIN
    260 DECLEXPORT(VRDPAuthResult) VRDPAUTHCALL VRDPAuth(PVRDPAUTHUUID pUuid,
    261                                                  VRDPAuthGuestJudgement guestJudgement,
    262                                                  const char *pszUser,
    263                                                  const char *pszPassword,
    264                                                  const char *pszDomain)
     260DECLEXPORT(AuthResult) AUTHCALL VRDPAuth(PAUTHUUID pUuid,
     261                                         AuthGuestJudgement guestJudgement,
     262                                         const char *pszUser,
     263                                         const char *pszPassword,
     264                                         const char *pszDomain)
    265265{
    266266    /* Validate input */
    267     AssertPtrReturn(pszUser, VRDPAuthAccessDenied);
    268     AssertPtrReturn(pszPassword, VRDPAuthAccessDenied);
     267    AssertPtrReturn(pszUser, AuthResultAccessDenied);
     268    AssertPtrReturn(pszPassword, AuthResultAccessDenied);
    269269
    270270    /* Result to a default value */
    271     VRDPAuthResult result = VRDPAuthAccessDenied;
     271    AuthResult result = AuthResultAccessDenied;
    272272
    273273    tDirStatus dsErr = eDSNoErr;
     
    299299                    dsErr = authWithNode(pDirRef, pAuthNodeList, pszUser, pszPassword);
    300300                    if (dsErr == eDSNoErr)
    301                         result = VRDPAuthAccessGranted;
     301                        result = AuthResultAccessGranted;
    302302                    dsCleanErr = dsDataListDeallocate(pDirRef, pAuthNodeList);
    303303                    if (dsCleanErr == eDSNoErr)
     
    317317RT_C_DECLS_END
    318318
    319 static PVRDPAUTHENTRY gpfnAuthEntry = VRDPAuth;
    320 
     319static PAUTHENTRY gpfnAuthEntry = VRDPAuth;
     320
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