95d8d32fc5
- package rebased - removed embeded db4 - removed patches merged by upstream - removed no longer required patches - merged patches doing manpage changes - merged patches exporting ldif API - reapplied patches and added description to each one - removed unnecessary BuildRequires - cleaned %config, %build and %install sections - updated database upgrade process: - database is exported (slapcat) and reimported (slapadd) when minor version of openldap changes (safe and recomended way) - database is upgraded (db4) when minor version of db4 package changes (this is not done in %post anymore, as the database is not embeded, but using triggers) Resolved: #624616 Bogus links in "SEE ALSO" part of several man-pages Resolved: #625740 openldap-2.4.23 is available
58 lines
2.2 KiB
Diff
58 lines
2.2 KiB
Diff
Compile smbk5pwd together with other overlays.
|
|
|
|
Resolves: 550895
|
|
Author: Jan Šafránek <jsafrane@redhat.com>
|
|
|
|
diff -urNPp openldap-2.4.23.old/contrib/slapd-modules/smbk5pwd/README openldap-2.4.23.new/contrib/slapd-modules/smbk5pwd/README
|
|
--- openldap-2.4.23.old/contrib/slapd-modules/smbk5pwd/README 2010-04-13 22:22:30.000000000 +0200
|
|
+++ openldap-2.4.23.new/contrib/slapd-modules/smbk5pwd/README 2010-08-23 13:20:33.338687818 +0200
|
|
@@ -1,3 +1,8 @@
|
|
+*******************************************************
|
|
+Red Hat note: Kerberos support is NOT compiled into
|
|
+this version of smbk5pwd because we do not use Heimdal.
|
|
+*******************************************************
|
|
+
|
|
This directory contains a slapd overlay, smbk5pwd, that extends the
|
|
PasswordModify Extended Operation to update Kerberos keys and Samba
|
|
password hashes for an LDAP user.
|
|
diff -urNPp openldap-2.4.23.old/servers/slapd/overlays/Makefile.in openldap-2.4.23.new/servers/slapd/overlays/Makefile.in
|
|
--- openldap-2.4.23.old/servers/slapd/overlays/Makefile.in 2010-04-13 22:23:44.000000000 +0200
|
|
+++ openldap-2.4.23.new/servers/slapd/overlays/Makefile.in 2010-08-23 13:20:33.338687818 +0200
|
|
@@ -33,7 +33,8 @@ SRCS = overlays.c \
|
|
syncprov.c \
|
|
translucent.c \
|
|
unique.c \
|
|
- valsort.c
|
|
+ valsort.c \
|
|
+ smbk5pwd.c
|
|
OBJS = statover.o \
|
|
@SLAPD_STATIC_OVERLAYS@ \
|
|
overlays.o
|
|
@@ -46,14 +47,14 @@ LTONLY_MOD = $(LTONLY_mod)
|
|
LDAP_INCDIR= ../../../include
|
|
LDAP_LIBDIR= ../../../libraries
|
|
|
|
-MOD_DEFS = -DSLAPD_IMPORT
|
|
+MOD_DEFS = -DSLAPD_IMPORT -DDO_SAMBA
|
|
|
|
shared_LDAP_LIBS = $(LDAP_LIBLDAP_R_LA) $(LDAP_LIBLBER_LA)
|
|
NT_LINK_LIBS = -L.. -lslapd $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
|
|
UNIX_LINK_LIBS = $(@BUILD_LIBS_DYNAMIC@_LDAP_LIBS)
|
|
|
|
LIBRARY = ../liboverlays.a
|
|
-PROGRAMS = @SLAPD_DYNAMIC_OVERLAYS@
|
|
+PROGRAMS = @SLAPD_DYNAMIC_OVERLAYS@ smbk5pwd.la
|
|
|
|
XINCPATH = -I.. -I$(srcdir)/..
|
|
XDEFS = $(MODULES_CPPFLAGS)
|
|
@@ -125,6 +126,9 @@ unique.la : unique.lo
|
|
valsort.la : valsort.lo
|
|
$(LTLINK_MOD) -module -o $@ valsort.lo version.lo $(LINK_LIBS)
|
|
|
|
+smbk5pwd.la : smbk5pwd.lo
|
|
+ $(LTLINK_MOD) -module -o $@ smbk5pwd.lo version.lo -lldap -L../../../libraries/libldap/.libs/ $(LINK_LIBS)
|
|
+
|
|
install-local: $(PROGRAMS)
|
|
@if test -n "$?" ; then \
|
|
$(MKDIR) $(DESTDIR)$(moduledir); \
|