L.P.H. van Belle
2015-Mar-30 13:43 UTC
[Samba] sssd-ad cannot be installed with sernet samba
The problem here is that sssd does not know sernet-samba-libs is also providing samba-libs 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. Its not that hard.. apt-get install build-essentials apt-get source sssd modify the needed in sourcemap/Debian/ apt-get source -b wait... and you have your "working" debs.. Greetz, Louis>-----Oorspronkelijk bericht----- >Van: luca at wetron.es [mailto:samba-bounces at lists.samba.org] >Namens Luca Olivetti >Verzonden: maandag 30 maart 2015 13:47 >Aan: samba at lists.samba.org >Onderwerp: Re: [Samba] sssd-ad cannot be installed with sernet samba > >El 30/03/15 a les 12:54, Tim ha escrit: >> sernet-packages should normally replace the distribution >packages. On my >> CentOS box it works really fine. > >It's possible that the bug is debian/ubuntu specific > >> >> Do you have sernet-samba-libs installed? > >Yep > > >> >> Possibly you have sssd-ad already? Have you checked if there >is a file >> /usr/lib64/sssd/libsss_ad.so or similar? > >On ubuntu the path is different >(/usr/lib/x86_64-linux-gnu/sssd) but the >ad backend isn't there (since apt-get wouldn't let me install it) > > > >Bye >-- >Luca Olivetti >Wetron Automation Technology http://www.wetron.es >Tel. +34 935883004 Fax +34 935883007 >-- >To unsubscribe from this list go to the following URL and read the >instructions: https://lists.samba.org/mailman/options/samba > >
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-libsNot 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-essentialsdone (build-essential actually)> apt-get source sssddone> 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 -bOK, 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 -- Luca Olivetti Wetron Automation Technology http://www.wetron.es Tel. +34 935883004 Fax +34 935883007
El 30/03/15 a les 16:49, Luca Olivetti ha escrit:> 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 > > 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.I installed apt-file to check which packages provide ndr_nbt.pc and the only one is samba-dev (no sernet package provides this file). Bye -- Luca Olivetti Wetron Automation Technology http://www.wetron.es Tel. +34 935883004 Fax +34 935883007
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