Diff for /servers/slapd/root_dse.c between versions 1.76 and 1.77

version 1.76, 2003/02/25 20:08:48 version 1.77, 2003/02/28 11:34:35
Line 1 Line 1
 /* $OpenLDAP: pkg/ldap/servers/slapd/root_dse.c,v 1.75 2003/02/10 01:09:00 kurt Exp $ */  /* $OpenLDAP: pkg/ldap/servers/slapd/root_dse.c,v 1.76 2003/02/25 20:08:48 kurt Exp $ */
 /* root_dse.c - Provides the ROOT DSA-Specific Entry  /* root_dse.c - Provides the ROOT DSA-Specific Entry
  *   *
  * Copyright 1999-2003 The OpenLDAP Foundation.   * Copyright 1999-2003 The OpenLDAP Foundation.
Line 55  root_dse_info( Line 55  root_dse_info(
                 = slap_schema.si_ad_objectClass;                  = slap_schema.si_ad_objectClass;
         AttributeDescription *ad_namingContexts          AttributeDescription *ad_namingContexts
                 = slap_schema.si_ad_namingContexts;                  = slap_schema.si_ad_namingContexts;
         AttributeDescription *ad_supportedControl  
                 = slap_schema.si_ad_supportedControl;  
         AttributeDescription *ad_supportedExtension          AttributeDescription *ad_supportedExtension
                 = slap_schema.si_ad_supportedExtension;                  = slap_schema.si_ad_supportedExtension;
         AttributeDescription *ad_supportedLDAPVersion          AttributeDescription *ad_supportedLDAPVersion
Line 158  root_dse_info( Line 156  root_dse_info(
         /* altServer unsupported */          /* altServer unsupported */
   
         /* supportedControl */          /* supportedControl */
         for ( i=0; (vals[0].bv_val = get_supported_ctrl(i)) != NULL; i++ ) {          if ( controls_root_dse_info( e ) != 0 ) {
                 vals[0].bv_len = strlen( vals[0].bv_val );                  return LDAP_OTHER;
 #ifdef SLAP_NVALUES  
                 if( attr_merge( e, ad_supportedControl, vals, NULL ) )  
 #else  
                 if( attr_merge( e, ad_supportedControl, vals ) )  
 #endif  
                 {  
                         return LDAP_OTHER;  
                 }  
         }          }
   
         /* supportedExtension */          /* supportedExtension */

Removed from v.1.76  
changed lines
  Added in v.1.77


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