]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-shell/init.c
Do not return pointers into BerElement we do not own
[openldap] / servers / slapd / back-shell / init.c
index 1a83449d14d890771ada39ec5e2401b0db3dc9fb..cfb5357dd0ab17a2c51f2e7f695e5b1472755601 100644 (file)
@@ -1,7 +1,7 @@
 /* init.c - initialize shell backend */
 /* $OpenLDAP$ */
 /*
- * Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved.
+ * Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
  */
 
@@ -44,7 +44,6 @@ shell_back_initialize(
        bi->bi_db_open = 0;
        bi->bi_db_close = 0;
        bi->bi_db_destroy = shell_back_db_destroy;
-       bi->bi_db_sync = 0;
 
        bi->bi_op_bind = shell_back_bind;
        bi->bi_op_unbind = shell_back_unbind;
@@ -58,8 +57,6 @@ shell_back_initialize(
 
        bi->bi_extended = 0;
 
-       bi->bi_acl_group = 0;
-       bi->bi_acl_attribute = 0;
        bi->bi_chk_referrals = 0;
 
        bi->bi_connection_init = 0;