Diff for /servers/slapd/root_dse.c between versions 1.42 and 1.43

version 1.42, 2001/11/05 22:14:42 version 1.43, 2001/11/17 15:18:07
Line 1 Line 1
 /* $OpenLDAP: pkg/ldap/servers/slapd/root_dse.c,v 1.41 2001/10/23 21:29:41 kurt Exp $ */  /* $OpenLDAP: pkg/ldap/servers/slapd/root_dse.c,v 1.42 2001/11/05 22:14:42 adamson 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 16 Line 16
 #include <ac/string.h>  #include <ac/string.h>
   
 #include "slap.h"  #include "slap.h"
   #include <ldif.h>
   
 static char *supportedFeatures[] = {  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 ("+") */
Line 146  root_dse_info( Line 147  root_dse_info(
 int read_root_dse_file( const char *fname )  int read_root_dse_file( const char *fname )
 {  {
         FILE    *fp;          FILE    *fp;
         char    *line, *savefname, *saveline;  
         int rc = 0, lineno = 0, lmax = 0;          int rc = 0, lineno = 0, lmax = 0;
         char    *buf = NULL;          char    *buf = NULL;
   
Line 164  int read_root_dse_file( const char *fnam Line 164  int read_root_dse_file( const char *fnam
         usr_attr->e_attrs = NULL;          usr_attr->e_attrs = NULL;
   
         while( ldif_read_record( fp, &lineno, &buf, &lmax ) ) {          while( ldif_read_record( fp, &lineno, &buf, &lmax ) ) {
                 ID id;  
                 Entry *e = str2entry( buf );                  Entry *e = str2entry( buf );
   
                 if( e == NULL ) {                  if( e == NULL ) {

Removed from v.1.42  
changed lines
  Added in v.1.43


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