Diff for /servers/slapd/root_dse.c between versions 1.61.2.2 and 1.61.2.3

version 1.61.2.2, 2002/05/22 14:25:50 version 1.61.2.3, 2002/06/20 20:12:31
Line 1 Line 1
 /* $OpenLDAP: pkg/ldap/servers/slapd/root_dse.c,v 1.61.2.1 2002/04/15 15:21:56 kurt Exp $ */  /* $OpenLDAP: pkg/ldap/servers/slapd/root_dse.c,v 1.61.2.2 2002/05/22 14:25:50 kurt Exp $ */
 /* root_dse.c - Provides the ROOT DSA-Specific Entry  /* root_dse.c - Provides the ROOT DSA-Specific Entry
  *   *
  * Copyright 1999-2002 The OpenLDAP Foundation.   * Copyright 1999-2002 The OpenLDAP Foundation.
Line 58  root_dse_info( Line 58  root_dse_info(
                 = slap_schema.si_ad_supportedSASLMechanisms;                  = slap_schema.si_ad_supportedSASLMechanisms;
         AttributeDescription *ad_supportedFeatures          AttributeDescription *ad_supportedFeatures
                 = slap_schema.si_ad_supportedFeatures;                  = slap_schema.si_ad_supportedFeatures;
           AttributeDescription *ad_monitorContext
                   = slap_schema.si_ad_monitorContext;
         AttributeDescription *ad_ref          AttributeDescription *ad_ref
                 = slap_schema.si_ad_ref;                  = slap_schema.si_ad_ref;
   
Line 77  root_dse_info( Line 79  root_dse_info(
   
         e->e_private = NULL;          e->e_private = NULL;
   
         vals[0].bv_val = "OpenLDAProotDSE";  
         vals[0].bv_len = sizeof("OpenLDAProotDSE")-1;  
         attr_merge( e, ad_structuralObjectClass, vals );  
   
         vals[0].bv_val = "top";          vals[0].bv_val = "top";
         vals[0].bv_len = sizeof("top")-1;          vals[0].bv_len = sizeof("top")-1;
         attr_merge( e, ad_objectClass, vals );          attr_merge( e, ad_objectClass, vals );
Line 88  root_dse_info( Line 86  root_dse_info(
         vals[0].bv_val = "OpenLDAProotDSE";          vals[0].bv_val = "OpenLDAProotDSE";
         vals[0].bv_len = sizeof("OpenLDAProotDSE")-1;          vals[0].bv_len = sizeof("OpenLDAProotDSE")-1;
         attr_merge( e, ad_objectClass, vals );          attr_merge( e, ad_objectClass, vals );
           attr_merge( e, ad_structuralObjectClass, vals );
   
         for ( i = 0; i < nbackends; i++ ) {          for ( i = 0; i < nbackends; i++ ) {
                   if ( backends[i].be_flags & SLAP_BFLAG_MONITOR ) {
                           vals[0] = backends[i].be_suffix[0];
                           attr_merge( e, ad_monitorContext, vals );
                           continue;
                   }
                 if ( backends[i].be_flags & SLAP_BFLAG_GLUE_SUBORDINATE ) {                  if ( backends[i].be_flags & SLAP_BFLAG_GLUE_SUBORDINATE ) {
                         continue;                          continue;
                 }                  }

Removed from v.1.61.2.2  
changed lines
  Added in v.1.61.2.3


______________
© Copyright 1998-2020, OpenLDAP Foundation, info@OpenLDAP.org