]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-ldbm/init.c
add referral check to functions elaborated by overlays
[openldap] / servers / slapd / back-ldbm / init.c
index ca095eccfe256e883bc0db343f95ea10ed808bc3..a705fd99848683ab4d9917e7c84a4096a250d1d2 100644 (file)
@@ -1,8 +1,17 @@
 /* init.c - initialize ldbm backend */
 /* $OpenLDAP$ */
-/*
- * Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
- * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
+/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
+ *
+ * Copyright 1998-2004 The OpenLDAP Foundation.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted only as authorized by the OpenLDAP
+ * Public License.
+ *
+ * A copy of this license is available in the file LICENSE in the
+ * top-level directory of the distribution or, alternatively, at
+ * <http://www.OpenLDAP.org/license.html>.
  */
 
 #include "portable.h"
@@ -84,6 +93,10 @@ ldbm_back_initialize(
        bi->bi_tool_entry_reindex = ldbm_tool_entry_reindex;
        bi->bi_tool_sync = ldbm_tool_sync;
 
+       bi->bi_tool_dn2id_get = 0;
+       bi->bi_tool_id2entry_get = 0;
+       bi->bi_tool_entry_modify = 0;
+
        bi->bi_connection_init = 0;
        bi->bi_connection_destroy = 0;
 
@@ -129,6 +142,7 @@ ldbm_back_db_init(
 
        /* indicate system schema supported */
        be->be_flags |= 
+               SLAP_BFLAG_INCREMENT |
 #ifdef LDBM_SUBENTRIES
                SLAP_BFLAG_SUBENTRIES |
 #endif