[Samba] sssd-ad cannot be installed with sernet samba
Rowland Penny
rowlandpenny at googlemail.com
Mon Mar 30 09:14:59 MDT 2015
On 30/03/15 15:49, Luca Olivetti wrote:
> 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?
Sernet provides sernet-samba packages, they are designed to be used with
winbind, indeed sernet provide their own winbind package.
Sernet has nothing to with sssd, so why should they supply sssd packages ?
If you are having problems with installing sssd with the sernet
packages, I would suggest that you ask for help on the sssd mailing list.
Rowland
>> Its not that hard..
>>
>> apt-get install build-essentials
> done (build-essential actually)
>
>> apt-get source sssd
> done
>
>> 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
> --libdir=${prefix}/lib/x86_64-linux-gnu
> --libexecdir=${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode
> --disable-dependency-tracking --enable-krb5-locator-plugin
> --datadir=/usr/share/
> --with-ldb-lib-dir=/usr/lib/x86_64-linux-gnu/ldb/modules/ldb
> --with-krb5-plugin-path=/usr/lib/x86_64-linux-gnu/krb5/plugins/krb5
> --enable-nsslibdir=/lib/x86_64-linux-gnu
> --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..... ;-)
>
> Bye
More information about the samba
mailing list