[Samba] sssd-ad cannot be installed with sernet samba

Luca Olivetti luca at wetron.es
Mon Mar 30 08:49:13 MDT 2015

El 30/03/15 a les 15:43, L.P.H. van Belle ha escrit:
> The problem here is that 
> sssd does not know sernet-samba-libs is also providing samba-libs 

Not only that, the layout is also different (at least, trying to force
the installation of sssd-ad/sssd-ad-common I see that it doesn't find
libndr-nbt.so.0, which the sernet package put in /usr/lib/x86_64/samba/
while the stock samba-libs puts it under /usr/lib/x86_64/)

> or get the source of sssd and change/add the sernet-samba-libs in de Depens of the source yourself.
> or ask the sssd developers to add this. 

I don't think it's their responsibility, maybe sernet could provide an
sssd package that can coexist with sernet-samba, or modify the packages
so that they have the same layout than the debian/ubuntu ones?

> Its not that hard.. 
> apt-get install build-essentials

done (build-essential actually)

> apt-get source sssd


> modify the needed in sourcemap/Debian/ 

I'm sorry, but I don't know what to do here.
Is it enough to change the Build-Depends in sssd-1.11.5/debian/control?
For the time being I just removed samba-dev, since there's no direct
sernet replacement for it (see below)

> apt-get source -b 

OK, another step to install the required dependencies...

> wait... and you have your "working" debs..

Nope, I just get an error

checking for NDR_NBT... no
configure: error: "Please install Samba 4 development libraries"
dh_auto_configure: ../configure --build=x86_64-linux-gnu --prefix=/usr
--includedir=${prefix}/include --mandir=${prefix}/share/man
--infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var
--libexecdir=${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode
--disable-dependency-tracking --enable-krb5-locator-plugin
--enable-pammoddir=/lib/x86_64-linux-gnu/security --disable-static
--disable-rpath --with-autofs --with-ssh --with-initscript=systemd
--with-systemdunitdir=/lib/systemd/system --with-sudo returned exit code 1
make[1]: *** [override_dh_auto_configure] Error 2
make[1]: Leaving directory `/home/luca/build/sssd-1.11.5'
make: *** [binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit
status 2

I installed both sernet dev packages (sernet-samba-libwbclient-dev,
sernet-samba-libsmbclient-dev) but apparently that's not enough.

Anyway, I'm not using the sernet packages because I want to tinker with
the build process..... ;-)

Luca Olivetti
Wetron Automation Technology http://www.wetron.es
Tel. +34 935883004  Fax +34 935883007

More information about the samba mailing list