]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-monitor/conn.c
ITS#4587: selfwrite access is broken
[openldap] / servers / slapd / back-monitor / conn.c
index b5fcab790ac3d4ed6f185956662a1d7d2ef36937..d8686e8ad05f015cc2a9650894e53a5a64635f3b 100644 (file)
@@ -2,7 +2,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 2001-2005 The OpenLDAP Foundation.
+ * Copyright 2001-2006 The OpenLDAP Foundation.
  * Portions Copyright 2001-2003 Pierangelo Masarati.
  * All rights reserved.
  *
@@ -547,6 +547,7 @@ monitor_subsys_conn_create(
                char                    *next = NULL;
                static struct berval    nconn_bv = BER_BVC( "cn=connection " );
 
+               rc = LDAP_NO_SUCH_OBJECT;
               
                /* create exactly the required entry;
                 * the normalized DN must start with "cn=connection ",