From 27c24ff7be45405ee67326da54b7d0ef6bdd6438 Mon Sep 17 00:00:00 2001 From: Alexander Bokovoy Date: Wed, 16 May 2012 14:35:23 +0300 Subject: ipa-sam: update sid_to_id() interface to follow passdb API changes in Samba Commit a6e29f23f09ba5b6b6d362f7683ae8088bc0ba85 in Samba changed id mapping API in passdb interface to use 'struct unixid'. The change replaced three arguments (uid, gid, type) by one (struct unixid). As result, ipa-sam became broken. Without this change ipa-sam introduces stack corruption in Samba post 4.0.0alpha18 leading to corrupted security context stack as well and then crashing in setgroups(3). --- daemons/ipa-sam/Makefile.am | 1 - 1 file changed, 1 deletion(-) (limited to 'daemons/ipa-sam/Makefile.am') diff --git a/daemons/ipa-sam/Makefile.am b/daemons/ipa-sam/Makefile.am index 002e34eca..b5b9b0b75 100644 --- a/daemons/ipa-sam/Makefile.am +++ b/daemons/ipa-sam/Makefile.am @@ -4,7 +4,6 @@ SAMBA40EXTRA_LIBS = $(SAMBA40EXTRA_LIBPATH) \ -lcliauth \ -lpdb \ -lsecurity \ - -lutil_str \ -lsmbconf \ $(NULL) -- cgit