From 9d11324e96535541317a16e8ab99dfee822bdfe5 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Sat, 29 Jan 2005 18:38:44 +0000 Subject: [PATCH] make the glue database inherit the controls of the subordinates (doesn't fix test033 though) --- servers/slapd/overlays/glue.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/servers/slapd/overlays/glue.c b/servers/slapd/overlays/glue.c index 1686a905c6..e523e2864d 100644 --- a/servers/slapd/overlays/glue.c +++ b/servers/slapd/overlays/glue.c @@ -701,7 +701,15 @@ glue_db_open ( int i; for ( i=0; igi_nodes; i++ ) { + int j; + gi->gi_n[i].gn_be = backendDB + gi->gi_n[i].gn_bx; + + for ( j = 0; j < SLAP_MAX_CIDS; j++ ) { + if ( gi->gi_n[i].gn_be->be_ctrls[ j ] ) { + be->be_ctrls[ j ] = gi->gi_n[i].gn_be->be_ctrls[ j ]; + } + } } return 0; } -- 2.39.5