Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Added RDP.TransportSettings2.GatewayCredSharing = 0 to fix a bug where selecting use different credentials #97

Closed
wants to merge 2 commits into from

2 participants

@kusuriya

Added RDP.TransportSettings2.GatewayCredSharing = 0 to fix a bug where selecting use different credentials still uses SSO signin and does not pass the different set of credentials.

@rmcardle
Owner

Merged into develop.

@rmcardle rmcardle closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 18, 2012
  1. @kusuriya

    Added RDP.TransportSettings2.GatewayCredSharing = 0 to the SetRDGatew…

    kusuriya authored
    …ay to make it respect separate creds instead of attempting SSO
  2. @kusuriya
This page is out of date. Refresh to see the latest.
View
6 mRemoteV1/Connection/Connection.Protocol.RDP.vb
@@ -176,10 +176,14 @@ Namespace Connection
RDP.TransportSettings.GatewayUsername = Me.Info.Username
RDP.TransportSettings.GatewayPassword = Me.Info.Password
RDP.TransportSettings.GatewayDomain = Me.Info.Domain
+ ElseIf Me.Info.RDGatewayUseConnectionCredentials = RDGatewayUseConnectionCredentials.SmartCard Then
+ RDP.TransportSettings2.GatewayCredsSource = 1
+ RDP.TransportSettings2.GatewayCredSharing = 0
Else
RDP.TransportSettings.GatewayUsername = Me.Info.RDGatewayUsername
RDP.TransportSettings.GatewayPassword = Me.Info.RDGatewayPassword
RDP.TransportSettings.GatewayDomain = Me.Info.RDGatewayDomain
+ RDP.TransportSettings2.GatewayCredSharing = 0
End If
End If
Else
@@ -532,6 +536,8 @@ Namespace Connection
No = 0
<LocalizedDescription("strUseSameUsernameAndPassword")> _
Yes = 1
+ <LocalizedDescription("strUseSmartCard")> _
+ SmartCard = 2
End Enum
#End Region
View
5 mRemoteV1/Language/Resources.de.resx
@@ -1424,6 +1424,9 @@ mRemoteNG wird nun geschlossen und die Installation gestartet.</value>
<data name="strUseDifferentUsernameAndPassword" xml:space="preserve">
<value>Anderen Benutzernamen und Passwort verwenden</value>
</data>
+ <data name="strUseSmartCard" xml:space="preserve">
+ <value>Verwenden einer Smart Card</value>
+ </data>
<data name="strUseSameUsernameAndPassword" xml:space="preserve">
<value>Selben Benutzer und Passwort verwenden</value>
</data>
@@ -1986,4 +1989,4 @@ Fehler Beschreibung: {1}</value>
<data name="strAskUpdatesMainInstruction" xml:space="preserve">
<value>Automatische Update Einstellungen</value>
</data>
-</root>
+</root>
View
5 mRemoteV1/Language/Resources.fr.resx
@@ -1137,6 +1137,9 @@
<data name="strUseDifferentUsernameAndPassword" xml:space="preserve">
<value>Utilisez un autre nom d'utilisateur et mot de passe</value>
</data>
+ <data name="strUseSmartCard" xml:space="preserve">
+ <value>Utilisez une carte � puce</value>
+ </data>
<data name="strUseSameUsernameAndPassword" xml:space="preserve">
<value>Utilisez le même nom d'utilisateur et mot de passe</value>
</data>
@@ -1416,4 +1419,4 @@
<data name="strRDP32768Colors" xml:space="preserve">
<value>32768 couleurs (15 bits)</value>
</data>
-</root>
+</root>
View
5 mRemoteV1/My Project/Resources.resx
@@ -1741,6 +1741,9 @@ mRemoteNG will now quit and begin with the installation.</value>
<data name="strUseDifferentUsernameAndPassword" xml:space="preserve">
<value>Use a different username and password</value>
</data>
+ <data name="strUseSmartCard" xml:space="preserve">
+ <value>Use a Smart Card</value>
+ </data>
<data name="strUseSameUsernameAndPassword" xml:space="preserve">
<value>Use the same username and password</value>
</data>
@@ -2352,4 +2355,4 @@ Error Description: {1}</value>
<data name="strErrorStartupConnectionFileLoad">
<value xml:space="preserve">The startup connection file could not be loaded.{0}{0}{2}{0}{3}{0}{0}In order to prevent data loss, {1} will now exit.</value>
</data>
-</root>
+</root>
Something went wrong with that request. Please try again.