]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-shell/init.c
Patch: back-shell/searchexample.* nitpicks (ITS#1816)
[openldap] / servers / slapd / back-shell / init.c
index c539de9a1a9dd91c556518e5ea440cb32af91887..d7add624f552cd0df738ecd4ccb63742ec8c0468 100644 (file)
@@ -1,7 +1,7 @@
 /* init.c - initialize shell backend */
 /* $OpenLDAP$ */
 /*
- * Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved.
+ * Copyright 1998-2002 The OpenLDAP Foundation, All Rights Reserved.
  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
  */
 
@@ -19,7 +19,7 @@
 int back_shell_LTX_init_module(int argc, char *argv[]) {
     BackendInfo bi;
 
-    memset( &bi, 0, sizeof(bi) );
+    memset( &bi, '\0', sizeof(bi) );
     bi.bi_type = "shell";
     bi.bi_init = shell_back_initialize;
 
@@ -58,12 +58,8 @@ shell_back_initialize(
        bi->bi_extended = 0;
 
        bi->bi_acl_group = 0;
-
-#ifdef HAVE_CYRUS_SASL
-       bi->bi_sasl_authorize = 0;
-       bi->bi_sasl_getsecret = 0;
-       bi->bi_sasl_putsecret = 0;
-#endif /* HAVE_CYRUS_SASL */
+       bi->bi_acl_attribute = 0;
+       bi->bi_chk_referrals = 0;
 
        bi->bi_connection_init = 0;
        bi->bi_connection_destroy = 0;