Diff for /servers/slapd/root_dse.c between versions 1.4 and 1.5.2.1

version 1.4, 1999/05/28 16:56:48 version 1.5.2.1, 1999/06/17 19:48:04
Line 13 Line 13
   
 #include <stdio.h>  #include <stdio.h>
   
 #include "ldapconfig.h"  #include "ldap_defaults.h"
 #include "slap.h"  #include "slap.h"
   
 void  void
Line 44  root_dse_info( Connection *conn, Operati Line 44  root_dse_info( Connection *conn, Operati
                 }                  }
         }          }
   
   #if defined( SLAPD_MONITOR_DN )
           strcpy( buf, SLAPD_MONITOR_DN );
           val.bv_val = buf;
           val.bv_len = strlen( buf );
           attr_merge( e, "namingContexts", vals );
   #endif
   
   #if defined( SLAPD_CONFIG_DN )
           strcpy( buf, SLAPD_CONFIG_DN );
           val.bv_val = buf;
           val.bv_len = strlen( buf );
           attr_merge( e, "namingContexts", vals );
   #endif
   
 #if defined( SLAPD_SCHEMA_DN )  #if defined( SLAPD_SCHEMA_DN )
         val.bv_val = ch_strdup( SLAPD_SCHEMA_DN );          val.bv_val = ch_strdup( SLAPD_SCHEMA_DN );
         val.bv_len = strlen( val.bv_val );          val.bv_len = strlen( val.bv_val );
           attr_merge( e, "namingContexts", vals );
         attr_merge( e, "subschemaSubentry", vals );          attr_merge( e, "subschemaSubentry", vals );
         ldap_memfree( val.bv_val );          ldap_memfree( val.bv_val );
 #endif  #endif

Removed from v.1.4  
changed lines
  Added in v.1.5.2.1


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