On Mon, 19 Jan 2015, Martin Kosek wrote:
On 01/16/2015 05:06 PM, Sumit Bose wrote:
On Mon, Jan 12, 2015 at 04:55:33PM +0200, Alexander Bokovoy wrote:
Hi,

Samba project renamed libpdb library we use in ipa-sam module to
libsamba-passdb due to naming clash with some other library popular in
academic circles (details are in 
https://bugzilla.samba.org/show_bug.cgi?id=10355)

The change will become visible with Samba 4.2.0 release and is actually
already visible in Rawhide as it packages Samba 4.2 pre-releases.

Attached fix is introducing support for both Samba <4.2 and 4.2+.

I've tested that it builds properly against Samba 4.2 in Rawhide and
against Samba 4.1 in Fedora 21, and proper symbols exposed (disassembled
the code in pdb_init_ipasam to see if address of ipasam_id_to_sid is assigned
to the struct member) but I haven't deployed Rawhide to actually test
FreeIPA with trusts yet.

https://fedorahosted.org/freeipa/ticket/4778

--
/ Alexander Bokovoy

This patch does not break F21 in my testing and allows building FreeIPA
on platforms with samba-4.2, ACK.

Thanks to both!

Pushed to master: d57efb74bb6ad91b029fffff39ed4e482c41f8ba

If the patch is also needed in ipa-4-1 branch, we can backport it there as well.
Yes, you can safely add it to 4.1, I've tested that. The patch covers
both libraries specifically to allow us to use the same code for Rawhide
and older distros.

--
/ Alexander Bokovoy

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to