From 0fe0efeeac7a721d5926ae68ea069fd64c9eaec2 Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Sat, 20 Feb 1999 08:53:48 +0000 Subject: [PATCH] wrap bi_acl_group in #ifdef SLAPD_ACLGROUPS --- servers/slapd/back-passwd/init.c | 2 ++ servers/slapd/back-perl/init.c | 2 ++ servers/slapd/back-shell/init.c | 2 ++ servers/slapd/back-tcl/tcl_init.c | 4 +++- 4 files changed, 9 insertions(+), 1 deletion(-) diff --git a/servers/slapd/back-passwd/init.c b/servers/slapd/back-passwd/init.c index eea608c2fc..e6fd219369 100644 --- a/servers/slapd/back-passwd/init.c +++ b/servers/slapd/back-passwd/init.c @@ -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; } diff --git a/servers/slapd/back-perl/init.c b/servers/slapd/back-perl/init.c index a009ec8056..e3e41d8c72 100644 --- a/servers/slapd/back-perl/init.c +++ b/servers/slapd/back-perl/init.c @@ -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; } diff --git a/servers/slapd/back-shell/init.c b/servers/slapd/back-shell/init.c index 01b46cc519..f0f1a93f6e 100644 --- a/servers/slapd/back-shell/init.c +++ b/servers/slapd/back-shell/init.c @@ -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; } diff --git a/servers/slapd/back-tcl/tcl_init.c b/servers/slapd/back-tcl/tcl_init.c index d28b23c796..e7e71323b8 100644 --- a/servers/slapd/back-tcl/tcl_init.c +++ b/servers/slapd/back-tcl/tcl_init.c @@ -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 , 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; } -- 2.39.5