Changeset 45979 in vbox
- Timestamp:
- May 10, 2013 10:35:32 AM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 85632
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/lightdm-greeter/vbox-greeter.cpp
r45859 r45979 372 372 /** @todo Domain handling needed? */ 373 373 char *pszUsername; /* User name only is kept local. */ 374 rc = VbglR3CredentialsRetrieve(&pszUsername, &pCtx->pszPassword, NULL /* pszDomain */); 374 char *pszDomain = NULL; 375 rc = VbglR3CredentialsRetrieve(&pszUsername, &pCtx->pszPassword, &pszDomain); 375 376 if (RT_FAILURE(rc)) 376 377 { … … 379 380 else 380 381 { 381 vboxGreeterLog("vboxGreeterCheckCreds: credentials retrieved: user=%s, password=%s \n",382 vboxGreeterLog("vboxGreeterCheckCreds: credentials retrieved: user=%s, password=%s, domain=%s\n", 382 383 pszUsername, 383 384 #ifdef DEBUG 384 pCtx->pszPassword); 385 #else 386 "XXX"); 387 #endif 385 pCtx->pszPassword, 386 #else 387 "XXX", 388 #endif 389 pszDomain); 388 390 /* Trigger LightDM authentication with the user name just retrieved. */ 389 391 lightdm_greeter_authenticate(pCtx->pGreeter, pszUsername); /* Must be the real user name from host! */ 390 392 391 /* Securely wipe the user name again. */392 VbglR3CredentialsDestroy(pszUsername, NULL /* pszPassword */, NULL /* pszDomain */,393 /* Securely wipe the user name + domain again. */ 394 VbglR3CredentialsDestroy(pszUsername, NULL /* pszPassword */, pszDomain, 393 395 3 /* Three wipe passes */); 394 396 } … … 1484 1486 VbglR3Term(); 1485 1487 1486 RTEXITCODE rcExit = RT_SUCCESS(rc) 1488 RTEXITCODE rcExit = RT_SUCCESS(rc) 1487 1489 ? RTEXITCODE_SUCCESS : RTEXITCODE_FAILURE; 1488 1490 1489 vboxGreeterLog("terminated with exit code %ld (rc=%Rrc)\n", 1491 vboxGreeterLog("terminated with exit code %ld (rc=%Rrc)\n", 1490 1492 rcExit, rc); 1491 1493
Note:
See TracChangeset
for help on using the changeset viewer.