]> git.sur5r.net Git - openldap/commitdiff
Ignore include file records when loading LDIF tree, their contents
authorHoward Chu <hyc@openldap.org>
Thu, 7 Apr 2005 05:32:21 +0000 (05:32 +0000)
committerHoward Chu <hyc@openldap.org>
Thu, 7 Apr 2005 05:32:21 +0000 (05:32 +0000)
have already been incorporated into the LDIF.

servers/slapd/bconfig.c

index 3014e13c2d01edcd62c331b5100229accb80d5a7..0fe2f2b08e39f0280370cbf40617bf3f0a8a4d25 100644 (file)
@@ -3277,8 +3277,10 @@ config_add_internal( CfBackInfo *cfb, Entry *e, SlapReply *rs, int *renum )
                break;
 
        case Cft_Include:
-               if ( !rs )      /* ignored */
+               if ( !rs ) {
+                       nocs = 0; /* ignored */
                        break;
+               }
                type_ad = cfAd_include;
                break;
 #ifdef SLAPD_MODULES