[openldap] new feature update: honor priority/weight with ldap_domain2hostlist
jvcelak
jvcelak at fedoraproject.org
Wed Sep 21 09:07:13 UTC 2011
commit 81680b05fb114375bd1d1109b55f1318c4cd3ad9
Author: Jan Vcelak <jvcelak at redhat.com>
Date: Wed Sep 21 11:05:39 2011 +0200
new feature update: honor priority/weight with ldap_domain2hostlist
There was a typo in the patch. "weight" of the SRV records was not
taken correctly.
Resolves: #733078
openldap-dns-priority.patch | 2 +-
openldap.spec | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/openldap-dns-priority.patch b/openldap-dns-priority.patch
index 13d9dcf..8dc0923 100644
--- a/openldap-dns-priority.patch
+++ b/openldap-dns-priority.patch
@@ -139,7 +139,7 @@ index 16b1544..40f93b4 100644
- }
- cur += sprintf(&hostlist[cur], "%s:%hu", host, port);
+ hostent_head[hostent_count].priority=priority;
-+ hostent_head[hostent_count].weight=priority;
++ hostent_head[hostent_count].weight=weight;
+ hostent_head[hostent_count].port=port;
+ strncpy(hostent_head[hostent_count].hostname, host,255);
+ hostent_count=hostent_count+1;
diff --git a/openldap.spec b/openldap.spec
index 97469c5..10b75cc 100644
--- a/openldap.spec
+++ b/openldap.spec
@@ -9,7 +9,7 @@
Name: openldap
Version: 2.4.26
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: LDAP support libraries
Group: System Environment/Daemons
License: OpenLDAP
@@ -677,6 +677,9 @@ exit 0
%attr(0644,root,root) %{evolution_connector_libdir}/*.a
%changelog
+* Wed Sep 21 2011 Jan Vcelak <jvcelak at redhat.com> 2.4.26-4
+- new feature update: honor priority/weight with ldap_domain2hostlist (#733078)
+
* Mon Sep 12 2011 Jan Vcelak <jvcelak at redhat.com> 2.4.26-3
- fix: SSL_ForceHandshake function is not thread safe (#701678)
- fix: allow unsetting of tls_* syncrepl options (#734187)
More information about the scm-commits
mailing list