Diff for /servers/slapd/root_dse.c between versions 1.61.2.7 and 1.72

version 1.61.2.7, 2003/02/09 16:31:36 version 1.72, 2003/01/03 19:20:55
Line 1 Line 1
 /* $OpenLDAP: pkg/ldap/servers/slapd/root_dse.c,v 1.74 2003/02/08 20:53:07 kurt Exp $ */  /* $OpenLDAP: pkg/ldap/servers/slapd/root_dse.c,v 1.71 2002/12/07 16:20:29 ando 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 11 Line 11
  */   */
   
 #include "portable.h"  #include "portable.h"
   #include "slapi_common.h"
   
 #include <stdio.h>  #include <stdio.h>
   
 #include <ac/string.h>  #include <ac/string.h>
   
 #include "slap.h"  #include "slap.h"
 #ifdef LDAP_SLAPI  
 #include "slapi.h"  #include "slapi.h"
 #endif  
 #include <ldif.h>  #include <ldif.h>
 #include "lber_pvt.h"  #include "lber_pvt.h"
   #include "slapi/slapi_utils.h"
   
   struct berval *ns_get_supported_extop (int);
   
 static struct berval supportedFeatures[] = {  static struct berval supportedFeatures[] = {
         BER_BVC(LDAP_FEATURE_ALL_OPERATIONAL_ATTRS), /* all Operational Attributes ("+") */          BER_BVC(LDAP_FEATURE_ALL_OPERATIONAL_ATTRS), /* all Operational Attributes ("+") */
Line 138  root_dse_info( Line 139  root_dse_info(
                         return LDAP_OTHER;                          return LDAP_OTHER;
         }          }
   
 #ifdef LDAP_SLAPI  #if defined( LDAP_SLAPI )
         /* netscape supportedExtension */          /* netscape supportedExtension */
         for ( i = 0; (bv = ns_get_supported_extop(i)) != NULL; i++ ) {          for ( i = 0; (bv = ns_get_supported_extop(i)) != NULL; i++ ) {
                 vals[0] = *bv;                  vals[0] = *bv;
                 attr_merge( e, ad_supportedExtension, vals );                  attr_merge( e, ad_supportedExtension, vals );
         }          }
 #endif /* LDAP_SLAPI */  #endif /* defined( LDAP_SLAPI ) */
   
         /* supportedFeatures */          /* supportedFeatures */
         if( attr_merge( e, ad_supportedFeatures, supportedFeatures ) )          if( attr_merge( e, ad_supportedFeatures, supportedFeatures ) )

Removed from v.1.61.2.7  
changed lines
  Added in v.1.72


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