Diff for /servers/slapd/root_dse.c between versions 1.94 and 1.96

version 1.94, 2004/10/01 05:33:17 version 1.96, 2005/01/01 19:49:50
Line 1 Line 1
 /* root_dse.c - Provides the Root DSA-Specific Entry */  /* root_dse.c - Provides the Root DSA-Specific Entry */
 /* $OpenLDAP: pkg/ldap/servers/slapd/root_dse.c,v 1.93 2004/09/04 02:54:30 kurt Exp $ */  /* $OpenLDAP: pkg/ldap/servers/slapd/root_dse.c,v 1.95 2004/10/06 03:51:39 hyc Exp $ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.  /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *   *
  * Copyright 1999-2004 The OpenLDAP Foundation.   * Copyright 1999-2005 The OpenLDAP Foundation.
  * All rights reserved.   * All rights reserved.
  *   *
  * Redistribution and use in source and binary forms, with or without   * Redistribution and use in source and binary forms, with or without
Line 169  root_dse_info( Line 169  root_dse_info(
         /* supportedLDAPVersion */          /* supportedLDAPVersion */
         for ( i=LDAP_VERSION_MIN; i<=LDAP_VERSION_MAX; i++ ) {          for ( i=LDAP_VERSION_MIN; i<=LDAP_VERSION_MAX; i++ ) {
                 char buf[BUFSIZ];                  char buf[BUFSIZ];
                 if (!( SLAPD_GLOBAL(allows) & SLAP_ALLOW_BIND_V2 ) &&                  if (!( global_allows & SLAP_ALLOW_BIND_V2 ) &&
                         ( i < LDAP_VERSION3 ) )                          ( i < LDAP_VERSION3 ) )
                 {                  {
                         /* version 2 and lower are disallowed */                          /* version 2 and lower are disallowed */
Line 197  root_dse_info( Line 197  root_dse_info(
                 ldap_charray_free( supportedSASLMechanisms );                  ldap_charray_free( supportedSASLMechanisms );
         }          }
   
         if ( SLAPD_GLOBAL(default_referral) != NULL ) {          if ( default_referral != NULL ) {
                 if( attr_merge( e, ad_ref, SLAPD_GLOBAL(default_referral), NULL /* FIXME */ ) ) {                  if( attr_merge( e, ad_ref, default_referral, NULL /* FIXME */ ) ) {
                         return LDAP_OTHER;                          return LDAP_OTHER;
                 }                  }
         }          }

Removed from v.1.94  
changed lines
  Added in v.1.96


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