On my GL.iNet routers, the factory preinstalled Samba3 package supports both SMB1 and SMB2, so I only use SMB2. You can manually install the Samba4 package to support SMB2 and SMB3, which I believe is preinstalled in Firmware 4.0.
On my GL.iNet routers, the factory preinstalled Samba3 package supports both SMB1 and SMB2, so I only use SMB2. You can manually install the Samba4 package to support SMB2 and SMB3, which I believe is preinstalled in Firmware 4.0.