Page 1 of 1

LAN plugin shows also unshared drives

Posted: 2020-06-03, 15:32 UTC
by chandragor
@ghisler

I searched around this forum and I wasn't able to find anything about it.
If I am wrong, please accept my apologies.

I'm using the latest version of TC for Android with the LAN plugin.
Whenever I create a connection to a PC, every drive and partition are listed,
even if there is no permission to access them (drive names end with $, i.e.: C$, D$ and so on).
There is also a folder named ADMIN$ which is not accessible too.

Is there any way to hide them from the list?
For example by filtering everything which ends with the dollar char ($) ?
You could implement a check in the configuration to set/reset this behaviour.

Thanks in advance.

Re: LAN plugin shows also unshared drives

Posted: 2020-06-08, 08:22 UTC
by ghisler(Author)
These are so-called administrative shares. You need to connect with the admin account to access them. Unfortunately there is no way to determine whether the current user has the rights to access them or not.
Is there any way to hide them from the list?
No, unfortunately not. The ignore list currently doesn't work with plugins.

Re: LAN plugin shows also unshared drives

Posted: 2020-06-09, 07:08 UTC
by chandragor
What about my suggestion to filter them by the fact that each administrative share ends by a $ (dollar char) ?

Just don't add them to the list of shares if they end that way. Isn't this possible ?

And by adding a check in the configuration of the connection, besides the other parameters like if SMB2 should be used,
the user can choose if that filter should be applied or not.

Re: LAN plugin shows also unshared drives

Posted: 2020-06-11, 09:11 UTC
by ghisler(Author)
I was asked by other users to keep these administrative shares available. They CAN be used with the right user name and password...

Re: LAN plugin shows also unshared drives

Posted: 2020-06-11, 15:12 UTC
by chandragor
That's why I asked for a checkbox in the configuration of each connection to enable/disable the feature,
just like the enable/disable SMB2 checkbox or the "Protect with master pass" checkbox.

Re: LAN plugin shows also unshared drives

Posted: 2020-06-12, 07:47 UTC
by ghisler(Author)
That's a good idea, I will add it to my wish list.