Skip to content
Snippets Groups Projects
Commit 26c2c981 authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

move slapo-lastmod to contrib/slapd-modules/lastlog/ (ITS#4701)

parent 37df2996
Branches
Tags
No related merge requests found
/* lastmod.c - returns last modification info */
/* $OpenLDAP$ */
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
*
* Copyright 2004-2006 The OpenLDAP Foundation.
......@@ -563,7 +564,7 @@ lastmod_update( Operation *op, SlapReply *rs )
int rc;
op->o_bd->bd_info = (BackendInfo *)on->on_info->oi_orig;
rc = (*op->o_bd->bd_info->bi_entry_get_rw)( op, &bv_name, NULL, NULL, 0, &e );
rc = op->o_bd->bd_info->bi_entry_get_rw( op, &bv_name, NULL, NULL, 0, &e );
if ( rc == LDAP_SUCCESS ) {
a = attr_find( e->e_attrs, slap_schema.si_ad_modifiersName );
if ( a != NULL ) {
......@@ -592,7 +593,7 @@ lastmod_update( Operation *op, SlapReply *rs )
assert( dn_match( &bv_name, &e->e_name ) );
assert( dn_match( &bv_nname, &e->e_nname ) );
(*op->o_bd->bd_info->bi_entry_release_rw)( op, e, 0 );
op->o_bd->bd_info->bi_entry_release_rw( op, e, 0 );
}
op->o_bd->bd_info = bi;
......
......@@ -21,7 +21,6 @@ SRCS = overlays.c \
denyop.c \
dyngroup.c \
dynlist.c \
lastmod.c \
pcache.c \
ppolicy.c \
refint.c \
......@@ -81,9 +80,6 @@ dyngroup.la : dyngroup.lo
dynlist.la : dynlist.lo
$(LTLINK_MOD) -module -o $@ dynlist.lo version.lo $(LINK_LIBS)
lastmod.la : lastmod.lo
$(LTLINK_MOD) -module -o $@ lastmod.lo version.lo $(LINK_LIBS)
pcache.la : pcache.lo
$(LTLINK_MOD) -module -o $@ pcache.lo version.lo $(LINK_LIBS)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment