Hello, I can't find this package when I look for available packages in the luci-app interface. The only package that shows up is the samba36-server. Is there any plan to merge samba4 in into the master package feed for WRT1900ACS?
Also, why is compiling new firmware needed for 4.8? Should we just need a new package that we can install native to 18.06?
Was just merged into master very close to the 18.06 release, so i wanted some feedback from master/snapshot users first. I made sure to have related packages available in 18.06, so it compiles against it and yes i will try get this backported to 18.06. So in theory the snapshot packages should also run on 18.06, but i did not specifically test this.
PS: I'm also currently working on a easy to use docker based package-builder, which should make it very easy for everyone to build/rebuild specific packages for 18.06/snapshot. So you can get the latest changes via custom feeds or use custom build options, without having to dig deep into the openwrt sdk framework.
You can also give this online image builder a shot:
Yes correct, I am on 18.06. To get this package do I just need to add the custom feed?
I am more than able to test this especially if the package you build has Time Machine support since that's what I'll be mostly using it for. Let me know what feed I should add to test Time Machine on 18.06!
@yaravawiba I don't provide a feed with build packages for all targets. You can try use the snapshot builds for your target and manually install the package. Be aware that i have not yet enabled avahi support out of the box, so the snapshot versions wont announce samba to the mac-finder, yet the fruit (timemachine) module is available already. Maybe manual smb:/name will work?
If you give me your target/subtarget/version i can compile a samba4 package with avahi enabled for you, so you can try get timemachine running, by using the additional steps i posted a while ago.
@johnnysl I think if you move to snapshots it should be automatic and i have no clue how to use the snapshot repos automatically for 18.06. You may be able to manually install the snapshots, they "should" be compatible with 18.06.
The idea is that i will try get this backported to 18.06 and i also try to get my package-builder ready.
@johnnysl Thats strange the version worked for me locally for several targets and the buildbot was also able to create nearly all targets.
Can you post/link your distro and config seed/diff file, it seems samba still pulls in stuff from somewhere.
Can you verify that with a clean defconfig and just selecting your target + samba4 the build works or not?
quick info for timemachine users:
Remove the /etc/avahi/services/samba.service file, i just found out that from samba 4.8+ on, this is handled internally by samba and no external files are needed anymore.
oki i enabled AVAHI support by default so Linux/Mac clients can see the shares out of the box. In Windows only environments, disable the avahi build option or just stop the avahi-daemon service via luci, since we use the wsdd2-daemon on Windows.
This also allows Timemachine support out of the box, with a single option field under luci. Just enable this for your backup share and it "should" work, without the need to add any vfs modules or extra options.
PS: If you need different options, copy the per share options to the template and make manual changes, than delete your luci share entries. This way all is contained in your template file.
PS: Maybe i can finish my "package builder", with it you can build your own packages from custom feeds automatically, while only needing to get Docker installed and will run on Linux/Windows 10. Still need to fix some bugs.
@Andy2244: i'm building from snap now and switched from using an external netatalk and avahi solution to the build-in solution for TimeMachine. To circumvent some annoyances, i fully configured the Timemachine share in the smb.conf template, but otherwise it works just great.