/[smeserver]/rpms/openldap/sme9/openldap-smbk5pwd-overlay.patch
ViewVC logotype

Contents of /rpms/openldap/sme9/openldap-smbk5pwd-overlay.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Tue Nov 11 00:46:15 2014 UTC (10 years ago) by vip-ire
Branch: MAIN
CVS Tags: openldap-2_4_39-8_el6_sme, HEAD
Import openldap

1 Compile smbk5pwd together with other overlays.
2
3 Author: Jan Šafránek <jsafrane@redhat.com>
4 Resolves: #550895
5
6 Update to link against OpenSSL
7
8 Author: Jan Vcelak <jvcelak@redhat.com>
9 Resolves: #841560
10
11 diff --git a/contrib/slapd-modules/smbk5pwd/README b/contrib/slapd-modules/smbk5pwd/README
12 index f20ad94..b6433ff 100644
13 --- a/contrib/slapd-modules/smbk5pwd/README
14 +++ b/contrib/slapd-modules/smbk5pwd/README
15 @@ -1,3 +1,8 @@
16 +******************************************************************************
17 +Red Hat note: We do not provide Heimdal Kerberos but MIT. Therefore the module
18 +is compiled only with Samba features in Fedora and Red Hat Enterprise Linux.
19 +******************************************************************************
20 +
21 This directory contains a slapd overlay, smbk5pwd, that extends the
22 PasswordModify Extended Operation to update Kerberos keys and Samba
23 password hashes for an LDAP user.
24 diff --git a/servers/slapd/overlays/Makefile.in b/servers/slapd/overlays/Makefile.in
25 index 3af20e8..ef73663 100644
26 --- a/servers/slapd/overlays/Makefile.in
27 +++ b/servers/slapd/overlays/Makefile.in
28 @@ -33,7 +33,8 @@ SRCS = overlays.c \
29 syncprov.c \
30 translucent.c \
31 unique.c \
32 - valsort.c
33 + valsort.c \
34 + smbk5pwd.c
35 OBJS = statover.o \
36 @SLAPD_STATIC_OVERLAYS@ \
37 overlays.o
38 @@ -53,7 +54,7 @@ NT_LINK_LIBS = -L.. -lslapd $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
39 UNIX_LINK_LIBS = $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
40
41 LIBRARY = ../liboverlays.a
42 -PROGRAMS = @SLAPD_DYNAMIC_OVERLAYS@
43 +PROGRAMS = @SLAPD_DYNAMIC_OVERLAYS@ smbk5pwd.la
44
45 XINCPATH = -I.. -I$(srcdir)/..
46 XDEFS = $(MODULES_CPPFLAGS)
47 @@ -125,6 +126,12 @@ unique.la : unique.lo
48 valsort.la : valsort.lo
49 $(LTLINK_MOD) -module -o $@ valsort.lo version.lo $(LINK_LIBS)
50
51 +smbk5pwd.lo : smbk5pwd.c
52 + $(LTCOMPILE_MOD) -DDO_SAMBA -UHAVE_MOZNSS -DHAVE_OPENSSL $(shell pkg-config openssl --cflags) $<
53 +
54 +smbk5pwd.la : smbk5pwd.lo
55 + $(LTLINK_MOD) -module -o $@ smbk5pwd.lo version.lo $(LINK_LIBS) $(shell pkg-config openssl --libs)
56 +
57 install-local: $(PROGRAMS)
58 @if test -n "$?" ; then \
59 $(MKDIR) $(DESTDIR)$(moduledir); \
60 --
61 1.7.10.4
62

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed