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).
60 lines
1.0 KiB
Makefile
60 lines
1.0 KiB
Makefile
NULL =
|
|
SAMBA40EXTRA_LIBS = $(SAMBA40EXTRA_LIBPATH) \
|
|
-lsmbldap \
|
|
-lcliauth \
|
|
-lpdb \
|
|
-lsecurity \
|
|
-lsmbconf \
|
|
$(NULL)
|
|
|
|
INCLUDES = \
|
|
-I. \
|
|
-I$(srcdir) \
|
|
-I/usr/include/samba-4.0 \
|
|
-DPREFIX=\""$(prefix)"\" \
|
|
-DBINDIR=\""$(bindir)"\" \
|
|
-DLIBDIR=\""$(libdir)"\" \
|
|
-DLIBEXECDIR=\""$(libexecdir)"\" \
|
|
-DDATADIR=\""$(datadir)"\" \
|
|
-DLDAPIDIR=\""$(localstatedir)/run"\" \
|
|
-DHAVE_LDAP \
|
|
$(AM_CFLAGS) \
|
|
$(LDAP_CFLAGS) \
|
|
$(KRB5_CFLAGS) \
|
|
$(WARN_CFLAGS) \
|
|
$(TALLOC_CFLAGS) \
|
|
$(SAMBAUTIL_CFLAGS) \
|
|
$(NDR_CFLAGS) \
|
|
$(NULL)
|
|
|
|
plugindir = $(libdir)/samba/pdb
|
|
plugin_LTLIBRARIES = \
|
|
ipasam.la \
|
|
$(NULL)
|
|
|
|
ipasam_la_SOURCES = \
|
|
ipa_sam.c \
|
|
$(NULL)
|
|
|
|
ipasam_la_LDFLAGS = \
|
|
-avoid-version \
|
|
-module \
|
|
$(NULL)
|
|
|
|
ipasam_la_LIBADD = \
|
|
$(LDAP_LIBS) \
|
|
$(TALLOC_LIBS) \
|
|
$(SAMBAUTIL_LIBS) \
|
|
$(NDR_LIBS) \
|
|
$(SAMBA40EXTRA_LIBS) \
|
|
$(NULL)
|
|
|
|
EXTRA_DIST = \
|
|
README \
|
|
ipa_sam.h \
|
|
$(NULL)
|
|
|
|
MAINTAINERCLEANFILES = \
|
|
*~ \
|
|
Makefile.in
|