SambaCry are LEDE devices affected?

SambaCry are LEDE devices affected ?

and if so when do you expect to have a fix ?

About two days ago...

In master: https://github.com/lede-project/source/commit/3f0d3d12da77d8833a725f99f6fa08640678a1ae
in 17.01 branch: https://github.com/lede-project/source/commit/51db1f5a9a3ecd5cc2c5de724641c4636a0a86e2

What do I need to do to get this fix for 17.01? "opkg update" followed up by "opkg list-upgradable" did not bring any new samba packages.

I think that the buildbot has built the package for all targets by now.

Opkg will not show that as upgradable, because the patch committer did not properly increase PKG_RELEASE in the package's Makefile, so the patched package has the same version number as the older unpatched file.

The easiest way to get the package is to download the .ipk package directly from the download repo http://downloads.lede-project.org/releases/packages-17.01/ to the router and then install via opkg.

The samba package is in the architecture/base directory

E.g. arm_cortex-a15_neon-vfpv4/base for my ipq806x device. You can see from the file dates that it has been built a few days ago while there are older dates on other packages in the same directory)

samba36-client_3.6.25-5_arm_cortex-a15_neon-vfpv4.ipk	433.9 KB	Thu May 25 06:20:19 2017
samba36-server_3.6.25-5_arm_cortex-a15_neon-vfpv4.ipk	862.2 KB	Thu May 25 06:20:23 2017

Commands to get it:

cd /tmp
wget http://downloads.lede-project.org/releases/packages-17.01/arm_cortex-a15_neon-vfpv4/base/samba36-client_3.6.25-5_arm_cortex-a15_neon-vfpv4.ipk
opkg install samba36-client_3.6.25-5_arm_cortex-a15_neon-vfpv4.ipk

As the version number is the same, it is possible that you need to use "--force-reinstall" switch for opkg.

opkg install --force-reinstall samba36-client_3.6.25-5_arm_cortex-a15_neon-vfpv4.ipk
1 Like

The version has now been bumped in master so opkg will find the upgrade (after the buildbot first builds the new version), and hopefully the same will be done for 17.01, too.