<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 8, 2014 at 3:47 PM, Gianluca Cecchi <span dir="ltr"><<a href="mailto:gianluca.cecchi@gmail.com" target="_blank">gianluca.cecchi@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Hello,<div>I followed the guide here to migrate IPA from CentOS 6.6 to CentOS 7.0:</div><div><a href="https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Linux_Domain_Identity_Authentication_and_Policy_Guide/upgrading.html" target="_blank">https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Linux_Domain_Identity_Authentication_and_Policy_Guide/upgrading.html</a><br></div><div><br></div><div>Now, adding a group from console with command</div><div>ipa group-add</div><div>I get this kind of error:</div><div><div>ipa: ERROR: Operations error: Allocation of a new value for range cn=posix ids,cn=distributed numeric assignment plugin,cn=plugins,cn=config failed! Unable to proceed.</div></div><div><br></div><div><br></div></div>
</blockquote></div><br></div><div class="gmail_extra">Based on info on og of CentOS 6.5 system, at the moment I solved the probelm this way and it seems it works.</div><div class="gmail_extra">Let me know if you think I misunderstood anything.</div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra">created /root/dna_addrange.ldif</div><div class="gmail_extra">dn: cn=POSIX IDs,cn=Distributed Numeric Assignment Plugin,cn=plugins,cn=config</div><div class="gmail_extra">changetype: modify</div><div class="gmail_extra">add: dnaNextRange</div><div class="gmail_extra">dnaNextRange: 1639600001-1639799999</div><div class="gmail_extra">-</div><div class="gmail_extra"><br></div><div class="gmail_extra">[root@c7server slapd-LOCALDOMAIN-LOCAL]# ldapmodify -x -D "cn=Directory Manager" -f /root/dna_addrange.ldif -W<br></div><div class="gmail_extra">Enter LDAP Password:</div><div class="gmail_extra">modifying entry "cn=POSIX IDs,cn=Distributed Numeric Assignment Plugin,cn=plugins,cn=config"</div><div class="gmail_extra"><br></div><div class="gmail_extra">Now the group create command automatically insert an unallocated GID 1639600005:</div><div class="gmail_extra">[root@c7server slapd-LOCALDOMAIN-LOCAL]# ipa group-add</div><div class="gmail_extra">Group name: testgroup</div><div class="gmail_extra">Description: test group per generazione gid</div><div class="gmail_extra">-----------------------</div><div class="gmail_extra">Added group "testgroup"</div><div class="gmail_extra">-----------------------</div><div class="gmail_extra">  Group name: testgroup</div><div class="gmail_extra">  Description: test group per generazione gid</div><div class="gmail_extra">  GID: 1639600005</div><div class="gmail_extra"><br></div><div class="gmail_extra">Gianluca</div></div></div>