]> git.sur5r.net Git - openldap/commitdiff
wrap bi_acl_group in #ifdef SLAPD_ACLGROUPS
authorHallvard Furuseth <hallvard@openldap.org>
Sat, 20 Feb 1999 08:53:48 +0000 (08:53 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Sat, 20 Feb 1999 08:53:48 +0000 (08:53 +0000)
servers/slapd/back-passwd/init.c
servers/slapd/back-perl/init.c
servers/slapd/back-shell/init.c
servers/slapd/back-tcl/tcl_init.c

index eea608c2fca41b670a8ae499e2db29bd633e85ea..e6fd2193695069eef6d80b6ae6f320a72ec4f009 100644 (file)
@@ -35,7 +35,9 @@ passwd_back_initialize(
        bi->bi_op_delete = NULL;
        bi->bi_op_abandon = NULL;
 
+#ifdef SLAPD_ACLGROUPS
        bi->bi_acl_group = NULL;
+#endif
 
        return 0;
 }
index a009ec8056ef295ce3e41912837259a09b5986c8..e3e41d8c727b2a24929d224fa1b996e0790fbb00 100644 (file)
@@ -74,7 +74,9 @@ perl_back_initialize(
        bi->bi_op_delete = perl_back_delete;
        bi->bi_op_abandon = NULL;
 
+#ifdef SLAPD_ACLGROUPS
        bi->bi_acl_group = NULL;
+#endif
 
        return 0;
 }
index 01b46cc51906c90ab6b285cb6a612f7ff1d46d83..f0f1a93f6ea20a000b0a6daa13100fc4f8d12eae 100644 (file)
@@ -35,7 +35,9 @@ shell_back_initialize(
        bi->bi_op_delete = shell_back_delete;
        bi->bi_op_abandon = shell_back_abandon;
 
+#ifdef SLAPD_ACLGROUPS
        bi->bi_acl_group = NULL;
+#endif
 
        return 0;
 }
index d28b23c796595b218e6beed287cdcbca0d2ca129..e7e71323b8dbb6d9e6b48c6cd2cc23cbd0cd5787 100644 (file)
@@ -1,6 +1,6 @@
 /* tcl_init.c - tcl backend initialization
  *
- * $Id: tcl_init.c,v 1.3 1999/02/17 01:02:11 bcollins Exp $
+ * $Id: tcl_init.c,v 1.4 1999/02/18 01:18:39 bcollins Exp $
  *
  * Copyright 1999, Ben Collins <bcollins@debian.org>, All rights reserved.
  *
@@ -59,7 +59,9 @@ tcl_back_initialize (
        bi->bi_op_delete = tcl_back_delete;
        bi->bi_op_abandon = tcl_back_abandon;
 
+#ifdef SLAPD_ACLGROUPS
        bi->bi_acl_group = NULL;
+#endif
 
        return 0;
 }