Diff for /servers/slapd/root_dse.c between versions 1.58 and 1.60

version 1.58, 2002/01/10 21:34:11 version 1.60, 2002/02/15 15:27:31
Line 1 Line 1
 /* $OpenLDAP: pkg/ldap/servers/slapd/root_dse.c,v 1.57 2002/01/09 05:29:54 kurt Exp $ */  /* $OpenLDAP: pkg/ldap/servers/slapd/root_dse.c,v 1.59 2002/01/26 22:14:51 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 22  static char *supportedFeatures[] = { Line 22  static char *supportedFeatures[] = {
         "1.3.6.1.4.1.4203.1.5.1", /* all Operational Attributes ("+") */          "1.3.6.1.4.1.4203.1.5.1", /* all Operational Attributes ("+") */
         "1.3.6.1.4.1.4203.1.5.2", /* OCs in Attributes List */          "1.3.6.1.4.1.4203.1.5.2", /* OCs in Attributes List */
         "1.3.6.1.4.1.4203.1.5.3", /* (&) and (|) search filters */          "1.3.6.1.4.1.4203.1.5.3", /* (&) and (|) search filters */
           "1.3.6.1.4.1.4203.1.5.4", /* Language Tag Options */
           "1.3.6.1.4.1.4203.1.5.5", /* Language Range Options */
         NULL          NULL
 };  };
   
Line 35  root_dse_info( Line 37  root_dse_info(
 {  {
         char buf[BUFSIZ];          char buf[BUFSIZ];
         Entry           *e;          Entry           *e;
         struct berval   vals[2];          struct berval   vals[2], *bv;
         int             i, j;          int             i, j;
         char ** supportedSASLMechanisms;          char ** supportedSASLMechanisms;
   
Line 105  root_dse_info( Line 107  root_dse_info(
         }          }
   
         /* supportedExtension */          /* supportedExtension */
         for ( i=0; (vals[0].bv_val = get_supported_extop(i)) != NULL; i++ ) {          for ( i=0; (bv = get_supported_extop(i)) != NULL; i++ ) {
                 vals[0].bv_len = strlen( vals[0].bv_val );                  vals[0] = *bv;
                 attr_merge( e, ad_supportedExtension, vals );                  attr_merge( e, ad_supportedExtension, vals );
         }          }
   

Removed from v.1.58  
changed lines
  Added in v.1.60


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