It looks like Gentoo Linux have done some work to allow both ldb and samba to build without python: https://dev.gentoo.org/~polynomial-c/samba-disable-python-patches-4.5.0_rc1.tar.xz Do we want to persue this and add to the build system as an option ? I think there are several embedded vendors who might like this option. Cheers, Jeremy.