LAN plugin with no password [solved]

Support for Android version of Total Commander

Moderators: white, Hacker, petermad, Stefan2

Post Reply
qx87
Junior Member
Junior Member
Posts: 23
Joined: 2011-11-17, 20:51 UTC
Location: Russia

LAN plugin with no password [solved]

Post by *qx87 »

I'm trying to connect to Windows 7 share via LAN plugin using the admin-privileged username which has not a password.

1. If I specify username in parameters of LAN's server I get request for password when trying to connect. Neither empty line nor any symbol combination fit. But after hitting OK button I see the password request again without any error message.

2. If I do not specify username I still get password request and see the same behavior of TC. Can't understand even which password I should type.

What should I do to connect to Windows 7 share under user with no password?

Server OS: Windows 7 Home Basic x86 SP1
Phone: Samsung Galaxy S II
Phone OS: Android 4.0.3
TC 2.03 public beta 2
LAN plugin 2.03

P. S. TC works correctly in the same situation under Windows XP.
Last edited by qx87 on 2013-09-18, 11:19 UTC, edited 1 time in total.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48166
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

To my knowledge, it isn't possible to connect remotely to an account which doesn't have a password set, at least not on Windows Vista/7.
Author of Total Commander
https://www.ghisler.com
Bartusg
Junior Member
Junior Member
Posts: 34
Joined: 2010-12-11, 22:17 UTC

Post by *Bartusg »

It should not be:
"...By default, an account with a blank password can be used only for logging on at the console. It cannot be used for network access."

In more detail:

Code: Select all

http://blogs.msdn.com/b/aaron_margosis/archive/2004/06/17/158806.aspx
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48166
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Well, network access is exactly what you are trying to do with the LAN plugin. It doesn't work without a passwords. Only interactive login does work, as you quoted yourself.
Author of Total Commander
https://www.ghisler.com
qx87
Junior Member
Junior Member
Posts: 23
Joined: 2011-11-17, 20:51 UTC
Location: Russia

Post by *qx87 »

The problem resolved. Three steps required:

1. Make network home or working.
2. Turn off password protected sharing.
3. Share folder for Everyone.

After that LAN plugin doesn't require user or password and correctly logs in.
sphere314
Junior Member
Junior Member
Posts: 4
Joined: 2013-04-13, 16:19 UTC

Post by *sphere314 »

qx87 wrote:The problem resolved. Three steps required:

1. Make network home or working.
2. Turn off password protected sharing.
3. Share folder for Everyone.

After that LAN plugin doesn't require user or password and correctly logs in.
Thanks!!!
That worked for me too (Windows 8 with no password) :)

Just to clarify a little better (especially for W8 users):
In "Control Panel - Network and Sharing Center"
1) My network is set as a "Private network"
2) In "Change advanced sharing settings / All networks" I checked "Turn off password protected sharing"
3) This way I can see (in my tablet through TC) all my PC's HD and partitions but I can only access the ones that I set as "shared".
77kdv77
Junior Member
Junior Member
Posts: 23
Joined: 2013-05-01, 05:09 UTC

Post by *77kdv77 »

but connecting in such way (without password) has one issue: now you can't play/view media files via LAN plagin. I/O error in all media players… can author fix it?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48166
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Make sure to set a password - the lan plugin will ask for it, and the latest version now also supports streaming when the password isn't stored.
Author of Total Commander
https://www.ghisler.com
77kdv77
Junior Member
Junior Member
Posts: 23
Joined: 2013-05-01, 05:09 UTC

Post by *77kdv77 »

no, it dosn't. I connect as Guest and can't play video files via LAN plagin. other file managers work fine…

more exact: it works in win 7, but dosn't in win xp sp3
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48166
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Sorry, guest isn't currently supported for streaming because of the missing password.
Author of Total Commander
https://www.ghisler.com
User avatar
Bavaria
Junior Member
Junior Member
Posts: 12
Joined: 2004-01-01, 15:32 UTC

Post by *Bavaria »

Hello Everybody,

it is correct, that Win7 and Win8 do no allow a blank password for network login. But this can be changed with the Policy Editor:

You can disable blank password restrictions by using a policy. To locate and change this policy:
1. Click Start, point to Run, type gpedit.msc, and then click OK to start the Group Policy Editor.
2. Open Computer Configuration\Windows Settings\Security Settings\Local Policies\Security Options\Accounts: Limit local account use of blank passwords to console logon only.
3. Double-click Limit local account use of blank passwords to consol logon only.
4. Click Disabled, and then click OK.
5. Quit Group Policy Editor.

Eingefügt aus <http://support.microsoft.com/kb/303846/en-us>

You don't have to share everything for everybody.
WinCommander / TotalCommander User seit Version 2; TC for Android user
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48166
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Yes, I'm aware of that. The problem is that the plugin cannot currently distinguish between a connection which doesn't require a password, and one which requires one but the user doesn't want to save it.
Author of Total Commander
https://www.ghisler.com
77kdv77
Junior Member
Junior Member
Posts: 23
Joined: 2013-05-01, 05:09 UTC

Post by *77kdv77 »

ghisler(Author) wrote:Sorry, guest isn't currently supported for streaming because of the missing password.
now it streams from XP as guest without password :-) thanks!
Post Reply