Commit 6c1d48aa authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

ITS#6684

parent 4d52e10b
...@@ -83,6 +83,8 @@ OpenLDAP 2.4.24 Engineering ...@@ -83,6 +83,8 @@ OpenLDAP 2.4.24 Engineering
Fixed slapo-syncprov sessionlog ordering (ITS#6716) Fixed slapo-syncprov sessionlog ordering (ITS#6716)
Fixed slapo-translucent entry leak (ITS#6746) Fixed slapo-translucent entry leak (ITS#6746)
Fixed contrib/autogroup LDAP URI with attribute filter (ITS#6536) Fixed contrib/autogroup LDAP URI with attribute filter (ITS#6536)
Fixed contrib/autogroup install location (ITS#6684)
Fixed contrib/autogroup crash with ppolicy (ITS#6684)
Fixed contrib/nssov to only close socket on shutdown (ITS#6676) Fixed contrib/nssov to only close socket on shutdown (ITS#6676)
Fixed contrib/nssov multi platform support (ITS#6604) Fixed contrib/nssov multi platform support (ITS#6604)
Build Environment Build Environment
......
...@@ -2,6 +2,13 @@ LIBTOOL=../../../libtool ...@@ -2,6 +2,13 @@ LIBTOOL=../../../libtool
CPPFLAGS+=-I../../../include -I../../../servers/slapd CPPFLAGS+=-I../../../include -I../../../servers/slapd
ldap_subdir = openldap
prefix=/usr/local
exec_prefix = $(prefix)
libdir = $(exec_prefix)/lib
libexecdir = $(exec_prefix)/libexec
moduledir = $(exec_prefix)/libexec/$(ldap_subdir)
all: autogroup.la all: autogroup.la
autogroup.lo: autogroup.c autogroup.lo: autogroup.c
...@@ -9,12 +16,12 @@ autogroup.lo: autogroup.c ...@@ -9,12 +16,12 @@ autogroup.lo: autogroup.c
autogroup.la: autogroup.lo autogroup.la: autogroup.lo
$(LIBTOOL) --mode=link $(CC) -version-info 0:0:0 \ $(LIBTOOL) --mode=link $(CC) -version-info 0:0:0 \
-rpath $(PREFIX)/lib -module -o $@ $? -rpath $(libdir) -module -o $@ $?
clean: clean:
rm -f autogroup.lo autogroup.la rm -f autogroup.lo autogroup.la
install: autogroup.la install: autogroup.la
mkdir -p $(PREFIX)/lib/openldap mkdir -p $(DESTDIR)$(moduledir)
$(LIBTOOL) --mode=install cp autogroup.la $(PREFIX)/lib/openldap $(LIBTOOL) --mode=install cp autogroup.la $(DESTDIR)$(moduledir)
$(LIBTOOL) --finish $(PREFIX)/lib $(LIBTOOL) --finish $(DESTDIR)$(moduledir)
...@@ -1714,7 +1714,7 @@ autogroup_db_open( ...@@ -1714,7 +1714,7 @@ autogroup_db_open(
Debug( LDAP_DEBUG_TRACE, "==> autogroup_db_open\n", 0, 0, 0); Debug( LDAP_DEBUG_TRACE, "==> autogroup_db_open\n", 0, 0, 0);
if ( agi == NULL ) { if ( agi == NULL || !( slapMode & SLAP_SERVER_MODE )) {
return 0; return 0;
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment