Hi! Here's my first try at building samba packages for ubuntu, using current debian 4.16 line and 22.04 jammy release as an example. Configuration for apt sources.list is: deb http://www.corpit.ru/mjt/packages samba/ubuntu-22.04-jammy/ (ditto for deb-src). The archive is signed with my usual gpg key - the same as used in Debian. For now this is built on top of debian packages, with all main changes as made by ubuntu. The whole thing is automatic. Please give it a try. The location/path of the repository is not "permanent", I'll think about it a bit more later. For now, I only need some testing of the contents, whenever it works okay generally. Thanks, /mjt
Here's the results of a server I spun up on proxmox, ubuntu 22.04 add sources.list: deb http://www.corpit.ru/mjt/packages samba/ubuntu-22.04-jammy/ import gpg key install acl attr samba samba-dsdb-modules samba-vfs-modules winbind libpam-winbind libnss-winbind krb5-config krb5-user dnsutils root at nctest:~# apt policy samba samba: ? Installed: (none) ? Candidate: 2:4.16.5+dfsg-2jammy1 ? Version table: ???? 2:4.16.5+dfsg-2jammy1 500 ??????? 500 http://www.corpit.ru/mjt/packages samba/ubuntu-22.04-jammy/ Packages ???? 2:4.15.9+dfsg-0ubuntu0.2 500 ??????? 500 http://us.archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages ??????? 500 http://us.archive.ubuntu.com/ubuntu jammy-security/main amd64 Packages ???? 2:4.15.5~dfsg-0ubuntu5 500 ??????? 500 http://us.archive.ubuntu.com/ubuntu jammy/main amd64 Packages root at nctest:~# apt install acl attr samba samba-dsdb-modules samba-vfs-modules winbind libpam-winbind libnss-winbind krb5-config krb5-user dnsutils -y Reading package lists... Done Building dependency tree... Done Reading state information... Done The following additional packages will be installed: ? ibverbs-providers libavahi-client3 libavahi-common-data libavahi-common3 libboost-iostreams1.74.0 libboost-thread1.74.0 libcephfs2 libcups2 libgfapi0 libgfrpc0 libgfxdr0 ? libglusterfs0 libgssrpc4 libibverbs1 libkadm5clnt-mit12 libkadm5srv-mit12 libkdb5-10 libldb2 libnl-route-3-200 librados2 librdmacm1 libtalloc2 libtdb1 libtevent0 libwbclient0 ? python3-dnspython python3-gpg python3-ldb python3-markdown python3-pygments python3-requests-toolbelt python3-samba python3-talloc python3-tdb samba-common samba-common-bin ? samba-libs tdb-tools Suggested packages: ? krb5-k5tls cups-common krb5-doc python3-sniffio python3-trio python-markdown-doc python-pygments-doc ttf-bitstream-vera bind9 bind9utils ctdb ldb-tools ntp | chrony smbldap-tools ? heimdal-clients The following NEW packages will be installed: ? acl attr dnsutils ibverbs-providers krb5-config krb5-user libavahi-client3 libavahi-common-data libavahi-common3 libboost-iostreams1.74.0 libboost-thread1.74.0 libcephfs2 libcups2 ? libgfapi0 libgfrpc0 libgfxdr0 libglusterfs0 libgssrpc4 libibverbs1 libkadm5clnt-mit12 libkadm5srv-mit12 libkdb5-10 libldb2 libnl-route-3-200 libnss-winbind libpam-winbind librados2 ? librdmacm1 libtalloc2 libtdb1 libtevent0 libwbclient0 python3-dnspython python3-gpg python3-ldb python3-markdown python3-pygments python3-requests-toolbelt python3-samba ? python3-talloc python3-tdb samba samba-common samba-common-bin samba-dsdb-modules samba-libs samba-vfs-modules tdb-tools winbind 0 upgraded, 49 newly installed, 0 to remove and 0 not upgraded. Need to get 13.9 MB/21.7 MB of archives. After this operation, 113 MB of additional disk space will be used. Err:1 http://www.corpit.ru/mjt/packages samba/ubuntu-22.04-jammy/ libtalloc2 2.3.4-1jammy1 ? 404? Not Found [IP: 86.62.121.231 80] Err:2 http://www.corpit.ru/mjt/packages samba/ubuntu-22.04-jammy/ libtdb1 1.4.7-1jammy1 ? 404? Not Found [IP: 86.62.121.231 80] Err:3 http://www.corpit.ru/mjt/packages samba/ubuntu-22.04-jammy/ libtevent0 0.13.0-1jammy1 ? 404? Not Found [IP: 86.62.121.231 80] Err:4 http://www.corpit.ru/mjt/packages samba/ubuntu-22.04-jammy/ libldb2 2:2.5.2+samba4.16.5-2jammy1 ? 404? Not Found [IP: 86.62.121.231 80] Err:5 http://www.corpit.ru/mjt/packages samba/ubuntu-22.04-jammy/ python3-ldb 2:2.5.2+samba4.16.5-2jammy1 ? 404? Not Found [IP: 86.62.121.231 80] Err:6 http://www.corpit.ru/mjt/packages samba/ubuntu-22.04-jammy/ python3-tdb 1.4.7-1jammy1 ? 404? Not Found [IP: 86.62.121.231 80] Err:7 http://www.corpit.ru/mjt/packages samba/ubuntu-22.04-jammy/ libwbclient0 2:4.16.5+dfsg-2jammy1 ? 404? Not Found [IP: 86.62.121.231 80] Err:8 http://www.corpit.ru/mjt/packages samba/ubuntu-22.04-jammy/ samba-libs 2:4.16.5+dfsg-2jammy1 ? 404? Not Found [IP: 86.62.121.231 80] Err:9 http://www.corpit.ru/mjt/packages samba/ubuntu-22.04-jammy/ python3-talloc 2.3.4-1jammy1 ? 404? Not Found [IP: 86.62.121.231 80] Err:10 http://www.corpit.ru/mjt/packages samba/ubuntu-22.04-jammy/ python3-samba 2:4.16.5+dfsg-2jammy1 ? 404? Not Found [IP: 86.62.121.231 80] Err:11 http://www.corpit.ru/mjt/packages samba/ubuntu-22.04-jammy/ samba-common 2:4.16.5+dfsg-2jammy1 ? 404? Not Found [IP: 86.62.121.231 80] Err:12 http://www.corpit.ru/mjt/packages samba/ubuntu-22.04-jammy/ samba-common-bin 2:4.16.5+dfsg-2jammy1 ? 404? Not Found [IP: 86.62.121.231 80] Err:13 http://www.corpit.ru/mjt/packages samba/ubuntu-22.04-jammy/ tdb-tools 1.4.7-1jammy1 ? 404? Not Found [IP: 86.62.121.231 80] Err:14 http://www.corpit.ru/mjt/packages samba/ubuntu-22.04-jammy/ samba 2:4.16.5+dfsg-2jammy1 ? 404? Not Found [IP: 86.62.121.231 80] Err:15 http://www.corpit.ru/mjt/packages samba/ubuntu-22.04-jammy/ winbind 2:4.16.5+dfsg-2jammy1 ? 404? Not Found [IP: 86.62.121.231 80] Err:16 http://www.corpit.ru/mjt/packages samba/ubuntu-22.04-jammy/ libnss-winbind 2:4.16.5+dfsg-2jammy1 ? 404? Not Found [IP: 86.62.121.231 80] Err:17 http://www.corpit.ru/mjt/packages samba/ubuntu-22.04-jammy/ libpam-winbind 2:4.16.5+dfsg-2jammy1 ? 404? Not Found [IP: 86.62.121.231 80] Err:18 http://www.corpit.ru/mjt/packages samba/ubuntu-22.04-jammy/ samba-dsdb-modules 2:4.16.5+dfsg-2jammy1 ? 404? Not Found [IP: 86.62.121.231 80] Err:19 http://www.corpit.ru/mjt/packages samba/ubuntu-22.04-jammy/ samba-vfs-modules 2:4.16.5+dfsg-2jammy1 ? 404? Not Found [IP: 86.62.121.231 80] E: Failed to fetch http://www.corpit.ru/mjt/packages/files/libtalloc2_2.3.4-1jammy1_amd64.deb 404? Not Found [IP: 86.62.121.231 80] E: Failed to fetch http://www.corpit.ru/mjt/packages/files/libtdb1_1.4.7-1jammy1_amd64.deb 404? Not Found [IP: 86.62.121.231 80] E: Failed to fetch http://www.corpit.ru/mjt/packages/files/libtevent0_0.13.0-1jammy1_amd64.deb 404? Not Found [IP: 86.62.121.231 80] E: Failed to fetch http://www.corpit.ru/mjt/packages/files/libldb2_2.5.2%2bsamba4.16.5-2jammy1_amd64.deb 404? Not Found [IP: 86.62.121.231 80] E: Failed to fetch http://www.corpit.ru/mjt/packages/files/python3-ldb_2.5.2%2bsamba4.16.5-2jammy1_amd64.deb 404? Not Found [IP: 86.62.121.231 80] E: Failed to fetch http://www.corpit.ru/mjt/packages/files/python3-tdb_1.4.7-1jammy1_amd64.deb 404? Not Found [IP: 86.62.121.231 80] E: Failed to fetch http://www.corpit.ru/mjt/packages/files/libwbclient0_4.16.5%2bdfsg-2jammy1_amd64.deb 404? Not Found [IP: 86.62.121.231 80] E: Failed to fetch http://www.corpit.ru/mjt/packages/files/samba-libs_4.16.5%2bdfsg-2jammy1_amd64.deb 404? Not Found [IP: 86.62.121.231 80] E: Failed to fetch http://www.corpit.ru/mjt/packages/files/python3-talloc_2.3.4-1jammy1_amd64.deb 404? Not Found [IP: 86.62.121.231 80] E: Failed to fetch http://www.corpit.ru/mjt/packages/files/python3-samba_4.16.5%2bdfsg-2jammy1_amd64.deb 404? Not Found [IP: 86.62.121.231 80] E: Failed to fetch http://www.corpit.ru/mjt/packages/files/samba-common_4.16.5%2bdfsg-2jammy1_all.deb 404? Not Found [IP: 86.62.121.231 80] E: Failed to fetch http://www.corpit.ru/mjt/packages/files/samba-common-bin_4.16.5%2bdfsg-2jammy1_amd64.deb 404? Not Found [IP: 86.62.121.231 80] E: Failed to fetch http://www.corpit.ru/mjt/packages/files/tdb-tools_1.4.7-1jammy1_amd64.deb 404? Not Found [IP: 86.62.121.231 80] E: Failed to fetch http://www.corpit.ru/mjt/packages/files/samba_4.16.5%2bdfsg-2jammy1_amd64.deb 404? Not Found [IP: 86.62.121.231 80] E: Failed to fetch http://www.corpit.ru/mjt/packages/files/winbind_4.16.5%2bdfsg-2jammy1_amd64.deb 404? Not Found [IP: 86.62.121.231 80] E: Failed to fetch http://www.corpit.ru/mjt/packages/files/libnss-winbind_4.16.5%2bdfsg-2jammy1_amd64.deb 404? Not Found [IP: 86.62.121.231 80] E: Failed to fetch http://www.corpit.ru/mjt/packages/files/libpam-winbind_4.16.5%2bdfsg-2jammy1_amd64.deb 404? Not Found [IP: 86.62.121.231 80] E: Failed to fetch http://www.corpit.ru/mjt/packages/files/samba-dsdb-modules_4.16.5%2bdfsg-2jammy1_amd64.deb 404? Not Found [IP: 86.62.121.231 80] E: Failed to fetch http://www.corpit.ru/mjt/packages/files/samba-vfs-modules_4.16.5%2bdfsg-2jammy1_amd64.deb 404? Not Found [IP: 86.62.121.231 80] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? On 10/23/22 00:13, Michael Tokarev via samba wrote:> Hi! > > Here's my first try at building samba packages for ubuntu, > using current debian 4.16 line and 22.04 jammy release as > an example. > > Configuration for apt sources.list is: > > ?deb http://www.corpit.ru/mjt/packages samba/ubuntu-22.04-jammy/ > > (ditto for deb-src). > > The archive is signed with my usual gpg key - the same as used > in Debian. > > For now this is built on top of debian packages, with all main > changes as made by ubuntu.? The whole thing is automatic. > > Please give it a try. > > The location/path of the repository is not "permanent", I'll > think about it a bit more later.? For now, I only need some > testing of the contents, whenever it works okay generally. > > Thanks, > > /mjt >
> Here's my first try at building samba packages for ubuntu, > using current debian 4.16 line and 22.04 jammy release as > an example.Great, thank you! Tried right now, the installation and configuration up to Kerberos went through perfectly. Do you think it's technically possible to have 4.16 on Ubuntu 20.04? Louis wasn't providing it. Thanks again -- Lorenzo Milesi - lorenzo.milesi at yetopen.com CTO @ YetOpen Srl Corso Martiri della Liberazione 114 - 23900 Lecco - ITALY - | 4801 Glenwood Avenue - Suite 200 - Raleigh, NC 27612 - USA - Tel +39 0341 220 205 - info.it at yetopen.com | Phone +1 919-817-8106 - info.us at yetopen.com Think green - Non stampare questa e-mail se non necessario / Don't print this email unless necessary -------- D.Lgs. 196/2003 e GDPR 679/2016 -------- Tutte le informazioni contenute in questo messaggio sono riservate ed a uso esclusivo del destinatario. Tutte le informazioni ivi contenute, compresi eventuali allegati, sono da ritenere confidenziali e riservate secondo i termini del vigente D.Lgs. 196/2003 in materia di privacy e del Regolamento europeo 679/2016 - GDPR - e quindi ne e' proibita l'utilizzazione ulteriore non autorizzata. Nel caso in cui questo messaggio Le fosse pervenuto per errore, La invitiamo ad eliminarlo senza copiarlo, stamparlo, a non inoltrarlo a terzi e ad avvertirci non appena possibile. Grazie. Confidentiality notice: this email message including any attachment is for the sole use of the intended recipient and may contain confidential and privileged information; pursuant to Legislative Decree 196/2003 and the European General Data Protection Regulation 679/2016 - GDPR - any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recepient please delete this message without copying, printing or forwarding it to others, and alert us as soon as possible. Thank you.