<p dir="ltr">awesome.  i will test out it out in our environment using 1.5 for centos 5 and latest package avail on centos 6.</p>
<p dir="ltr">cheers</p>
<div class="gmail_quote">On May 23, 2014 1:40 AM, &quot;Jakub Hrozek&quot; &lt;<a href="mailto:jhrozek@redhat.com">jhrozek@redhat.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Thu, May 22, 2014 at 01:55:44PM -0700, Daniel Jung wrote:<br>
&gt; Hi Jakub,<br>
&gt;<br>
&gt; I was curious on how the servers with same priority with weights were<br>
&gt; implemented, the wording in RFC on this algorithm was a bit hard to<br>
&gt; visualize for me and whether this was strictly followed.<br>
<br>
You can see the implementation of the weight selection here:<br>
<a href="https://git.fedorahosted.org/cgit/sssd.git/tree/src/resolv/async_resolv.c#n2055" target="_blank">https://git.fedorahosted.org/cgit/sssd.git/tree/src/resolv/async_resolv.c#n2055</a><br>
<br>
Even if you&#39;re not a C programmer, maybe the comments will show how we<br>
follow the RFC. The intent of the code is to share the load from several<br>
clients according to the sum of the weights on the same priority level.<br>
So if you had two servers A and B with the same priority with weights<br>
of 70 and 30 respectively, 70% of clients should select server A and 30%<br>
should select server B.<br>
<br>
&gt; Also, at which<br>
&gt; timeout setting is applied for cases where selected server is not reachable<br>
&gt; and next server is selected and connected?<br>
&gt; Would this be same timeout<br>
&gt; setting when using multiple servers with URI instead of DN?<br>
<br>
There are several timeouts at play, depending on how exactly the server<br>
is unreachable and what the provider is. For DNS resolution itself,<br>
dns_resolver_timeout is applied. Once you have an IP address and start<br>
connecting to an LDAP server, we try for ldap_network_timeout seconds.<br>
<br>
There are different timeouts for Kerberos, you can see them all in the<br>
sssd-ldap and sssd-krb5 man pages.<br>
<br>
&gt;<br>
&gt; Thanks for all the information.<br>
&gt;<br>
&gt;<br>
&gt; On Wed, May 21, 2014 at 3:14 AM, Jakub Hrozek &lt;<a href="mailto:jhrozek@redhat.com">jhrozek@redhat.com</a>&gt; wrote:<br>
&gt;<br>
&gt; &gt; On Tue, May 20, 2014 at 11:01:42PM -0700, Daniel Jung wrote:<br>
&gt; &gt; &gt; thanks for the response guys. just one more question on the topic of SRV<br>
&gt; &gt; &gt; records, does sssd implementation folllow srv rfc closely?  would i need<br>
&gt; &gt; to<br>
&gt; &gt; &gt; dig into the code to find this?<br>
&gt; &gt;<br>
&gt; &gt; As far as I know it does, the code was modeled after the RFC. Is there<br>
&gt; &gt; any particular functionality that you are concerned about?<br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; sssd-users mailing list<br>
&gt; &gt; <a href="mailto:sssd-users@lists.fedorahosted.org">sssd-users@lists.fedorahosted.org</a><br>
&gt; &gt; <a href="https://lists.fedorahosted.org/mailman/listinfo/sssd-users" target="_blank">https://lists.fedorahosted.org/mailman/listinfo/sssd-users</a><br>
&gt; &gt;<br>
<br>
&gt; _______________________________________________<br>
&gt; sssd-users mailing list<br>
&gt; <a href="mailto:sssd-users@lists.fedorahosted.org">sssd-users@lists.fedorahosted.org</a><br>
&gt; <a href="https://lists.fedorahosted.org/mailman/listinfo/sssd-users" target="_blank">https://lists.fedorahosted.org/mailman/listinfo/sssd-users</a><br>
<br>
_______________________________________________<br>
sssd-users mailing list<br>
<a href="mailto:sssd-users@lists.fedorahosted.org">sssd-users@lists.fedorahosted.org</a><br>
<a href="https://lists.fedorahosted.org/mailman/listinfo/sssd-users" target="_blank">https://lists.fedorahosted.org/mailman/listinfo/sssd-users</a><br>
</blockquote></div>