Skip to content

Commit

Permalink
add support for empty password
Browse files Browse the repository at this point in the history
  • Loading branch information
MutonUfoAI committed Jul 11, 2016
1 parent 2d6f69f commit 8784440
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Installer/installer.iss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#define MyAppName "pGina.fork"
#define MyAppVersion "3.9.9.3"
#define MyAppVersion "3.9.9.4"
#define MyAppPublisher "pGina Team"
#define MyAppURL "http://www.pgina.org/"
#define MyAppExeName "pGina.Configuration.exe"
Expand Down
4 changes: 2 additions & 2 deletions pGina/src/Core/Properties/SharedAssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@
// Build Number
// Revision
//
[assembly: AssemblyVersion("3.9.9.3")]
[assembly: AssemblyFileVersion("3.9.9.3")]
[assembly: AssemblyVersion("3.9.9.4")]
[assembly: AssemblyFileVersion("3.9.9.4")]
4 changes: 2 additions & 2 deletions pGina/src/CredentialProvider/Credential.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ namespace pGina
// At this point the info has passed to the service and been validated, so now we have to pack it up and provide it back to
// LogonUI/Winlogon as a serialized/packed logon structure.

pGina::Service::StateHelper::PushUsername(username, password, pGina::Service::StateHelper::GetLoginChangePassword());
pGina::Service::StateHelper::PushUsername(username, (password)? password: L"", pGina::Service::StateHelper::GetLoginChangePassword());

m_loginResult.Username(loginResult.Username());
m_loginResult.Password(loginResult.Password());
Expand Down Expand Up @@ -692,7 +692,7 @@ namespace pGina
{
// Init kiul
KERB_INTERACTIVE_UNLOCK_LOGON kiul;
result = Microsoft::Sample::KerbInteractiveUnlockLogonInit(domain, username, password, m_usageScenario, &kiul);
result = Microsoft::Sample::KerbInteractiveUnlockLogonInit(domain, username, (password)? password : L"", m_usageScenario, &kiul);
if(!SUCCEEDED(result))
{
if (hThread_dialog != NULL)
Expand Down
8 changes: 4 additions & 4 deletions pGina/src/CredentialProvider/CredentialProvider.rc
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ IDB_PGINA_ERROR BITMAP "error.bmp"
//

VS_VERSION_INFO VERSIONINFO
FILEVERSION 3,9,9,3
PRODUCTVERSION 3,9,9,3
FILEVERSION 3,9,9,4
PRODUCTVERSION 3,9,9,4
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
Expand All @@ -76,10 +76,10 @@ BEGIN
BEGIN
VALUE "CompanyName", "pGina Team"
VALUE "FileDescription", "pGina Credential Provider"
VALUE "FileVersion", "3.9.9.3"
VALUE "FileVersion", "3.9.9.4"
VALUE "LegalCopyright", "Copyright (C) pGina Team 2016"
VALUE "ProductName", "pGina"
VALUE "ProductVersion", "3.9.9.3"
VALUE "ProductVersion", "3.9.9.4"
END
END
BLOCK "VarFileInfo"
Expand Down

0 comments on commit 8784440

Please sign in to comment.