[Samba] Samba for Ubuntu Bionic 18.04 (AMD64 ONLY) to try out.

L.P.H. van Belle belle at bazuin.nl
Fri Nov 2 08:48:37 UTC 2018


Hai, 

If someone wants to try the ubuntu samba 4.9.1 package, these are really really fresh.
Im testing myself at the moment so any extra input helps to get these more mature. 

Setup (as root): 
wget -O - http://apt.van-belle.nl/louis-van-belle.gpg-key.asc | apt-key add -

echo "# AptVanBelle repo Bionic for samba 4.9 AMD64 only." | tee /etc/apt/sources.list.d/van-belle.list
echo "deb http://apt.van-belle.nl/debian bionic-samba49 main contrib non-free" | tee -a /etc/apt/sources.list.d/van-belle.list

apt-get update
apt-get install samba winbind

And my first results sofar look good, installed them and running : 

sb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.1 LTS
Release:        18.04
Codename:       bionic

smbd -V
Version 4.9.1-Debian

?? smbd.service - Samba SMB Daemon
   Loaded: loaded (/lib/systemd/system/smbd.service; enabled; vendor preset: enabled)
   Active: active (running) since Fri 2018-11-02 09:35:28 CET; 22s ago
     Docs: man:smbd(8)
           man:samba(7)
           man:smb.conf(5)
 Main PID: 75674 (smbd)
   Status: "smbd: ready to serve connections..."
    Tasks: 4 (limit: 2287)
   CGroup: /system.slice/smbd.service
           ?¥??75674 /usr/sbin/smbd --foreground --no-process-group
           ?¥??75676 /usr/sbin/smbd --foreground --no-process-group
           ?¥??75677 /usr/sbin/smbd --foreground --no-process-group
           ????75681 /usr/sbin/smbd --foreground --no-process-group

Nov 02 09:35:27 ubuntu1804 systemd[1]: Starting Samba SMB Daemon...
Nov 02 09:35:28 ubuntu1804 systemd[1]: Started Samba SMB Daemon.

?? winbind.service - Samba Winbind Daemon
   Loaded: loaded (/lib/systemd/system/winbind.service; enabled; vendor preset: enabled)
   Active: active (running) since Fri 2018-11-02 09:35:26 CET; 24s ago
     Docs: man:winbindd(8)
           man:samba(7)
           man:smb.conf(5)
 Main PID: 75541 (winbindd)
   Status: "winbindd: ready to serve connections..."
    Tasks: 4 (limit: 2287)
   CGroup: /system.slice/winbind.service
           ?¥??75541 /usr/sbin/winbindd --foreground --no-process-group
           ?¥??75543 winbindd: domain child [UBUNTU1804]
           ?¥??75678 winbindd: idmap child
           ????75679 winbindd: domain child [BUILTIN]

Nov 02 09:35:26 ubuntu1804 systemd[1]: Starting Samba Winbind Daemon...
Nov 02 09:35:26 ubuntu1804 systemd[1]: Started Samba Winbind Daemon.

So i suggest give it a try and if you see/notice something mail the list and i'll have a look. 

If you want to (re)build these packages your self. 
Then these are the most important build depend for 4.9.1 (for now)

libcmocka-dev (>= 1.1.1) libldb-dev (>= 2:1.4.2) libpam-wrapper (>= 1.0.7~) libtalloc-dev (>= 2.1.14~) 
libtdb-dev (>= 1.3.16~) libtevent-dev (>= 0.9.37~) python-ldb (>= 2:1.4.2) python-ldb-dev (>= 2:1.4.2) 
python-talloc-dev (>= 2.1.14~) python-tdb (>= 1.3.16~)


You can check the minimal needed version with these commands:
grep ^VERSION lib/{talloc,tdb,tevent,ldb}/wscript
grep minversion buildtools/wafsamba/samba_third_party.py | awk -F"(" '{ print $2 }'

If you have missing build depends, you can reuse mine or get the latest from  ubuntu or debian sid/experimental. 


Greetz, 

Louis





> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at lists.samba.org] Namens 
> Spencer Hanes via samba
> Verzonden: donderdag 1 november 2018 22:33
> Aan: samba at lists.samba.org
> Onderwerp: [Samba] Jansson not found when compiling Samba
> 
> I am trying to compile Samba 4.9.1, on Ubuntu 18.04.1 server. 
> However, when I try to configure, it says that jansson is not 
> found. I have installed libjansson-dev from the repo (version 
> 2.11-1), but still get the error.
> 
> 
> Config.log says:
> 
> 
> Checking for jansson
> 
> 
> /bin/sh: 1: --cflags: not found
> 
> 
> not found ???
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
> 
> 




More information about the samba mailing list