]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/configinfo.c
Added connection initialisation and destruction notification. Now backends can regist...
[openldap] / servers / slapd / configinfo.c
index c25a76dc2806915e0b2d647e36d38b4a2173df78..332826ceb09baf02d1be79b7d38180d9053cc1b2 100644 (file)
@@ -17,7 +17,7 @@
 #include <ac/string.h>
 #include <ac/socket.h>
 
-#include "ldapconfig.h"
+#include "ldap_defaults.h"
 #include "slap.h"
 
 #if defined( SLAPD_CONFIG_DN )
@@ -39,11 +39,11 @@ config_info( Connection *conn, Operation *op )
        vals[1] = NULL;
 
        e = (Entry *) ch_calloc( 1, sizeof(Entry) );
-       /* initialize reader/writer lock */
-       entry_rdwr_init(e);
 
        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++ ) {
                strcpy( buf, backends[i].be_type );