12.03.2016 17:57, Rowland penny пишет:>> What policy of using new version of libraries for stable version of >> Samba? Can I fix domain provision with talloc-2.1.6 for samba-4.3.6? >> > > Can I ask why you are building talloc separately ? If you build Samba > normally, it will be built for you. I am no expert here, but I think > Samba relies on the builtin version of Samba.It's good practice for shared libraries: $ apt-cache whatdepends libtalloc | grep '^ [a-z]' | wc -l 57 It is used for samba and samba-DC, sssd and openchange, cifs-utils and sogo-openchange-backend -- Andrey Cherepanov cas at altlinux.org
On 12/03/16 15:15, Andrey Cherepanov wrote:> 12.03.2016 17:57, Rowland penny пишет: >>> What policy of using new version of libraries for stable version of >>> Samba? Can I fix domain provision with talloc-2.1.6 for samba-4.3.6? >>> >> >> Can I ask why you are building talloc separately ? If you build Samba >> normally, it will be built for you. I am no expert here, but I think >> Samba relies on the builtin version of Samba. > It's good practice for shared libraries:Who says so ?> $ apt-cache whatdepends libtalloc | grep '^ [a-z]' | wc -l > 57 > > It is used for samba and samba-DC, sssd and openchange, cifs-utils and > sogo-openchange-backend >Yes and all of them will work with the version compiled during the Samba compile, unlike your self standalone compiled version seems to. Rowland
On Sat, 2016-03-12 at 15:32 +0000, Rowland penny wrote:> On 12/03/16 15:15, Andrey Cherepanov wrote: > > 12.03.2016 17:57, Rowland penny пишет: > > > > What policy of using new version of libraries for stable > > > > version of > > > > Samba? Can I fix domain provision with talloc-2.1.6 for samba > > > > -4.3.6? > > > > > > > > > > Can I ask why you are building talloc separately ? If you build > > > Samba > > > normally, it will be built for you. I am no expert here, but I > > > think > > > Samba relies on the builtin version of Samba. > > It's good practice for shared libraries: > > Who says so ? > > > $ apt-cache whatdepends libtalloc | grep '^ [a-z]' | wc -l > > 57 > > > > It is used for samba and samba-DC, sssd and openchange, cifs-utils > > and > > sogo-openchange-backend > > > > Yes and all of them will work with the version compiled during the > Samba > compile, unlike your self standalone compiled version seems to.When combining Samba with other utilities that also use talloc, then having them all link against a system talloc is generally the path of least trouble. The issue here is that we broke backwards compatibility, but didn't realise it. Andrew Bartlett -- Andrew Bartlett http://samba.org/~abartlet/ Authentication Developer, Samba Team http://samba.org Samba Developer, Catalyst IT http://catalyst.net.nz/services/samba