<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 10/27/2014 07:38 PM, Craig White
wrote:<br>
</div>
<blockquote
cite="mid:4c0def2865e24b7182481c4a33837a75@BLUPR08MB488.namprd08.prod.outlook.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:"Century Gothic";
panose-1:2 11 5 2 2 2 2 2 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;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
.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">RHEL 6.5 – new install<o:p></o:p></p>
<p class="MsoNormal">ipa-server-3.0.0-42.el6.x86_64<o:p></o:p></p>
<p class="MsoNormal">389-ds-base-1.2.11.15-47.el6.x86_64<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">On the master, I get nothing<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">[root@ipa001 log]# getent passwd admin<o:p></o:p></p>
<p class="MsoNormal">[root@ipa001 log]#<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">But it works on the replica as expected<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">[root@ipa002nadev01 ~]# getent passwd admin<o:p></o:p></p>
<p class="MsoNormal">admin:*:1140000000:1110000000:Administrator:/home/admin:/bin/bash<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I am used to using PADL / NSSWITCH with
OpenLDAP and I am rather surprised that on both, ‘getent
passwd’ and ‘getent group’ return only entries from local
files but then again, I’ve never used sssd before.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Partial from /etc/sssd/sssd.conf<o:p></o:p></p>
<p class="MsoNormal">[domain/stt.local]<o:p></o:p></p>
<p class="MsoNormal">cache_credentials = True<o:p></o:p></p>
<p class="MsoNormal">krb5_store_password_if_offline = True<o:p></o:p></p>
<p class="MsoNormal">ipa_domain = stt.local<o:p></o:p></p>
<p class="MsoNormal">id_provider = ipa<o:p></o:p></p>
<p class="MsoNormal">auth_provider = ipa<o:p></o:p></p>
<p class="MsoNormal">access_provider = ipa<o:p></o:p></p>
<p class="MsoNormal">ipa_hostname = ipa001nadev01.stt.local<o:p></o:p></p>
<p class="MsoNormal">chpass_provider = ipa<o:p></o:p></p>
<p class="MsoNormal">ipa_server = ipa001nadev01.stt.local<o:p></o:p></p>
<p class="MsoNormal">ldap_tls_cacert = /etc/ipa/ca.crt<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">[sssd]<o:p></o:p></p>
<p class="MsoNormal">services = nss, sudo, pam, ssh<o:p></o:p></p>
<p class="MsoNormal">config_file_version = 2<o:p></o:p></p>
<p class="MsoNormal">domains = stt.local<o:p></o:p></p>
<p class="MsoNormal">debug_level = 6<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Shouldn’t I be seeing both local files and
IPA defined users with ‘getent passwd’ and IPA defined users
with ‘getent group’ commands?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">What could cause ‘getent passwd admin’ not
to work on the master server now when I know I tested it when
I first set it up and it worked? I have done little more than
import users and groups from OpenLDAP and configure HBAC, sudo
stuff in the IPA web UI.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</blockquote>
<br>
Please check on master:<br>
1. Installation logs. Client on the server is installed last and may
be there is something that went wrong at this stage but the rest of
the server is OK.<br>
2. DNS. Can you resolve the host properly?<br>
3. Firewall. Can you kinit admin or or do an ldap search?<br>
<br>
<br>
<blockquote
cite="mid:4c0def2865e24b7182481c4a33837a75@BLUPR08MB488.namprd08.prod.outlook.com"
type="cite">
<div class="WordSection1">
<p class="MsoNormal"><span
style="font-size:9.0pt;font-family:"Century
Gothic","sans-serif";color:black">Craig White<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:9.0pt;font-family:"Century
Gothic","sans-serif";color:black">System
Administrator<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:9.0pt;font-family:"Century
Gothic","sans-serif";color:#A6A6A6">O</span><span
style="font-size:9.0pt;font-family:"Century
Gothic","sans-serif";color:black">
</span><span style="font-size:9.0pt;font-family:"Century
Gothic","sans-serif"">623-201-8179
<span style="color:#A6A6A6">M</span><span
style="color:black"> 602-377-9752<o:p></o:p></span></span></p>
<p class="MsoNormal"><span
style="font-size:9.0pt;font-family:"Century
Gothic","sans-serif";color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><img id="Picture_x0020_2"
src="cid:part1.03060706.08020104@redhat.com"
alt="cid:image001.png@01CF86FE.42D51630" height="52"
width="180"><span
style="font-size:9.0pt;font-family:"Century
Gothic","sans-serif";color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:9.0pt;font-family:"Century
Gothic","sans-serif";color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:9.0pt;font-family:"Century
Gothic","sans-serif";color:black">SkyTouch
Technology
</span><span style="font-size:9.0pt;font-family:"Century
Gothic","sans-serif";color:#A6A6A6">4225 E.
Windrose Dr. Phoenix, AZ 85032</span><span
style="font-size:9.0pt;font-family:"Century
Gothic","sans-serif";color:black"><o:p></o:p></span></p>
<p class="MsoNormal"><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>