futeko.com FORUM

Product Support => HiMedia Q10 Pro, Q5 Pro => Topic started by: DMD on July 10, 2018, 07:11:45 PM

Title: Problem password request shared folders
Post by: DMD on July 10, 2018, 07:11:45 PM
Good evening.
I shared the folders the same way, some folders can not log in and prompt me for my password.

(https://s8.postimg.cc/i1auy9zpx/Ridimensiona_di_WP_20180710_19_55_20_Pro.jpg)



Others can log in normally without a password.

(https://s8.postimg.cc/r933ezehx/Ridimensiona_di_WP_20180710_19_55_37_Pro.jpg)



How is this possible?
I can not find an explanation, I use W10 1803b17134.137.

Thank you
Title: Re: Problem password request shared folders
Post by: Topdude on July 10, 2018, 09:07:26 PM
Check your network settings in Windows. Uncheck the password setting for file sharing in your network.

In case you don't have the password setting in your network enabled you can click cancel in that screen and the box will create the shortcut anyway.
Title: Re: Problem password request shared folders
Post by: pdasterly on July 10, 2018, 09:09:42 PM
try nfs 8)
Title: Re: Problem password request shared folders
Post by: DMD on July 10, 2018, 09:29:07 PM
Check your network settings in Windows. Uncheck the password setting for file sharing in your network.

In case you don't have the password setting in your network enabled you can click cancel in that screen and the box will create the shortcut anyway.
All this has already been done, and is a setting common to all windows folders, since I can access some of them to others not, only with HiMedia, trying accessibility to folders with another pc works all regularly.


try nfs 8)
Excuse me what is the NFS mode?  :-[
Title: Re: Problem password request shared folders
Post by: Joker on July 11, 2018, 04:19:24 AM
But you say nothing about what security permissions you are applying to each folder.

ie: Are you giving everyone access to all folders? Compare your permissions on each of your folders, are they the same?

NFS is a Unix/Linux network file system, you would need to install the Windows add-on component to use NFS.

Title: Re: Problem password request shared folders
Post by: DMD on July 11, 2018, 01:45:17 PM
After a day dedicated to finding a solution to the problem, I managed to understand why this happens, but not the cause.
It does not affect the password and permissions, also because the same folder that is inaccessible with HiMedia, however, is accessible on the network with any PC connected to the network, so I exclude a problem of permissions related to Windows 10.
My configuration consists of 2 Silverstone storage boxes, each box can contain 4 HDD and are connected to the PC via USB 3.0 and the PC is connected to the network via LAN to 2 HiMedia units.
https://www.silverstonetek.com/product.php?pid=424&area=it&pid=424

(https://s20.postimg.cc/lxwad65el/Ridimensiona_di_WP_20180711_13_50_43_Pro.jpg)



The connection of the boxes is via USB3. 0 of which one is connected directly to the USB3.0 socket of the motherboard and the other is connected to an ORICO Booster card, since the other USB 3.0 sockets are occupied by other peripherals.
http://www.orico.cc/goods.php?id=4896

(https://s20.postimg.cc/xoa7uklcd/4896_P_1466549263292.jpg)


The box connected to this booster card containing the HDD with the shared folder is detected with a password from Himedia, but not from other PCs connected to the network.
To do another test I disconnected the box from this booster board and connected it to the USB 3.0 socket on the motherboard, now the shared folder is detected without a password from HiMedia.
The problem is the USB3.0 booster card, and I can not understand why connecting to this booster card HiMedia asks for the password.


I performed another test by sharing a multimedia folder in usb memory.
By connecting it via USB 3.0 HUB, I obtained a password request from HiMedia. (However accessible from another pc on the net.)

(https://s20.postimg.cc/6zwr8rq7h/Ridimensiona_di_WP_20180711_18_44_42_Pro.jpg)



By connecting the USB memory directly to the PC, no password is requested from HiMedia and the file is played normally.

(https://s20.postimg.cc/g7ozph4zh/Ridimensiona_di_WP_20180711_18_45_37_Pro.jpg)
Title: Re: Problem password request shared folders
Post by: Joker on July 12, 2018, 03:11:32 AM
Maybe this article will help you.

https://superuser.com/questions/989642/android-cant-access-windows-smb-shared-usb-drives

There is also a another link within the article worth reading.
https://community.wd.com/t/wd-tv-live-does-not-see-shared-windows-usb-drives-that-are-connected-via-hub/83248

Title: Re: Problem password request shared folders
Post by: DMD on July 12, 2018, 07:38:18 AM
Fantastic!
Thank you very much for the valuable and useful information. ;) :) :)
I tried to execute the command via powershell, unfortunately it returns me error.  :(

(https://s20.postimg.cc/6texb5gal/Screenshot_001.png)
Title: Re: Problem password request shared folders
Post by: DMD on July 12, 2018, 02:04:15 PM
The solution was to increase the IRPStackSize parameter (absent in the register) for Lanmanserver through the registry.
I entered the missing keyreg "IRPStackSize" in the windows registry 10
I initially entered the value 15 and then I increased, until I managed to detect the shared folders via USB 3.0 HUB
In my case the DWORD value is 28

Code: [Select]
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters]
"IRPStackSize"=dword:00000028

Once the registry key is applied, the PC must be restarted.

Reference microsoft
https://support.microsoft.com/it-it/help/177078/antivirus-software-may-cause-event-id-2011
Title: Re: Problem password request shared folders
Post by: pcristi on July 12, 2018, 06:04:16 PM
Thank you very much for the valuable and useful information. ;) :) :)
I tried to execute the command via powershell, unfortunately it returns me error.  :(

Set-SmbServerConfiguration need open windows powershell as administrator :).
Title: Re: Problem password request shared folders
Post by: DMD on July 12, 2018, 07:38:06 PM
Thank you for the suggestion.  :)
Now the Powershell command works.

(https://s20.postimg.cc/t4l5u3etp/Screenshot_001.png)


Entering the value 40 from Powershell corresponds to the DWORD value 28 and this works well too
As recommended by the link that posted Joker https://superuser.com/questions/989642/android-cant-access-windows-smb-shared-usb-drives

(https://s20.postimg.cc/p87ty96ql/Screenshot_002.png)
Title: Re: Problem password request shared folders
Post by: DMD on July 14, 2018, 08:23:41 AM
I detected another problem
During these days I noticed that in a random way, not always accacade, some folder requires me username and password.
When restarting the HiMedia the same folder does not require a username and password.
Actually I can not understand why this happens.
Title: Re: Problem password request shared folders
Post by: DMD on July 15, 2018, 05:35:53 PM
Update situation

The folder that presents the credentials with Mediacenter, with Es File Explore I have full access without any problem, with Kodi (using videoplayer) gives me the message "mount Failed".

(https://s20.postimg.cc/nm6yvpuy5/Ridimensiona_di_Senza_titulo-1.png)

(https://s20.postimg.cc/7b6uze30t/Ridimensiona_diWP_20180715_19_42_30_Pro.jpg)

(https://s20.postimg.cc/k2l15wkil/Ridimensiona_di_WP_20180715_19_44_58_Pro.jpg)
Title: Re: Problem password request shared folders
Post by: DMD on July 16, 2018, 03:24:41 PM
I did more testing and I managed to verify that the LAN section of the Mediacenter can detect the first 16 shared folders without the login credentials, from the seventeenth folder onwards presents the request for Account and Password.
I shared 20 folders and I did 3 tests, with each test the HiMedia was restarted: test in progressive order (1-16), progressive inverse (20-4) and random (total 16).
In conclusion you can also have infinite shared folders but only the first 16 that are opened, no matter in which order, do not have access credentials and are accessible normally.
I invite anyone to verify what I have verified with my tests, and ask if it is possible to solve this problem.

Thank you
Title: Re: Problem password request shared folders
Post by: pcristi on July 17, 2018, 12:27:02 AM
Try use one share folder FILMS_HD with  multiple NTFS junction point inside, will probably make your life more easy.

mklink /J <Link> <Target>

Something similar to that Run as administrator cmd
mkdir FILMS_HD
cd  FILMS_HD
mklink /J "FILM_HD(1)" "films path disc1"
mklink /J "FILM_HD(2)" "films path disc2"
....

and share FILMS_HD with user&password.

The Complete Guide to Creating Symbolic Links on Windows (https://www.howtogeek.com/howto/16226/complete-guide-to-symbolic-links-symlinks-on-windows-or-linux/)
Title: Re: Problem password request shared folders
Post by: DMD on July 17, 2018, 10:50:32 AM
THANK YOU FOR YOUR SUGGESTION!  ;)
I also found a tool (Link Shell Extension), to create the junctions to the folders, which acts from the context menu. http://schinagl.priv.at/nt/hardlinkshellext/linkshellextension.html#contact

Perfect no password and I seem to have everything more in order, with this system I can have endless folders and without any request for credentials.
In my case I inserted in the main folder giving it the name "CONDIVISIONI_MULTIMEDIALI", and I added more than 50
subfolders, for sharing just share only the main folder.

(https://s20.postimg.cc/xbh16np0t/Screenshot_001.png)

Thank you for the brilliant solution you gave me.