Hi,
How do i get a password prompt enabled during "AccountConnect" process und Unix/Linux ?
I configured the user and the radius auth type with "AccountPasswordSet" and did not configured any password there.
If i start tunnel with "AccountConnect vpn", the vpmcmd says: "The command completed successfully", but no prompt popup regarding password input ?
SoftEther Version: 4.15 Build 9546
vpn_client.config:
{code}
declare root
{
	bool DisableRelayServer false
	bool DontSavePassword true
	bool EnableVPNGateService false
	byte EncryptedPassword ********************************************
	bool HideVPNGateServiceMessage false
	bool PasswordRemoteOnly true
	uint UseSecureDeviceId 0
	declare AccountDatabase
	{
		declare Account0
		{
			bool CheckServerCert false
			uint64 CreateDateTime 1430886681826
			uint64 LastConnectDateTime 1431401574323
			string ShortcutKey 3FAB674581791D67337E4190350A28B82901808A
			bool StartupAccount false
			uint64 UpdateDateTime 1431401566275
			declare ClientAuth
			{
				uint AuthType 2
				byte EncryptedPassword $
				string Username USER1
			}
			declare ClientOption
			{
				string AccountName vpn
				uint AdditionalConnectionInterval 1
				uint ConnectionDisconnectSpan 0
				string DeviceName VPN
				bool DisableQoS false
				bool HalfConnection false
				bool HideNicInfoWindow false
				bool HideStatusWindow false
				string Hostname xx.xxx.xx.xxx
				string HubName HUB1
				uint MaxConnection 2
				bool NoRoutingTracking false
				bool NoTls1 false
				bool NoUdpAcceleration false
				uint NumRetry 0
				uint Port 5555
				uint PortUDP 0
				string ProxyName $
				byte ProxyPassword $
				uint ProxyPort 0
				uint ProxyType 0
				string ProxyUsername $
				bool RequireBridgeRoutingMode false
				bool RequireMonitorMode false
				uint RetryInterval 15
				bool UseCompress false
				bool UseEncrypt true
			}
		}
	}
	declare ClientManagerSetting
	{
		bool EasyMode false
		bool LockMode false
	}
	declare CommonProxySetting
	{
		string ProxyHostName $
		uint ProxyPort 0
		uint ProxyType 0
		string ProxyUsername $
	}
	declare Config
	{
		bool AllowRemoteConfig true
		uint64 AutoDeleteCheckDiskFreeSpaceMin 104857600
		string KeepConnectHost keepalive.softether.org
		uint KeepConnectInterval 50
		uint KeepConnectPort 80
		uint KeepConnectProtocol 1
		bool NoChangeWcmNetworkSettingOnWindows8 false
		bool UseKeepConnect false
	}
	declare RootCA
	{
	}
	declare UnixVLan
	{
		declare VPN
		{
			bool Enabled true
			string MacAddress XX-XX-XX-XX-XX-XX
		}
	}
}
{code}
			
									
									
						vpncmd on unix client and password prompt
- 
				thisjun
 - Posts: 2458
 - Joined: Mon Feb 24, 2014 11:03 am
 
Re: vpncmd on unix client and password prompt
I think the password was cached.
Please disable password caching and clear the password.
			
									
									
						Please disable password caching and clear the password.
- 
				vpnuser99
 - Posts: 5
 - Joined: Tue May 05, 2015 1:24 pm
 
Re: vpncmd on unix client and password prompt
Hi thisjun,
How do i reset/clear the password correctly ?
I tried:
1)
- stop softether client
- clear the password string from vpn_client.config
- start softether client
- start connect
-> same behaviour as before, no password prompt during connect.
2)
- set password newly with vpncmd command
-> this have also no effect.
Maybe this feature is not available in the CLI softether version ?
			
									
									
						How do i reset/clear the password correctly ?
I tried:
1)
- stop softether client
- clear the password string from vpn_client.config
- start softether client
- start connect
-> same behaviour as before, no password prompt during connect.
2)
- set password newly with vpncmd command
-> this have also no effect.
Maybe this feature is not available in the CLI softether version ?
- 
				thisjun
 - Posts: 2458
 - Joined: Mon Feb 24, 2014 11:03 am
 
Re: vpncmd on unix client and password prompt
I think the user is configured empty password or anonymous auth.
			
									
									
						- 
				vpnuser99
 - Posts: 5
 - Joined: Tue May 05, 2015 1:24 pm
 
Re: vpncmd on unix client and password prompt
Hi @thisjun,
Check my config from the first post. That is the config from the user.
The user is configured to use a password (no anonymous auth or empty password)
How else you must configure the vpnclient to get the password prompt during the login ?
I fear this feature are just available in the GUI client, but not in the CLI version, or ?
Regards,
vpnuser99
			
									
									
						Check my config from the first post. That is the config from the user.
The user is configured to use a password (no anonymous auth or empty password)
How else you must configure the vpnclient to get the password prompt during the login ?
I fear this feature are just available in the GUI client, but not in the CLI version, or ?
Regards,
vpnuser99
- 
				thisjun
 - Posts: 2458
 - Joined: Mon Feb 24, 2014 11:03 am
 
Re: vpncmd on unix client and password prompt
Please change the configuration file.
bool DontSavePassword true
			
									
									
						bool DontSavePassword true
- 
				vpnuser99
 - Posts: 5
 - Joined: Tue May 05, 2015 1:24 pm
 
Re: vpncmd on unix client and password prompt
Hi @thinjun,
I tried it and it does _not_ work.
I did not checked the code right now, but i fear this feature is not really implemented in the vpncmd, or is it ?
Regards,
vpnuser99
			
									
									
						I tried it and it does _not_ work.
I did not checked the code right now, but i fear this feature is not really implemented in the vpncmd, or is it ?
Regards,
vpnuser99
- 
				thisjun
 - Posts: 2458
 - Joined: Mon Feb 24, 2014 11:03 am
 
Re: vpncmd on unix client and password prompt
There isn't error popup in Linux.
"The command completed successfully" means just success to start connecting.
However the message is shown regardless of whether VPN connection success.
Please check AccountStatusGet after connecting command.
			
									
									
						"The command completed successfully" means just success to start connecting.
However the message is shown regardless of whether VPN connection success.
Please check AccountStatusGet after connecting command.
