NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
zeke561
Jan 06, 2020Guide
How to modify samba config with raidiator 4.2.31
I have a need, if possible, to enable SMB2 on an ultra 4 plus running raidiator 4.2.31. I have read that it is possible with this version of OS to edit /etc/samba/smb.conf to include specifications ...
StephenB
Jan 07, 2020Guru
zeke561 wrote:
Can you point me to those files?
You can find the bios download here: http://www.readynas.com/download/addons/x86/4.2/BIOS_Update_Package_0.5-x86.bin
zeke561 wrote:
I agree that upgrading to OS6 would be the optimal solution. For a few reasons it is not a viable option at this time. Running SMB2 is my desired workaround.
You could try this: https://community.netgear.com/t5/Using-your-ReadyNAS-in-Business/Enable-SMB-2-on-ReadyNas-x86-v4-2-31/m-p/1455830#M139865
But I'm not sure if the setting will be sticky or not.
zeke561
Jan 14, 2020Guide
You could try this: https://community.netgear.com/t5/Using-your-ReadyNAS-in-Business/Enable-SMB-2-on-ReadyNas-x86-v4-2-31/m-p/1455830#M139865
But I'm not sure if the setting will be sticky or not.
It looks like I missed this reply, so belated thanks. Anyway, the procedure outlined in the link, editing /etc/samba/smb.conf is what I tried and does not work. I would try to edit the one in the default directory (/etc/default/config/etc/samba) but I don't want to cause problems I can't easily solve, since SMB isn't my highest priority for this machine and I can work around it.
- SandsharkJan 15, 2020Sensei
Did you insure it was in the [global} section and re-bbot or restart Apache?
smb.conf may be overwritten. I have found a better place to do such things is /etc/frontview/samba/addons/addons.conf, whihc is included by declaration in smb.conf. That file does not appear to be overwritten by an OS update or re-install. That's a two-edged sword, so make sure you get it right
- zeke561Jan 15, 2020Guide
Yes, the added lines were in the global section. I didn't notice the warning that the file is auto-generated at first. When I rebooted, I got a popup in the web interface about an error, but the system rebooted ok. However, the additions were gone. I am guessing that the file takes /etc/default/config/etc/samba/smb.conf as its base, and adds whatever it needs before writing to /etc/samba/smb.conf. I would hesitant to modify the file you mentioned, I don't see how I would modify it, and it seems like it could screw up the whole system. But thanks for the suggestion.
- SandsharkJan 15, 2020Sensei
You modify it in exactly the same way you would the smb.conf. (or create it if it's not already there). By declaration, it's an extension of smb.conf. As best I can tell, it's a place where add-ons can put things that need to go in smb.conf without worrying about them disappearing. You still need the [global} header for your entry.
Since addons.conf is included toward the bottom of smb.conf, anything in it generally overrides what's in smb.conf.
While it's on an OS6 system, here is an example from my NAS:
[global] allow insecure wide links = yes unix extensions = no [ddclient] follow symlinks = yes wide links = yes [hdsentinel] follow symlinks = yes wide links = yes
As you can see, I've made two changes to the global configuration and two to each of two shares. I forget which SAMBA update changed the defaults and made me have to do this so I could link files in the apps folder to standard shares.
I checked on my RAIDiator 4.2.x virtual machine and this procedure is also applicable there.
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!