<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<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]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hi all,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I had to reinstall my IPA setup, so I’m using 4.4 and am learning the newer domain levels and topology features.<o:p></o:p></p>
<p class="MsoNormal">I’ve installed 3 servers.<o:p></o:p></p>
<p class="MsoNormal">I promoted one of the replicas to master and demoted the original master to replica according to the documentation.<o:p></o:p></p>
<p class="MsoNormal">I ran into an issue with the original master no longer replicating, so I performed an ipa-server-install –uninstall and removed the host/server from IPA.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I re-setup the replica using ipa-client-install and then ipa-replica-install, and had no errors reported in the output.<o:p></o:p></p>
<p class="MsoNormal">I then went into Web UI and setup replication agreements using the topology graph page between the new replica and the previous replica (the master/new replica agreements being setup by the replica install script).<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I then attempted to add a posix group account and got an operational error message. This caused ldap to crash on the server I was interfacing with.<o:p></o:p></p>
<p class="MsoNormal">I performed an ‘ipactl restart’ on the affected server and attempted again with the same issue.<o:p></o:p></p>
<p class="MsoNormal">I tried adding a non-posix group and it was successful.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I found the dirsrv logs and see the error ‘dna-plugin - dna_pre_op: no more values available!!’ which lead me to
<a href="https://www.redhat.com/archives/freeipa-users/2014-February/msg00247.html">
https://www.redhat.com/archives/freeipa-users/2014-February/msg00247.html</a> <o:p>
</o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Performing the ldapserch I see:<o:p></o:p></p>
<p class="MsoNormal">  dnaMaxValue is 1100<o:p></o:p></p>
<p class="MsoNormal">  dnaNextValue is 1101<o:p></o:p></p>
<p class="MsoNormal">  dnaThreshold is 500<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I also did ‘ipa idrange-find’, which shows:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">---------------<o:p></o:p></p>
<p class="MsoNormal">1 range matched<o:p></o:p></p>
<p class="MsoNormal">---------------<o:p></o:p></p>
<p class="MsoNormal">  Range name: MYDOMAIN.COM_id_range<o:p></o:p></p>
<p class="MsoNormal">  First Posix ID of the range: 1946000000<o:p></o:p></p>
<p class="MsoNormal">  Number of IDs in the range: 200000<o:p></o:p></p>
<p class="MsoNormal">  Range type: local domain range<o:p></o:p></p>
<p class="MsoNormal">----------------------------<o:p></o:p></p>
<p class="MsoNormal">Number of entries returned 1<o:p></o:p></p>
<p class="MsoNormal">----------------------------<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">So now my question is what do I need to change to fix the issue?<o:p></o:p></p>
<p class="MsoNormal">I can do the ldapmodify to adjust the dnaMaxValue, but I don’t know what I should be adjusting the idrange to?<o:p></o:p></p>
<p class="MsoNormal">I’d like to keep the idrange the same and just adjust the dnaMaxValue, so would I need to change dnaMaxValue to 200000?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<p class="MsoNormal">Jason<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>