Diff for /servers/slapd/root_dse.c between versions 1.46 and 1.47

version 1.46, 2001/12/10 11:09:41 version 1.47, 2001/12/19 21:41:00
Line 1 Line 1
 /* $OpenLDAP: pkg/ldap/servers/slapd/root_dse.c,v 1.45 2001/12/09 01:01:58 hyc Exp $ */  /* $OpenLDAP: pkg/ldap/servers/slapd/root_dse.c,v 1.46 2001/12/10 11:09:41 hyc Exp $ */
 /* root_dse.c - Provides the ROOT DSA-Specific Entry  /* root_dse.c - Provides the ROOT DSA-Specific Entry
  *   *
  * Copyright 1999-2000 The OpenLDAP Foundation.   * Copyright 1999-2000 The OpenLDAP Foundation.
Line 39  root_dse_info( Line 39  root_dse_info(
         int             i, j;          int             i, j;
         char ** supportedSASLMechanisms;          char ** supportedSASLMechanisms;
   
         AttributeDescription *ad_objectClass = slap_schema.si_ad_objectClass;          AttributeDescription *ad_structuralObjectClass
         AttributeDescription *ad_namingContexts = slap_schema.si_ad_namingContexts;                  = slap_schema.si_ad_structuralObjectClass;
         AttributeDescription *ad_supportedControl = slap_schema.si_ad_supportedControl;          AttributeDescription *ad_objectClass
         AttributeDescription *ad_supportedExtension = slap_schema.si_ad_supportedExtension;                  = slap_schema.si_ad_objectClass;
         AttributeDescription *ad_supportedLDAPVersion = slap_schema.si_ad_supportedLDAPVersion;          AttributeDescription *ad_namingContexts
         AttributeDescription *ad_supportedSASLMechanisms = slap_schema.si_ad_supportedSASLMechanisms;                  = slap_schema.si_ad_namingContexts;
         AttributeDescription *ad_supportedFeatures = slap_schema.si_ad_supportedFeatures;          AttributeDescription *ad_supportedControl
         AttributeDescription *ad_ref = slap_schema.si_ad_ref;                  = slap_schema.si_ad_supportedControl;
           AttributeDescription *ad_supportedExtension
                   = slap_schema.si_ad_supportedExtension;
           AttributeDescription *ad_supportedLDAPVersion
                   = slap_schema.si_ad_supportedLDAPVersion;
           AttributeDescription *ad_supportedSASLMechanisms
                   = slap_schema.si_ad_supportedSASLMechanisms;
           AttributeDescription *ad_supportedFeatures
                   = slap_schema.si_ad_supportedFeatures;
           AttributeDescription *ad_ref
                   = slap_schema.si_ad_ref;
   
         Attribute *a;          Attribute *a;
   
Line 61  root_dse_info( Line 71  root_dse_info(
         (void) dn_normalize( e->e_ndn );          (void) dn_normalize( e->e_ndn );
         e->e_private = NULL;          e->e_private = NULL;
   
           val.bv_val = "OpenLDAProotDSE";
           val.bv_len = sizeof("OpenLDAProotDSE")-1;
           attr_merge( e, ad_structuralObjectClass, vals );
   
         val.bv_val = "top";          val.bv_val = "top";
         val.bv_len = sizeof("top")-1;          val.bv_len = sizeof("top")-1;
         attr_merge( e, ad_objectClass, vals );          attr_merge( e, ad_objectClass, vals );

Removed from v.1.46  
changed lines
  Added in v.1.47


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