<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 05/19/2015 01:53 PM, Boyce, George
      Robert. (GSFC-762.0)[NICS] wrote:<br>
    </div>
    <blockquote
cite="mid:642326D3671873428E03A5AB2A1ACF0811B87D7F@NDMSMBX301.ndc.nasa.gov"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@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:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        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 don’t understand what is happening…<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">If I use a compound OR filter to search for
          “cn” or “uid”, I only get back the match for uid. I expect to
          get both. If I add a search for a nonexistent attribute like
          “name”, I get nothing back. I expect to get back the entry
          matched by the other term.<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal"># l "(cn=gboyce)" dn<o:p></o:p></p>
        <p class="MsoNormal">dn: cn=gboyce,cn=groups,cn=accounts,dc=…<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal"># l "(uid=gboyce)" dn<o:p></o:p></p>
        <p class="MsoNormal">dn: uid=gboyce,cn=users,cn=accounts,dc=…<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal"># l "(|(uid=gboyce)(cn=gboyce))" dn<o:p></o:p></p>
        <p class="MsoNormal">dn: uid=gboyce,cn=users,cn=accounts,dc=…<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal"># l "(|(cn=gboyce)(uid=gboyce))" dn<o:p></o:p></p>
        <p class="MsoNormal">dn: uid=gboyce,cn=users,cn=accounts,dc=…<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal"># l "(|(uid=gboyce)(name=gboyce))" dn<o:p></o:p></p>
        <p class="MsoNormal">#</p>
      </div>
    </blockquote>
    <br>
    Does this give an error message or does ldapsearch exit with a
    non-zero value?  Can you check the dirsrv access log to see what is
    the result of this operation?<br>
    <br>
    <blockquote
cite="mid:642326D3671873428E03A5AB2A1ACF0811B87D7F@NDMSMBX301.ndc.nasa.gov"
      type="cite">
      <div class="WordSection1">
        <p class="MsoNormal"><o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">This is on a new deployment of ipa on
          centos, with just a couple of test records. I don’t have much
          recent experience with LDAP, but I don’t see what I’m doing
          wrong. Dirsrv on centos 6.5 works as expected.<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal"># ipa --version<o:p></o:p></p>
        <p class="MsoNormal">VERSION: 4.1.0, API_VERSION: 2.112<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal"># cat /etc/centos-release<o:p></o:p></p>
        <p class="MsoNormal">CentOS Linux release 7.1.1503 (Core)<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal"><span style="color:#1F497D">George Boyce,
            SAIC/NICS<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">GCC Systems
            Support<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">NASA GSFC Code
            762</span><span style="color:#1F497D"><o:p></o:p></span></p>
        <p class="MsoNormal"><o:p> </o:p></p>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
    </blockquote>
    <br>
  </body>
</html>