<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 04/08/2015 04:04 PM, Guertin, David
S. wrote:<br>
</div>
<blockquote
cite="mid:067fd5d58d194dff8b2a8b47b5aaa348@greyhound.middlebury.edu"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">I have a mixed environment of RHEL 5 and
RHEL 6 clients, and three RHEL 7 IPA servers (one master and
two duplicates). I'm trying to ensure that if one server goes
down, the remain server(s) will still allow logins. With the
RHEL 6 clients this is easy -- the line<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"> ipa_server = _srv_,
server1.ipa.middlebury.edu<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">in /etc/sssd/sssd.conf does this with the
_srv_ entry, and everything is fine.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">But with the RHEL 5 clients, this doesn't
work. If server 1 goes down, logins fail. Since RHEL 5 is
using LDAP, I figured it was probably in the ldap_uri line in
the sssd.conf file. I discovered that I could add multiple
servers, which I did:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"> ldap_uri =
<a class="moz-txt-link-freetext" href="ldap://server1.ipa.middlebury.edu">ldap://server1.ipa.middlebury.edu</a>,
<a class="moz-txt-link-freetext" href="ldap://server2.ipa.middlebury.edu">ldap://server2.ipa.middlebury.edu</a>,
<a class="moz-txt-link-freetext" href="ldap://server3.ipa.middlebury.edu">ldap://server3.ipa.middlebury.edu</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">But this still failed. However, if I do
something similar in /etc/ldap.conf:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"> uri <a class="moz-txt-link-freetext" href="ldap://server1.ipa.middlebury.edu">ldap://server1.ipa.middlebury.edu</a>
<a class="moz-txt-link-freetext" href="ldap://server2.ipa.middlebury.edu">ldap://server2.ipa.middlebury.edu</a>
<a class="moz-txt-link-freetext" href="ldap://server3.ipa.middlebury.edu">ldap://server3.ipa.middlebury.edu</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">then logins work. In fact, I don't even
need the change in sssd.conf. I can put that back the way it
was, and logins still work. It's only the line in
/etc/ldap.conf that seems to be necessary.<o:p></o:p></p>
</div>
</blockquote>
<br>
If that works it means that you are not using SSSD on RHEL5 clients.<br>
Please check your nsswitch and pam.conf to see what modules are
actually used.<br>
<br>
Which RHEL5 versions do you use? <br>
If memory does not fail me if you have SSSD 1.5 (I think it was
starting 5.8) you should be able to use ipa-client-install to
configure sssd and pass the list of the servers in the --server
option. <br>
<br>
<blockquote
cite="mid:067fd5d58d194dff8b2a8b47b5aaa348@greyhound.middlebury.edu"
type="cite">
<div class="WordSection1">
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">So, I have two questions:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">1. Am I understanding this correctly?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">2. If so, is there a way to automate this
so that when I run ipa-client-install on my RHEL 5 clients,
they get the correct LDAP settings from the beginning, and I
don't have to go and manually edit the ldap.conf file?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">David Guertin<o:p></o:p></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Thank you,
Dmitri Pal
Sr. Engineering Manager IdM portfolio
Red Hat, Inc.</pre>
</body>
</html>