2007-08-01 08:00:06 +00:00
|
|
|
Compile smbk5pwd together with other overlays.
|
|
|
|
|
2008-09-01 08:09:50 +00:00
|
|
|
diff -up openldap-2.4.11/contrib/slapd-modules/smbk5pwd/README.patch8 openldap-2.4.11/contrib/slapd-modules/smbk5pwd/README
|
|
|
|
--- openldap-2.4.11/contrib/slapd-modules/smbk5pwd/README.patch8 2005-11-12 16:18:09.000000000 +0100
|
|
|
|
+++ openldap-2.4.11/contrib/slapd-modules/smbk5pwd/README 2008-09-01 09:57:09.000000000 +0200
|
2007-07-31 15:35:51 +00:00
|
|
|
@@ -1,3 +1,8 @@
|
|
|
|
+***************************************************************
|
|
|
|
+Red Hat note: Kerberos support is NOT compiled into
|
|
|
|
+this version of smbk5pwd because we do not use Heimdall.
|
|
|
|
+***************************************************************
|
|
|
|
+
|
2009-09-18 10:01:45 +00:00
|
|
|
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.
|
2008-09-01 08:09:50 +00:00
|
|
|
diff -up openldap-2.4.11/servers/slapd/overlays/Makefile.in.patch8 openldap-2.4.11/servers/slapd/overlays/Makefile.in
|
|
|
|
--- openldap-2.4.11/servers/slapd/overlays/Makefile.in.patch8 2008-02-12 00:26:48.000000000 +0100
|
|
|
|
+++ openldap-2.4.11/servers/slapd/overlays/Makefile.in 2008-09-01 09:57:09.000000000 +0200
|
|
|
|
@@ -30,7 +30,8 @@ SRCS = overlays.c \
|
2007-06-29 16:06:58 +00:00
|
|
|
syncprov.c \
|
|
|
|
translucent.c \
|
|
|
|
unique.c \
|
|
|
|
- valsort.c
|
|
|
|
+ valsort.c \
|
2007-07-01 19:58:38 +00:00
|
|
|
+ smbk5pwd.c
|
2007-07-31 15:35:51 +00:00
|
|
|
OBJS = statover.o \
|
|
|
|
@SLAPD_STATIC_OVERLAYS@ \
|
|
|
|
overlays.o
|
2008-09-01 08:09:50 +00:00
|
|
|
@@ -43,14 +44,14 @@ LTONLY_MOD = $(LTONLY_mod)
|
2007-06-29 16:06:58 +00:00
|
|
|
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)
|
2008-09-01 08:09:50 +00:00
|
|
|
@@ -113,6 +114,9 @@ unique.la : unique.lo
|
2007-06-29 16:06:58 +00:00
|
|
|
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 $(LINK_LIBS)
|
|
|
|
+
|
|
|
|
install-local: $(PROGRAMS)
|
|
|
|
@if test -n "$?" ; then \
|
|
|
|
$(MKDIR) $(DESTDIR)$(moduledir); \
|