]> git.sur5r.net Git - openldap/commitdiff
#5925, set LINKED flag so it's possible to detect non-linked subs.
authorHoward Chu <hyc@openldap.org>
Thu, 5 Feb 2009 21:54:11 +0000 (21:54 +0000)
committerHoward Chu <hyc@openldap.org>
Thu, 5 Feb 2009 21:54:11 +0000 (21:54 +0000)
(But we don't check for this flag yet. Not sure what to really do
about improper configs after they've gotten this far...)

servers/slapd/backglue.c

index f9f49421f4a5fd9880824285d3424d1969fd4210..cf53b0b5e35976c97a20631ba599933693e1884a 100644 (file)
@@ -1126,6 +1126,7 @@ glue_sub_attach( int online )
                                &gi->gi_n[gi->gi_nodes].gn_pdn );
                        gi->gi_nodes++;
                        on->on_bi.bi_private = gi;
+                       ga->ga_be->be_flags |= SLAP_DBFLAG_GLUE_LINKED;
                        break;
                }
                if ( !be ) {