/* $OpenLDAP$ */
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
*
- * Copyright 1998-2013 The OpenLDAP Foundation.
+ * Copyright 1998-2014 The OpenLDAP Foundation.
* Portions Copyright 1998-2003 Kurt D. Zeilenga.
* Portions Copyright 2003 IBM Corporation.
* All rights reserved.
#include "slapcommon.h"
+extern int slap_DN_strict; /* dn.c */
+
static char csnbuf[ LDAP_PVT_CSNSTR_BUFSIZE ];
typedef struct Erec {
{
BackendDB *bd;
Entry *e;
+ int prev_DN_strict;
if ( erec->lineno < jumpline )
goto again;
+ if ( !dbnum ) {
+ prev_DN_strict = slap_DN_strict;
+ slap_DN_strict = 0;
+ }
e = str2entry2( buf, checkvals );
+ if ( !dbnum ) {
+ slap_DN_strict = prev_DN_strict;
+ }
if ( enable_meter )
lutil_meter_update( &meter,
- ftell( ldiffp->fp ),
+ ftello( ldiffp->fp ),
0);
if( e == NULL ) {
bvtext.bv_val[0] = '\0';
if ( enable_meter ) {
- lutil_meter_update( &meter, ftell( ldiffp->fp ), 1);
+ lutil_meter_update( &meter, ftello( ldiffp->fp ), 1);
lutil_meter_close( &meter );
}