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
This commit is contained in:
parent
9c0ef47ce4
commit
81680b05fb
@ -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;
|
||||
|
@ -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@redhat.com> 2.4.26-4
|
||||
- new feature update: honor priority/weight with ldap_domain2hostlist (#733078)
|
||||
|
||||
* Mon Sep 12 2011 Jan Vcelak <jvcelak@redhat.com> 2.4.26-3
|
||||
- fix: SSL_ForceHandshake function is not thread safe (#701678)
|
||||
- fix: allow unsetting of tls_* syncrepl options (#734187)
|
||||
|
Loading…
Reference in New Issue
Block a user