LAN plugin not working properly... strange log file

Support for Android version of Total Commander

Moderators: Hacker, petermad, Stefan2, white

Post Reply
HeeroYuy
Junior Member
Junior Member
Posts: 4
Joined: 2023-07-30, 16:59 UTC

LAN plugin not working properly... strange log file

Post by *HeeroYuy »

I have a strange behavior here. I added my local NAS with the LAN plugin.
Name: Nanotek Dynamic
Address: 192.168.1.11/ARCHIV
Where "ARCHIV" is an aggregation folder in the QNAP settings, like this:
Name - Hostname - Remote share
01 ALLGEMEIN - 192.168.1.11 - ALLGEMEIN
02 Steve - 192.168.1.11 - Steve
...
Connecting into the ARCHIV folder seems to work:
2023-07-30 18:47:49.391 HOST:LAN:get dir: /Nanotek Dynamic/ARCHIV/
2023-07-30 18:47:49.408 LAN:CONNECT Nanotek Dynamic
But going one layer deeper (here in 01 ALLGEMEIN):
2023-07-30 18:47:51.467 HOST:LAN:get dir: /Nanotek Dynamic/ARCHIV/01 ALLGEMEIN/
2023-07-30 18:47:51.509 LAN:Verbindungsfehler! Gemeldeter Fehler:
STATUS_OBJECT_NAME_NOT_FOUND (0xc0000034): Create failed for \\192.168.1.11\ARCHIV\01 ALLGEMEIN
/ARCHIV/01 ALLGEMEIN/

A second try:
2023-07-30 18:47:55.890 HOST:LAN:get dir: /Nanotek Dynamic/ARCHIV/01 ALLGEMEIN/
2023-07-30 18:47:56.455 LAN:Verbindungsfehler! Gemeldeter Fehler:
j has already been closed
/ARCHIV/01 ALLGEMEIN/

Closing the connection:
2023-07-30 18:48:02.111 HOST:LAN:disconnect: Nanotek Dynamic
2023-07-30 18:48:02.160 LAN:DISCONNECT Nanotek Dynamic
2023-07-30 18:48:02.265 HOST:LAN:get dir: /
2023-07-30 18:49:46.930 tc:Move 1 files:/storage/emulated/0/.TotalCommander/->/storage/emulated/0/Download/

What is going on here? Especially "\\192.168.1.11\ARCHIV\01 ALLGEMEIN/ARCHIV/01 ALLGEMEIN/" That is so wrong but not my fault.
I know, that this App and the plugin have been working a long time ago with a Samsung S7.

After a few tries, the device gets blocked due to a wrong/incorrect login by the NAS itself.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 49100
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: LAN plugin not working properly... strange log file

Post by *ghisler(Author) »

From the log, it looks like the SMB library sends the path with a mix of forward slashes and backslashes. Most servers seem to be able to handle that, but your NAS apparently doesn't. I will check why it's sending forward slashes, they should all be converted to backslashes.
Author of Total Commander
https://www.ghisler.com
HeeroYuy
Junior Member
Junior Member
Posts: 4
Joined: 2023-07-30, 16:59 UTC

Re: LAN plugin not working properly... strange log file

Post by *HeeroYuy »

So.... found something?
I checked everything on my site. I can't change anything.

If its helping: I'm using a QNAP NAS with firmware 5.x
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 49100
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: LAN plugin not working properly... strange log file

Post by *ghisler(Author) »

Sorry, I couldn't reproduce the problem, it must be a different SMB implementation just on your NAS.
Author of Total Commander
https://www.ghisler.com
HeeroYuy
Junior Member
Junior Member
Posts: 4
Joined: 2023-07-30, 16:59 UTC

Re: LAN plugin not working properly... strange log file

Post by *HeeroYuy »

Which SMB version should be used?

Edit: The FTP plugin is working even with a ftpes connection.

It's strange, because I never changed my NAS' configuration.
Where can I find some requirements for the LAN plugin?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 49100
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: LAN plugin not working properly... strange log file

Post by *ghisler(Author) »

Which SMB version should be used?
It depends on the device. SMB1 one one side and SMB2/3 on the other use different libraries. SMB1 should only be used with older devices (by unchecking both SMB2 and SMB3), most newer devices don't support it any more.
SMB3 also supports encryption, but that makes file transfers slower, so it can be enabled separately.
Normally you should be fine when enabling both SMB2 and SMB3.
Author of Total Commander
https://www.ghisler.com
HeeroYuy
Junior Member
Junior Member
Posts: 4
Joined: 2023-07-30, 16:59 UTC

Re: LAN plugin not working properly... strange log file

Post by *HeeroYuy »

Using the NAS w/o aggregation folder works fine... So it must be a specific problem with that feature.
Case closed.
User avatar
AntonyD
Power Member
Power Member
Posts: 1376
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

Re: LAN plugin not working properly... strange log file

Post by *AntonyD »

2HeeroYuy
NAS w/o aggregation folder
Are you saying about this:
https://docs.qnap.com/operating-system/qts/4.5.x/en-us/GUID-047D026B-EF24-48D0-93EE-2FE5F853C9BC.html
https://kb.synology.com/en-af/DSM/help/SMBService/smbservice_aggregate_portal?version=7
feature???
Simply if - yes, then it makes sense for the author to repeat these settings on his test environment and try to reproduce
the error again. And it is possible to fix the root of the problem in this case!
#146217 personal license
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 49100
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: LAN plugin not working properly... strange log file

Post by *ghisler(Author) »

Unfortunately I do not have a QNAP NAS, so I cannot recreate the problem.
Author of Total Commander
https://www.ghisler.com
Post Reply