<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/28/2014 12:11 PM, Craig White
      wrote:<br>
    </div>
    <blockquote
cite="mid:f66e86ed703449aeb17e37fbcbe7e4a2@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)">
      <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:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:'
        panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;}
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;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
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";
        color:black;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.EmailStyle22
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:1963925845;
        mso-list-type:hybrid;
        mso-list-template-ids:-25006522 1090531056 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:9.0pt;}
@list l0:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></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"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">
            <a class="moz-txt-link-abbreviated" href="mailto:freeipa-users-bounces@redhat.com">freeipa-users-bounces@redhat.com</a>
            [<a class="moz-txt-link-freetext" href="mailto:freeipa-users-bounces@redhat.com">mailto:freeipa-users-bounces@redhat.com</a>]
            <b>On Behalf Of </b>Dmitri Pal<br>
            <b>Sent:</b> Monday, October 27, 2014 5:32 PM<br>
            <b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:freeipa-users@redhat.com">freeipa-users@redhat.com</a><br>
            <b>Subject:</b> Re: [Freeipa-users] getent passwd / group<o:p></o:p></span></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <div>
          <p class="MsoNormal">On 10/27/2014 07:38 PM, Craig White
            wrote:<o:p></o:p></p>
        </div>
        <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
          <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>
        </blockquote>
        <p class="MsoNormal"><span
            style="font-size:12.0pt;font-family:"Times New
            Roman","serif""><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>
          </span><span style="font-size:9.0pt">----<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:9.0pt">It’s weird
            because it is mostly functioning perfectly.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:9.0pt"><o:p> </o:p></span></p>
        <p class="MsoNormal"
          style="line-height:13.5pt;vertical-align:baseline">/var/log/ipaclient-install.log
          doesn’t show any errors. Gives every indication that things
          went as planned. The /var/log/ipaserver-install.log is a
          rather large file and a cursory inspection doesn’t reveal
          anything that is interesting. The only thing that was not
          normal about the install was the first install was
          un-installed because I used DNS forwarders and the boss said
          no forwarders. So I installed a second time but nothing seemed
          unusual about either server or client install. <span
style="font-size:12.0pt;font-family:"&apos","serif""><o:p></o:p></span></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">DNS – resolves / working perfectly for the
          authoritative and non-authoritative zones – forward and
          reverse. I thought the ‘ipa-client-install
          –enable-dns-updates’ worked extremely well after modifying it
          to ensure that both forward and reverse zone entries were
          created.<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">kinit <a moz-do-not-send="true"
            href="mailto:admin@STT.LOCAL">admin@STT.LOCAL</a> works –
          rejects wrong password entries and accepts correct password
          entries.<o:p></o:p></p>
        <p class="MsoNormal">Ldapsearch works fine<o:p></o:p></p>
        <p class="MsoNormal">Firewall… (we are talking about localhost
          but)<o:p></o:p></p>
        <p class="MsoNormal">ACCEPT     all  --  0.0.0.0/0           
          0.0.0.0/0           ctstate RELATED,ESTABLISHED<o:p></o:p></p>
        <p class="MsoNormal">ACCEPT     icmp --  0.0.0.0/0           
          0.0.0.0/0<o:p></o:p></p>
        <p class="MsoNormal">ACCEPT     all  --  0.0.0.0/0           
          0.0.0.0/0<o:p></o:p></p>
        <p class="MsoNormal">ACCEPT     tcp  --  0.0.0.0/0           
          0.0.0.0/0           ctstate NEW tcp dpt:22<o:p></o:p></p>
        <p class="MsoNormal">ACCEPT     tcp  --  0.0.0.0/0           
          0.0.0.0/0           state NEW tcp dpt:80<o:p></o:p></p>
        <p class="MsoNormal">ACCEPT     tcp  --  0.0.0.0/0           
          0.0.0.0/0           state NEW tcp dpt:53<o:p></o:p></p>
        <p class="MsoNormal">ACCEPT     udp  --  0.0.0.0/0           
          0.0.0.0/0           state NEW udp dpt:53<o:p></o:p></p>
        <p class="MsoNormal">ACCEPT     tcp  --  0.0.0.0/0           
          0.0.0.0/0           state NEW tcp dpt:88<o:p></o:p></p>
        <p class="MsoNormal">ACCEPT     udp  --  0.0.0.0/0           
          0.0.0.0/0           state NEW udp dpt:88<o:p></o:p></p>
        <p class="MsoNormal">ACCEPT     udp  --  0.0.0.0/0           
          0.0.0.0/0           state NEW udp dpt:123<o:p></o:p></p>
        <p class="MsoNormal">ACCEPT     tcp  --  0.0.0.0/0           
          0.0.0.0/0           state NEW tcp dpt:389<o:p></o:p></p>
        <p class="MsoNormal">ACCEPT     tcp  --  0.0.0.0/0           
          0.0.0.0/0           state NEW tcp dpt:443<o:p></o:p></p>
        <p class="MsoNormal">ACCEPT     tcp  --  0.0.0.0/0           
          0.0.0.0/0           state NEW tcp dpt:464<o:p></o:p></p>
        <p class="MsoNormal">ACCEPT     udp  --  0.0.0.0/0           
          0.0.0.0/0           state NEW udp dpt:464<o:p></o:p></p>
        <p class="MsoNormal">ACCEPT     tcp  --  0.0.0.0/0           
          0.0.0.0/0           state NEW tcp dpt:636<o:p></o:p></p>
        <p class="MsoNormal">ACCEPT     tcp  --  0.0.0.0/0           
          0.0.0.0/0           state NEW tcp dpt:7389<o:p></o:p></p>
        <p class="MsoNormal">ACCEPT     udp  --  0.0.0.0/0           
          0.0.0.0/0           state NEW udp dpt:7389<o:p></o:p></p>
        <p class="MsoNormal">ACCEPT     tcp  --  0.0.0.0/0           
          0.0.0.0/0           state NEW tcp dpt:9443<o:p></o:p></p>
        <p class="MsoNormal">ACCEPT     tcp  --  0.0.0.0/0           
          0.0.0.0/0           state NEW tcp dpt:9444<o:p></o:p></p>
        <p class="MsoNormal">ACCEPT     tcp  --  0.0.0.0/0           
          0.0.0.0/0           state NEW tcp dpt:9445<o:p></o:p></p>
        <p class="MsoNormal">REJECT     all  --  0.0.0.0/0           
          0.0.0.0/0           reject-with icmp-host-prohibited<o:p></o:p></p>
      </div>
    </blockquote>
    <br>
    Then we need SSSD logs with the debug_level in the right sections as
    Jakub mentioned in his mail.<br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Thank you,
Dmitri Pal

Sr. Engineering Manager IdM portfolio
Red Hat, Inc.</pre>
  </body>
</html>