#include <ac/string.h>
#include <ac/socket.h>
-#include "ldapconfig.h"
+#include "ldap_defaults.h"
#include "slap.h"
#if defined( SLAPD_CONFIG_DN )
e->e_attrs = NULL;
e->e_dn = ch_strdup( SLAPD_CONFIG_DN );
+ e->e_ndn = dn_normalize_case( ch_strdup( SLAPD_CONFIG_DN ));
e->e_private = NULL;
for ( i = 0; i < nbackends; i++ ) {