Perhaps solving this question requires a very deep knowledge of samba, and it is difficult for average users to figure out it.I'm looking for someone with knowledge of samba.
What is the difference between OMV shared folders and windows, synology shared folders?
-
- OMV 4.x
- jason2019
-
-
From the TV player, the first two can't be accessed, and Synology can do it.
Some TV players, multimedia players etc. support only SAMBA SMB V1 protocol. This is disabled in newer OMV versions. With the CLI command testparm you can check in the global section which Samba protocols are supported by OMV.
-
Yes, that could be a reason. The TV client is limited to using an old version of SMB that is disabled in OMV but perhaps enabled in Raspbian and Synology.
If that is the case then either an update of the TV client or enabling the old SMBv1 protocol in OMV should fix it.
But as I understand it Microsoft has ended support for SMBv1 for security reasons and it should not be used any longer. Problems with ransomware and so on. On a home LAN it might be OK?
Perhaps there is an update available for the TV client?
-
Some TV players, multimedia players etc. support only SAMBA SMB V1 protocol. This is disabled in newer OMV versions. With the CLI command testparm you can check in the global section which Samba protocols are supported by OMV.
Thank you for your reply. That is great help.
I need to learn how to make samba support SMB1.
-
I need to learn how to make samba support SMB1.
Please look at this thread: Access denied from Windows XP desktop PCs
-
Please look at this thread: Access denied from Windows XP desktop PCs
Thank you.
But the option
min protocol = NT1
is not work for me in OMV.I add this option in raspberrypi smb.conf . It did not work neither.
-
I add this option in raspberrypi smb.conf . It did not work neither.
It is necessary to restart the Samba service after the change. A reboot does the same.
If also this does not help ....
-
It is necessary to restart the Samba service after the change. A reboot does the same.
If also this does not help ....That parameter is not helpful for my TV player.Windows does not support SMB1 by default. My TV player cannot access the sharing of Windows computers under the default settings. But after I turned on the SMB1 service on Windows, the TV player can access it.But I tried to add this parameter on both OMV and RaspberryPi, but none of them improved.I searched the internet, but nothing progressed.
-
But after I turned on the SMB1 service on Windows, the TV player can access it
This at least clarifies that the TV player needs SMB1.
Nevertheless I´m out of ideas.
-
You edit sudo nano /etc/samba/smb.conf on OMV, then write under global as the last line: min protocol = SMB1
reboot or sudo systemctl restart smbd.service
If that does not work you should also add these lines to smb.conf under global:
-
You edit sudo nano /etc/samba/smb.conf on OMV, then write under global as the last line: min protocol = SMB1
You should not edit /etc/samba/smb.conf directly. This file is rewritten by OMV when a share configuration is changed by the OMV WebUI later. Then all former manual changes are gone.
All such modifications shall be done by the "extra options" field in the CIFS/SMB settings.min protocol = SMB1
Regaring to the Samba documentation it should be "min protocol = NT1". Does "min protocol = SMB1" also work?
-
You should not edit /etc/samba/smb.conf directly. This file is rewritten by OMV when a share configuration is changed by the OMV WebUI later. Then all former manual changes are gone. All such modifications shall be done by the "extra options" field in the CIFS/SMB settings.
Oh, you're right, of course, I had not thought that far. I went straight from Debian.
Zitat von cabrio-leoRegaring to the Samba documentation it should be "min protocol = NT1". Does "min protocol = SMB1" also work?
min protocol = SMB2 works but if SMB1 works I'm not sure, tasting costs nothing
-
Would the option be to add min protocol=SMB1 to the Extra options in Advanced settings in SMB/CIFS.
-
SMB1 not supported. restart samba get errer
-
Good news, my TV player is working with the RaspberryPi shared folder after I add the three line to smb.conf file and restart samba.
- ntlm auth = yes
- lanman auth = yes
- raw NTLMv2 auth = yes
Big thanks to Aux.
You edit sudo nano /etc/samba/smb.conf on OMV, then write under global as the last line: min protocol = SMB1
reboot or sudo systemctl restart smbd.service
If that does not work you should also add these lines to smb.conf under global:
-
Would the option be to add min protocol=SMB1 to the Extra options in Advanced settings in SMB/CIFS.
I would say it should be min protocol=NT1.
Good news, my TV player is working with the RaspberryPi shared folder after I add the three line to smb.conf file and restart samba.
ntlm auth = yes
lanman auth = yes
raw NTLMv2 auth = yes
Big thanks to Aux.If you enter this lines to the Extra options in Advanced settings of SMB/CIFS it should also work with OMV.
-
I tested the three line in OMV. my TV player is working with OMV shared folder now.
ntlm auth = yes
lanman auth = yes
raw NTLMv2 auth = yesadd to SMB/CIFS Extra options box.
-
I would say it should be min protocol=NT1.
Ah, that got me thinking from another thread, ntlm auth = yes was the solution there.
Adding @Aux suggestions to the Extras option makes sense as these will not be overwritten by an update.
Going back to 'you know who' he also didn't advocate using 'anachronistic settings' just to facilitate older tech
-
Going back to 'you know who' he also didn't advocate using 'anachronistic settings' just to facilitate older tech
Joker!
It always depends on the individual case and in which environment this is used. -
Joker!It always depends on the individual case and in which environment this is used.
That's right, there is no other option if the old technology knows nothing else
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!