Announcement

Collapse
No announcement yet.

Samba 4.10 RC1 Released: Adds Offline Domain Backups, Now Defaults To Python 3

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Wilfred
    replied
    Originally posted by andy22 View Post
    PS: Currently i try to switch from external MIT-Kerberos to internal Heimdal.
    can you please do so, since mit kerberos is unsupported by upstream. They refuse to issue security updates for bugs in mit kerberos builds.

    Leave a comment:


  • andy22
    replied
    Originally posted by Vistaus View Post
    Speaking of which, I wanted to ask this for quite some time, actually: a lot of people on here dislike Autotools, but also dislike Meson, while CMake often gets some praise. But what about WAF?
    Can only speak from the point of a package maintainer, i have WAF via samba4 and cmake via softether5 and normal make for other stuff. WAF as used via samba4 is a pain to figure out and getting a working openwrt makefiles took months, WAF + samba4 is the most complicated and crazy build process i have ever seen. It will just happily pull in any lib it finds on the host system, making cross compiling a pain to sort out lib dependencies. Just look at my makefile.... (https://github.com/Andy2244/openwrt-...amba4/Makefile) i basically have to add rules for every possible lib samba4 supports. The cherry on top is that i need qemu to actually cross-compile it via WAF...

    I suspect thats not WAF's fault, but rather because samba4 is a monster project. I also don't like the stupid and buggy make wrapper they put ontop waf. Yet i find cmake files much more easy to read than the WAF python rule files.

    Cmake was quite easy to adapt and maintain, while it also tends to have some oddities. I really like how easy it was to add lib dependencies, check for specific lib versions and locations and setup shared vs static builds. The cmake online tutorial is also excellent compared to WAF.
    Last edited by andy22; 16 January 2019, 06:10 PM.

    Leave a comment:


  • Vistaus
    replied
    Originally posted by andy22 View Post

    What are you talking about? Samba itself is written in C, python is mainly used for the AD-DC related setup, management tasks/tools and the WAF build system. The default samba4 openwrt package runs completely without python installed.
    Speaking of which, I wanted to ask this for quite some time, actually: a lot of people on here dislike Autotools, but also dislike Meson, while CMake often gets some praise. But what about WAF?

    Leave a comment:


  • andy22
    replied
    Originally posted by starshipeleven View Post

    I would really like some form of guided setup script/wizard for Samba in OpenWrt.
    Basically you just grab the package via the web ui from the repo, install it and than setup a share in the luci gui. The basic setup for samba4 is the same as samba3, the main difference is that you need to switch from netbios to wsdd2 (windows 10) and/or avahi (macOS, Linux). So those extra packages need to-be installed as well, so you can browse, find the shares in the explorer, finders.

    Leave a comment:


  • andy22
    replied
    Originally posted by starshipeleven View Post
    Yeah, that's one of the reasons Samba is a pig with CPU load (relevant only for embedded devices admittedly).
    What are you talking about? Samba itself is written in C, python is mainly used for the AD-DC related setup, management tasks/tools and the WAF build system. The default samba4 openwrt package runs completely without python installed.

    Leave a comment:


  • starshipeleven
    replied
    Originally posted by andy22 View Post

    Yeah i did not feel like officially backport it to 18.06.1, but the 4.9 package can be build against the 18.x SDK via my package builder (https://github.com/Andy2244/openwrt-package-builder).

    I'm also not fully happy with the current luci design, but reworking it fully takes too much time atm.

    PS: Currently i try to switch from external MIT-Kerberos to internal Heimdal.
    I would really like some form of guided setup script/wizard for Samba in OpenWrt.

    Leave a comment:


  • starshipeleven
    replied
    Originally posted by Vistaus View Post
    Yeah, but it probably shouldn't contain Python at all, right? 'Cause the general consensus here at Phoronix is that Python sucks.
    Yeah, that's one of the reasons Samba is a pig with CPU load (relevant only for embedded devices admittedly).

    Leave a comment:


  • andy22
    replied
    Originally posted by patrakov View Post

    Yes, but only in snapshot builds.
    Yeah i did not feel like officially backport it to 18.06.1, but the 4.9 package can be build against the 18.x SDK via my package builder (https://github.com/Andy2244/openwrt-package-builder).

    I'm also not fully happy with the current luci design, but reworking it fully takes too much time atm.

    PS: Currently i try to switch from external MIT-Kerberos to internal Heimdal.
    Last edited by andy22; 16 January 2019, 01:17 PM.

    Leave a comment:


  • Vistaus
    replied
    Originally posted by FireBurn View Post
    I think this is the last big ticket thing on my system that requires python2 - the rest I think are only there because they're dependencies of Samba
    Yeah, but it probably shouldn't contain Python at all, right? 'Cause the general consensus here at Phoronix is that Python sucks.

    Leave a comment:


  • FireBurn
    replied
    I think this is the last big ticket thing on my system that requires python2 - the rest I think are only there because they're dependencies of Samba

    Leave a comment:

Working...
X