|
|
57672d |
Compile smbk5pwd together with other overlays.
|
|
|
57672d |
|
|
|
57672d |
Author: Jan Šafránek <jsafrane@redhat.com>
|
|
|
57672d |
Resolves: #550895
|
|
|
57672d |
|
|
|
57672d |
Update to link against OpenSSL
|
|
|
57672d |
|
|
|
57672d |
Author: Jan Vcelak <jvcelak@redhat.com>
|
|
|
57672d |
Resolves: #841560
|
|
|
57672d |
|
|
|
57672d |
diff --git a/contrib/slapd-modules/smbk5pwd/README b/contrib/slapd-modules/smbk5pwd/README
|
|
|
57672d |
index f20ad94..b6433ff 100644
|
|
|
57672d |
--- a/contrib/slapd-modules/smbk5pwd/README
|
|
|
57672d |
+++ b/contrib/slapd-modules/smbk5pwd/README
|
|
|
57672d |
@@ -1,3 +1,8 @@
|
|
|
57672d |
+******************************************************************************
|
|
|
57672d |
+Red Hat note: We do not provide Heimdal Kerberos but MIT. Therefore the module
|
|
|
57672d |
+is compiled only with Samba features in Fedora and Red Hat Enterprise Linux.
|
|
|
57672d |
+******************************************************************************
|
|
|
57672d |
+
|
|
|
57672d |
This directory contains a slapd overlay, smbk5pwd, that extends the
|
|
|
57672d |
PasswordModify Extended Operation to update Kerberos keys and Samba
|
|
|
57672d |
password hashes for an LDAP user.
|
|
|
57672d |
diff --git a/servers/slapd/overlays/Makefile.in b/servers/slapd/overlays/Makefile.in
|
|
|
57672d |
index 3af20e8..ef73663 100644
|
|
|
57672d |
--- a/servers/slapd/overlays/Makefile.in
|
|
|
57672d |
+++ b/servers/slapd/overlays/Makefile.in
|
|
|
57672d |
@@ -33,7 +33,8 @@ SRCS = overlays.c \
|
|
|
57672d |
syncprov.c \
|
|
|
57672d |
translucent.c \
|
|
|
57672d |
unique.c \
|
|
|
57672d |
- valsort.c
|
|
|
57672d |
+ valsort.c \
|
|
|
57672d |
+ smbk5pwd.c
|
|
|
57672d |
OBJS = statover.o \
|
|
|
57672d |
@SLAPD_STATIC_OVERLAYS@ \
|
|
|
57672d |
overlays.o
|
|
|
57672d |
@@ -53,7 +54,7 @@ NT_LINK_LIBS = -L.. -lslapd $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
|
|
|
57672d |
UNIX_LINK_LIBS = $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
|
|
|
57672d |
|
|
|
57672d |
LIBRARY = ../liboverlays.a
|
|
|
57672d |
-PROGRAMS = @SLAPD_DYNAMIC_OVERLAYS@
|
|
|
57672d |
+PROGRAMS = @SLAPD_DYNAMIC_OVERLAYS@ smbk5pwd.la
|
|
|
57672d |
|
|
|
57672d |
XINCPATH = -I.. -I$(srcdir)/..
|
|
|
57672d |
XDEFS = $(MODULES_CPPFLAGS)
|
|
|
57672d |
@@ -125,6 +126,12 @@ unique.la : unique.lo
|
|
|
57672d |
valsort.la : valsort.lo
|
|
|
57672d |
$(LTLINK_MOD) -module -o $@ valsort.lo version.lo $(LINK_LIBS)
|
|
|
57672d |
|
|
|
57672d |
+smbk5pwd.lo : smbk5pwd.c
|
|
|
57672d |
+ $(LTCOMPILE_MOD) -DDO_SAMBA -UHAVE_MOZNSS -DHAVE_OPENSSL $(shell pkg-config openssl --cflags) $<
|
|
|
57672d |
+
|
|
|
57672d |
+smbk5pwd.la : smbk5pwd.lo
|
|
|
57672d |
+ $(LTLINK_MOD) -module -o $@ smbk5pwd.lo version.lo $(LINK_LIBS) $(shell pkg-config openssl --libs)
|
|
|
57672d |
+
|
|
|
57672d |
install-local: $(PROGRAMS)
|
|
|
57672d |
@if test -n "$?" ; then \
|
|
|
57672d |
$(MKDIR) $(DESTDIR)$(moduledir); \
|
|
|
57672d |
--
|
|
|
57672d |
1.7.10.4
|
|
|
57672d |
|