[Date Prev][Date Next] [Chronological] [Thread] [Top]

FW: commit: ldap/servers/slapd result.c



Ugh. After applying this patch, test009-referral fails. It will succeed if
data/slapd-ref-slave.conf is changed to drop the trailing '/' from the
referral directive. It's as if the test has always relied on broken behavior
in slapd. Why is the trailing '/' making a difference?

--- s1.conf     Sat Sep 18 18:33:37 1999
+++ slapd-ref-slave.conf        Wed Dec  1 23:24:58 1999
@@ -12,7 +12,8 @@
 # ldbm database definitions
 #######################################################################

-referral       "ldap://localhost:9009/";
+#referral      "ldap://localhost:9009/";
+referral       "ldap://localhost:9009";

 database       ldbm
 cachesize      0

-----Original Message-----
From: owner-openldap-commit@OpenLDAP.org
[mailto:owner-openldap-commit@OpenLDAP.org] On Behalf Of
hyc@OpenLDAP.org
Sent: Wednesday, December 01, 1999 8:19 PM
To: OpenLDAP Commit
Subject: commit: ldap/servers/slapd result.c


Update of /repo/OpenLDAP/pkg/ldap/servers/slapd

Modified Files:
	result.c  1.70 -> 1.71

Log Message:
Fix off-by-one in v2ref


CVS Web URLs:
  http://www.openldap.org/devel/cvsweb.cgi/servers/slapd/
    http://www.openldap.org/devel/cvsweb.cgi/servers/slapd/result.c

Changes are generally available on cvs.openldap.org (and CVSweb)
within 30 minutes of being committed.