Scripts to configure, compile and install the needed packages in order to build Samba 4.14 on OmniOS. Get the listed programs below and unpack into /usr/local/src/$NAME/$NAME-$VERSION, create a symlink for BUILD in each directory, then run "BUILD-ALL" in the top directory which should compile and install 32 and 64 bit versions of everything. It will install into /usr/local/{bin,sbin,lib,etc} except for Samba which will be installed into /usr/local/samba/$VERSION. The 32 bit Samba can't build the AD DC bits or anything that requires Python3 but the 64 bit version works. You need both 32 and 64 bit version for pam_winbind and nss_winbind to work if you intend to use it to join an AD domain. Source packages used (later versions might work too): db-5.3.28 gmp-6.2.1 gnutls-3.6.15 jansson-2.13.1 libarchive-3.5.1 libidn2-2.3.0 libtasn1-4.16.0 libunistring-0.9.10 nettle-3.7.1 p11-kit-0.23.22 texinfo-6.7 openldap-2.4.57 samba-4.14.0 - Peter Eriksson , 2021-03-17