63d3d2de02
Fixed libldap socket polling for writes Fixed liblutil string modifications Fixed slapd crash when attrsOnly is true Fixed slapd syncrepl delete handling Fixed slapd-mdb slapadd with -q Fixed slapd-mdb slapadd with -w Fixed slapd-mdb slapindex with -q and -t Fixed slapo-pcache time-to-refesh handling Fixed slapo-syncprov loop detection Build Environment Fixed POSIX make support Fixed slapd-mdb build on POSIX Documentation Added option "-o" to ldap*(1) pages Fixed ldap*(1) page cleanup Fixed ldap_modify(3) prototypes
21 lines
607 B
Text
21 lines
607 B
Text
$NetBSD: patch-dd,v 1.3 2012/03/13 19:57:11 adam Exp $
|
|
|
|
--- contrib/slapd-modules/nops/nops.c.orig 2009-04-28 02:51:12.000000000 +0200
|
|
+++ contrib/slapd-modules/nops/nops.c
|
|
@@ -69,10 +69,15 @@ nops_modify( Operation *op, SlapReply *r
|
|
int rc;
|
|
|
|
if ((m = op->orm_modlist) == NULL) {
|
|
+ slap_callback *cb = op->o_callback;
|
|
+
|
|
op->o_bd->bd_info = (BackendInfo *)(on->on_info);
|
|
+ op->o_callback = NULL;
|
|
send_ldap_error(op, rs, LDAP_INVALID_SYNTAX,
|
|
"nops() got null orm_modlist");
|
|
- return(rs->sr_err);
|
|
+ op->o_callback = cb;
|
|
+
|
|
+ return (rs->sr_err);
|
|
}
|
|
|
|
op->o_bd = on->on_info->oi_origdb;
|