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
El 30/03/15 a les 17:14, Rowland Penny ha escrit:> 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.but, IIRC, windbind doesn't work on the pdc> Sernet has nothing to with sssd, so why should they supply sssd packages ?Right, the correct solution would be to package samba in a way that doesn't break sssd.> > 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.Maybe. But I think that what's broken here is not sssd (which compiles and works fine if you don't use sernet packages). Bye -- Luca Olivetti Wetron Automation Technology http://www.wetron.es Tel. +34 935883004 Fax +34 935883007
On 30/03/15 16:33, Luca Olivetti wrote:> El 30/03/15 a les 17:14, Rowland Penny ha escrit: >> 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. > but, IIRC, windbind doesn't work on the pdcWell it does and it doesn't, it does in that it can get uidNumbers & gidNumbers from AD, it doesn't in that it cannot get unixhomedirectory & shell from AD> >> Sernet has nothing to with sssd, so why should they supply sssd packages ? > Right, the correct solution would be to package samba in a way that > doesn't break sssd.You could also say that sssd should be packaged in a way that works with the sernet 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. > Maybe. But I think that what's broken here is not sssd (which compiles > and works fine if you don't use sernet packages).Neither is broken, they are just not written to be used together. Rowland> Bye
El 30/03/15 a les 17:33, Luca Olivetti ha escrit:>> >> 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. > > Maybe.Or maybe not: https://lists.fedorahosted.org/pipermail/sssd-users/2014-January/001303.html :-( Bye -- Luca Olivetti Wetron Automation Technology http://www.wetron.es Tel. +34 935883004 Fax +34 935883007