#endif
};
+extern int ldbm_ignore_nextid_file;
+
#include "proto-back-ldbm.h"
LDAP_END_DECL
#include "slap.h"
#include "back-ldbm.h"
+int ldbm_ignore_nextid_file = 0;
+
+
int
ldbm_back_db_config(
Backend *be,
char* file = li->li_nextid_file;
FILE* fp;
+ if ( ldbm_ignore_nextid_file )
+ return NOID;
+
if ( (fp = fopen( file, "r" )) == NULL ) {
Debug( LDAP_DEBUG_ANY,
"next_id_read: could not open \"%s\"\n",
FILE* fp;
int rc;
+ if ( ldbm_ignore_nextid_file )
+ return 0;
+
if ( (fp = fopen( file, "w" )) == NULL ) {
Debug( LDAP_DEBUG_ANY, "next_id_write(%ld): could not open \"%s\"\n",
id, file, 0 );
struct berval bv;
struct berval *vals[2];
+ ldbm_ignore_nextid_file = 1;
+
tailorfile = SLAPD_DEFAULT_CONFIGFILE;
dbnum = -1;
while ( (i = getopt( argc, argv, "d:f:i:n:" )) != EOF ) {
struct berval *vals[2];
FILE *fp;
+ ldbm_ignore_nextid_file = 1;
+
tailorfile = SLAPD_DEFAULT_CONFIGFILE;
dbnum = -1;
while ( (i = getopt( argc, argv, "d:f:i:n:" )) != EOF ) {
struct berval bv;
struct berval *vals[2];
+ ldbm_ignore_nextid_file = 1;
+
inputfile = NULL;
tailorfile = SLAPD_DEFAULT_CONFIGFILE;
dbnum = -1;
struct berval *vals[2];
Avlnode *avltypes = NULL;
+ ldbm_ignore_nextid_file = 1;
+
sbindir = DEFAULT_SBINDIR;
tailorfile = SLAPD_DEFAULT_CONFIGFILE;
dbnum = -1;