#7893 ipasam needs changes for Samba 4.10
Closed: fixed 5 years ago by cheimes. Opened 5 years ago by sin.

Description of problem

With Samba 4.10 access to sid_string_talloc() and sid_string_dbg() functions from libsmbconf.so will not be available for external applications (replaced to /usr/lib64/samba/libsamba-security-samba4.so). FreeIPA's ipasam module was using those for own needs. Now it needs to reimplement.

See https://git.samba.org/?p=samba.git;a=commitdiff;h=6a7a993317119f54e1b1d6e4aa6b295a9827c15f and https://git.samba.org/?p=samba.git;a=commit;h=131ee1b2dbfab5267bb601d935c6af249d7ec6bd

Actual problem

During testing we got:
x86_64: NEW bad_elf_symbols detected:
freeipa-server-trust-ad-4.7.1-alt7.x86_64.rpm /usr/lib64/samba/pdb/ipasam.so
U sid_string_dbg
freeipa-server-trust-ad-4.7.1-alt7.x86_64.rpm /usr/lib64/samba/pdb/ipasam.so
U sid_string_talloc
aarch64: NEW bad_elf_symbols detected:
freeipa-server-trust-ad-4.7.1-alt7.aarch64.rpm /usr/lib64/samba/pdb/ipasam.so
U sid_string_dbg
freeipa-server-trust-ad-4.7.1-alt7.aarch64.rpm /usr/lib64/samba/pdb/ipasam.so
U sid_string_talloc


master:

  • ffcbb83 ipasam: use SID formatting calls to libsss_idmap

ipa-4-7:

  • 137af1d ipasam: use SID formatting calls to libsss_idmap

Metadata Update from @cheimes:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

5 years ago

ipa-4-6:

  • 37fa917 Use unicode strings for Python 2 version
  • fa0b273 ipa_sam: remove dependency to talloc_strackframe.h
  • 910e563 Remove ZERO_STRUCT() call
  • 95c91b5 ipasam: use SID formatting calls to libsss_idmap

Log in to comment on this ticket.

Metadata