VirtualBox

Ignore:
Timestamp:
Feb 11, 2011 1:13:06 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
69997
Message:

VBoxAuth samples: updated to the new generic auth interface (mac build fix).

File:
1 edited

Legend:

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

    r35943 r35944  
    267267{
    268268    /* Validate input */
    269     AssertPtrReturn(pszUser, AuthResultAccessDenied);
    270     AssertPtrReturn(pszPassword, AuthResultAccessDenied);
     269    AssertPtrReturn(szUser, AuthResultAccessDenied);
     270    AssertPtrReturn(szPassword, AuthResultAccessDenied);
    271271
    272272    /* Result to a default value */
     
    299299                 * authenticate has the short form. */
    300300                tDataListPtr pAuthNodeList = NULL;
    301                 dsErr = userAuthInfo(pDirRef, pSearchNodeRef, pszUser, &pAuthNodeList);
     301                dsErr = userAuthInfo(pDirRef, pSearchNodeRef, szUser, &pAuthNodeList);
    302302                if (dsErr == eDSNoErr)
    303303                {
    304304                    /* Open the authentication node and do the authentication. */
    305                     dsErr = authWithNode(pDirRef, pAuthNodeList, pszUser, pszPassword);
     305                    dsErr = authWithNode(pDirRef, pAuthNodeList, szUser, szPassword);
    306306                    if (dsErr == eDSNoErr)
    307307                        result = AuthResultAccessGranted;
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