mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-28 01:41:14 -06:00
d57efb74bb
1. Samba project renamed libpdb to libsamba-passdb https://bugzilla.samba.org/show_bug.cgi?id=10355 2. With interface version 24, Samba removed uid_to_sid()/gid_to_sid() from the PASSDB interface and united them as id_to_sid(). Make sure FreeIPA ipa_sam code supports new and old versions of the PASSDB API. https://fedorahosted.org/freeipa/ticket/4778 Reviewed-By: Sumit Bose <sbose@redhat.com>
67 lines
1.2 KiB
Makefile
67 lines
1.2 KiB
Makefile
NULL =
|
|
LIBPDB_NAME = @LIBPDB_NAME@
|
|
SAMBA40EXTRA_LIBS = $(SAMBA40EXTRA_LIBPATH) \
|
|
-lsmbldap \
|
|
-l$(LIBPDB_NAME) \
|
|
-lsmbconf \
|
|
$(NULL)
|
|
|
|
KRB5_UTIL_DIR=../../util
|
|
KRB5_UTIL_SRCS=$(KRB5_UTIL_DIR)/ipa_krb5.c $(KRB5_UTIL_DIR)/ipa_pwd_ntlm.c
|
|
|
|
AM_CPPFLAGS = \
|
|
-I. \
|
|
-I$(srcdir) \
|
|
-I/usr/include/samba-4.0 \
|
|
-DPREFIX=\""$(prefix)"\" \
|
|
-DBINDIR=\""$(bindir)"\" \
|
|
-DLIBDIR=\""$(libdir)"\" \
|
|
-DLIBEXECDIR=\""$(libexecdir)"\" \
|
|
-DDATADIR=\""$(datadir)"\" \
|
|
-DLDAPIDIR=\""$(localstatedir)/run"\" \
|
|
-DHAVE_LDAP \
|
|
-I $(KRB5_UTIL_DIR) \
|
|
$(LDAP_CFLAGS) \
|
|
$(KRB5_CFLAGS) \
|
|
$(WARN_CFLAGS) \
|
|
$(TALLOC_CFLAGS) \
|
|
$(SAMBAUTIL_CFLAGS) \
|
|
$(NDR_CFLAGS) \
|
|
$(SSSIDMAP_CFLAGS) \
|
|
$(NULL)
|
|
|
|
plugindir = $(libdir)/samba/pdb
|
|
plugin_LTLIBRARIES = \
|
|
ipasam.la \
|
|
$(NULL)
|
|
|
|
ipasam_la_SOURCES = \
|
|
ipa_sam.c \
|
|
$(KRB5_UTIL_SRCS) \
|
|
$(NULL)
|
|
|
|
ipasam_la_LDFLAGS = \
|
|
-avoid-version \
|
|
-module \
|
|
$(NULL)
|
|
|
|
ipasam_la_LIBADD = \
|
|
$(LDAP_LIBS) \
|
|
$(KRB5_LIBS) \
|
|
$(TALLOC_LIBS) \
|
|
$(SSL_LIBS) \
|
|
$(SAMBAUTIL_LIBS) \
|
|
$(NDR_LIBS) \
|
|
$(SAMBA40EXTRA_LIBS) \
|
|
$(SSSIDMAP_LIBS) \
|
|
$(NULL)
|
|
|
|
EXTRA_DIST = \
|
|
README \
|
|
ipa_sam.h \
|
|
$(NULL)
|
|
|
|
MAINTAINERCLEANFILES = \
|
|
*~ \
|
|
Makefile.in
|