]> git.sur5r.net Git - openldap/commitdiff
import fix to ITS#4633 (though it was HEAD only when first fixed)
authorPierangelo Masarati <ando@openldap.org>
Sun, 6 Aug 2006 12:36:24 +0000 (12:36 +0000)
committerPierangelo Masarati <ando@openldap.org>
Sun, 6 Aug 2006 12:36:24 +0000 (12:36 +0000)
CHANGES
servers/slapd/bconfig.c

diff --git a/CHANGES b/CHANGES
index a91fd8582ad6a8b7d3ea03d276e17bb7c9d67d17..69f61b6c77eaf2419a73d73701e9e96f3c06c91c 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,7 @@
 OpenLDAP 2.3 Change Log
 
 OpenLDAP 2.3.26 Engineering
+       Fixed slapd incorrect rebuilding of replica URI (ITS#4633)
        Fixed back-monitor operations order via callbacks (ITS#4631)
 
 OpenLDAP 2.3.25 Release
index 6b3a4ccbf68ac149326874b07e95e81ced72e271..f57351ff65f463bd8e68f58704a03c41986e8657 100644 (file)
@@ -2507,7 +2507,7 @@ config_replica(ConfigArgs *c) {
                        }
                        replicauri = ch_malloc( len );
                        replicahost = lutil_strcopy( replicauri, ludp->lud_scheme );
-                       replicahost = lutil_strcopy( replicauri, "://" );
+                       replicahost = lutil_strcopy( replicahost, "://" );
                        if (ludp->lud_port == LDAP_PORT) {
                                strcpy( replicahost, ludp->lud_host );
                        } else {