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