Diff for /servers/slapd/bconfig.c between versions 1.202.2.36 and 1.202.2.37

version 1.202.2.36, 2008/07/09 23:47:39 version 1.202.2.37, 2008/07/09 23:52:27
Line 1 Line 1
 /* bconfig.c - the config backend */  /* bconfig.c - the config backend */
 /* $OpenLDAP: pkg/ldap/servers/slapd/bconfig.c,v 1.202.2.35 2008/07/09 23:27:41 quanah Exp $ */  /* $OpenLDAP: pkg/ldap/servers/slapd/bconfig.c,v 1.202.2.36 2008/07/09 23:47:39 quanah Exp $ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.  /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *   *
  * Copyright 2005-2008 The OpenLDAP Foundation.   * Copyright 2005-2008 The OpenLDAP Foundation.
Line 3994  cfAddDatabase( CfEntryInfo *p, Entry *e, Line 3994  cfAddDatabase( CfEntryInfo *p, Entry *e,
         }          }
         /* config must be {0}, nothing else allowed */          /* config must be {0}, nothing else allowed */
         if ( !strncmp( e->e_nname.bv_val, "olcDatabase={0}", STRLENOF("olcDatabase={0}")) &&          if ( !strncmp( e->e_nname.bv_val, "olcDatabase={0}", STRLENOF("olcDatabase={0}")) &&
                 strcmp( e->e_nname.bv_val + STRLENOF("olcDatabase={0}"), "config" )) {                  strncmp( e->e_nname.bv_val + STRLENOF("olcDatabase={0}"), "config,", STRLENOF("config,") )) {
                 return LDAP_CONSTRAINT_VIOLATION;                  return LDAP_CONSTRAINT_VIOLATION;
         }          }
         ca->be = frontendDB;    /* just to get past check_vals */          ca->be = frontendDB;    /* just to get past check_vals */

Removed from v.1.202.2.36  
changed lines
  Added in v.1.202.2.37


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