<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: tahoma,new york,times,serif; font-size: 12pt; color: #000000'>Hi Martin, thanks for the help.<div><br></div><div>Yes, I already did that test. Created a user on ipa01 (master), then he appeared on ipa02 (replica), in the replica, I modified his email address, it appeared back on master. Still, I cannot create a brand new user (or POSIX group) on ipa02.</div><div><br></div><div><div>[root@ipa01 ~]# ipactl status</div><div>Directory Service: RUNNING</div><div>KDC Service: RUNNING</div><div>KPASSWD Service: RUNNING</div><div>MEMCACHE Service: RUNNING</div><div>HTTP Service: RUNNING</div><div>CA Service: RUNNING</div><div><br></div><div><div>[root@ipa02 ~]# ipactl status</div><div>Directory Service: RUNNING</div><div>KDC Service: RUNNING</div><div>KPASSWD Service: RUNNING</div><div>MEMCACHE Service: RUNNING</div><div>HTTP Service: RUNNING</div></div><div><br></div><div><br></div><div>Interesting on replica's /var/log/krb5kdc.log:</div><div><br></div><div><div>[root@ipa02 ~]# cat /var/log/krb5kdc.log | grep "Feb 13 15:31"</div><div>Feb 13 15:31:13 ipa02 krb5kdc[1524](info): setting up network...</div><div>Feb 13 15:31:13 ipa02 krb5kdc[1524](info): listening on fd 6: udp 0.0.0.0.88 (pktinfo)</div><div>Feb 13 15:31:13 ipa02 krb5kdc[1524](info): skipping unrecognized local address family 17</div><div>Feb 13 15:31:13 ipa02 krb5kdc[1524](info): skipping unrecognized local address family 17</div><div>Feb 13 15:31:13 ipa02 krb5kdc[1524](info): listening on fd 8: tcp 0.0.0.0.88</div><div>Feb 13 15:31:13 ipa02 krb5kdc[1524](info): listening on fd 7: tcp ::.88</div><div>Feb 13 15:31:13 ipa02 krb5kdc[1524](info): set up 3 sockets</div><div>Feb 13 15:31:13 ipa02 krb5kdc[1525](info): creating 4 worker processes</div><div>Feb 13 15:31:13 ipa02 krb5kdc[1525](info): closing down fd 7</div><div>Feb 13 15:31:13 ipa02 krb5kdc[1525](info): closing down fd 8</div><div>Feb 13 15:31:13 ipa02 krb5kdc[1525](info): closing down fd 6</div><div>Feb 13 15:31:13 ipa02 krb5kdc[1535](info): commencing operation</div><div>Feb 13 15:31:13 ipa02 krb5kdc[1533](info): commencing operation</div><div>Feb 13 15:31:13 ipa02 krb5kdc[1536](info): commencing operation</div><div>Feb 13 15:31:13 ipa02 krb5kdc[1534](info): commencing operation</div><div>Feb 13 15:31:14 ipa02 krb5kdc[1534](info): AS_REQ (4 etypes {18 17 16 23}) 192.168.0.2: NEEDED_PREAUTH: ldap/ipa02.example.com@EXAMPLE.COM for krbtgt/EXAMPLE.COM@EXAMPLE.COM, Additional pre-authentication required</div><div>Feb 13 15:31:14 ipa02 krb5kdc[1533](info): AS_REQ (4 etypes {18 17 16 23}) 192.168.0.2: ISSUE: authtime 1392312674, etypes {rep=18 tkt=18 ses=18}, ldap/ipa02.example.com@EXAMPLE.COM for krbtgt/EXAMPLE.COM@EXAMPLE.COM</div><div><br></div><div>Feb 13 15:31:14 ipa02 krb5kdc[1536](info): TGS_REQ (4 etypes {18 17 16 23}) 192.168.0.2: ISSUE: authtime 1392312674, etypes {rep=18 tkt=18 ses=18}, ldap/ipa02.example.com@EXAMPLE.COM for ldap/ipa01.example.com@EXAMPLE.COM</div><div><br></div><div>Feb 13 15:31:28 ipa02 krb5kdc[1536](info): AS_REQ (4 etypes {18 17 16 23}) 192.168.0.2: NEEDED_PREAUTH: user01@EXAMPLE.COM for krbtgt/EXAMPLE.COM@EXAMPLE.COM, Additional pre-authentication required</div><div>Feb 13 15:31:28 ipa02 krb5kdc[1535](info): AS_REQ (4 etypes {18 17 16 23}) 192.168.0.2: ISSUE: authtime 1392312688, etypes {rep=18 tkt=18 ses=18}, user01@EXAMPLE.COM for krbtgt/EXAMPLE.COM@EXAMPLE.COM</div><div>Feb 13 15:31:28 ipa02 krb5kdc[1535](info): TGS_REQ (4 etypes {18 17 16 23}) 192.168.0.2: ISSUE: authtime 1392312688, etypes {rep=18 tkt=18 ses=18}, user01@EXAMPLE.COM for ldap/ipa02.example.com@EXAMPLE.COM</div></div><div><br></div><div><br></div><div>Running kinit -kt on replica, returns nothing on prompt, but populates /var/log/krb5kdc.log with:</div><div><br></div><div><div><div>Feb 14 09:34:05 ipa02 krb5kdc[1536](info): AS_REQ (4 etypes {18 17 16 23}) 192.168.0.2: NEEDED_PREAUTH: ldap/ipa02.example.com@EXAMPLE.COM for krbtgt/EXAMPLE.COM@EXAMPLE.COM, Additional pre-authentication required</div><div>Feb 14 09:34:05 ipa02 krb5kdc[1533](info): AS_REQ (4 etypes {18 17 16 23}) 192.168.0.2: ISSUE: authtime 1392377645, etypes {rep=18 tkt=18 ses=18}, ldap/ipa02.example.com@EXAMPLE.COM for krbtgt/EXAMPLE.COM@EXAMPLE.COM</div></div></div><div><br></div><div><br></div><div>DNS is OK, resolving FQDN of both master and replica forward and reverse.</div><div><br></div><br><div><font size="3"><span name="x"></span></font><b style="color: rgb(0, 0, 0); font-size: 12pt;"><font color="#4d4d4d" face="tahoma, new york, times, serif">Bruno Henrique Barbosa</font></b>
<div>
<div><font color="#808080" size="2">Jr. Sys Admin</font></div></div><div><font color="#808080" size="2">IT Department</font></div><div><font color="#808080" size="2">Santos City Hall</font></div><font size="3"><span name="x"></span></font><br></div><hr id="zwchr" style="color: rgb(0, 0, 0); font-size: 12pt;"><div style="color: rgb(0, 0, 0); font-size: 12pt; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica, Arial, sans-serif;"><b>De: </b>"Martin Kosek" <mkosek@redhat.com><br><b>Para: </b>"Bruno Henrique Barbosa" <bruno-barbosa@prodesan.com.br>, freeipa-users@redhat.com<br><b>Enviadas: </b>Sexta-feira, 14 de Fevereiro de 2014 5:51:49<br><b>Assunto: </b>Re: [Freeipa-users] IPA Replica cannot add user<br><br>On 02/13/2014 06:55 PM, Bruno Henrique Barbosa wrote:<br>> <br>> <br>> <br>> Hi everyone, <br>> <br>> <br>> I've installed my IPA environment as it follows: <br>> <br>> <br>> ipa01.example.com - master install <br>> ipa02.example.com - replica install, as the guide says, with ipa-replica-prepare on ipa01 and ipa-replica-install using gpg key generated. <br>> <br>> <br>> All good, environment is fine, can access both UI, but the underlying problem is: I can edit and remove users from IPA using instance ipa02 (replica), but I CANNOT add users from that instance. In the UI, error returned is: <br>> <br>> <br>> IPA Error 4203 <br>> 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. <br>> <br>> <br>> <br>> <br>> Via command-line, debug-enabled: <br>> <br>> <br>> root@ipa02's password: <br>> Last login: Thu Feb 13 15:36:34 2014 <br>> [root@ipa02 ~]# kinit admin <br>> Password for admin@EXAMPLE.COM: <br>> [root@ipa02 ~]# ipa-replica-manage list <br>> ipa01.example.com: master <br>> ipa02.example.com: master <br>> [root@ipa02 ~]# klist <br>> Ticket cache: FILE:/tmp/krb5cc_0 <br>> Default principal: admin@EXAMPLE.COM <br>> <br>> <br>> Valid starting Expires Service principal <br>> 02/13/14 15:37:48 02/14/14 15:37:29 krbtgt/EXAMPLE.COM@EXAMPLE.COM <br>> 02/13/14 15:38:03 02/14/14 15:37:29 ldap/ipa02.example.com@EXAMPLE.COM <br>> [root@ipa02 ~]# ipa -d user-add usertest <br>> ipa: DEBUG: importing all plugin modules in '/usr/lib/python2.6/site-packages/ipalib/plugins'... <br>> ipa: DEBUG: importing plugin module '/usr/lib/python2.6/site-packages/ipalib/plugins/aci.py' <br>> ipa: DEBUG: importing plugin module '/usr/lib/python2.6/site-packages/ipalib/plugins/automember.py' <br>> ipa: DEBUG: importing plugin module '/usr/lib/python2.6/site-packages/ipalib/plugins/automount.py' <br>> ipa: DEBUG: importing plugin module '/usr/lib/python2.6/site-packages/ipalib/plugins/baseldap.py' <br>> ipa: DEBUG: importing plugin module '/usr/lib/python2.6/site-packages/ipalib/plugins/batch.py' <br>> ipa: DEBUG: importing plugin module '/usr/lib/python2.6/site-packages/ipalib/plugins/cert.py' <br>> ipa: DEBUG: importing plugin module '/usr/lib/python2.6/site-packages/ipalib/plugins/config.py' <br>> ipa: DEBUG: importing plugin module '/usr/lib/python2.6/site-packages/ipalib/plugins/delegation.py' <br>> ipa: DEBUG: importing plugin module '/usr/lib/python2.6/site-packages/ipalib/plugins/dns.py' <br>> ipa: DEBUG: importing plugin module '/usr/lib/python2.6/site-packages/ipalib/plugins/group.py' <br>> ipa: DEBUG: importing plugin module '/usr/lib/python2.6/site-packages/ipalib/plugins/hbacrule.py' <br>> ipa: DEBUG: importing plugin module '/usr/lib/python2.6/site-packages/ipalib/plugins/hbacsvc.py' <br>> ipa: DEBUG: importing plugin module '/usr/lib/python2.6/site-packages/ipalib/plugins/hbacsvcgroup.py' <br>> ipa: DEBUG: importing plugin module '/usr/lib/python2.6/site-packages/ipalib/plugins/hbactest.py' <br>> ipa: DEBUG: importing plugin module '/usr/lib/python2.6/site-packages/ipalib/plugins/host.py' <br>> ipa: DEBUG: importing plugin module '/usr/lib/python2.6/site-packages/ipalib/plugins/hostgroup.py' <br>> ipa: DEBUG: importing plugin module '/usr/lib/python2.6/site-packages/ipalib/plugins/idrange.py' <br>> ipa: DEBUG: importing plugin module '/usr/lib/python2.6/site-packages/ipalib/plugins/internal.py' <br>> ipa: DEBUG: importing plugin module '/usr/lib/python2.6/site-packages/ipalib/plugins/kerberos.py' <br>> ipa: DEBUG: importing plugin module '/usr/lib/python2.6/site-packages/ipalib/plugins/krbtpolicy.py' <br>> ipa: DEBUG: importing plugin module '/usr/lib/python2.6/site-packages/ipalib/plugins/migration.py' <br>> ipa: DEBUG: importing plugin module '/usr/lib/python2.6/site-packages/ipalib/plugins/misc.py' <br>> ipa: DEBUG: importing plugin module '/usr/lib/python2.6/site-packages/ipalib/plugins/netgroup.py' <br>> ipa: DEBUG: importing plugin module '/usr/lib/python2.6/site-packages/ipalib/plugins/passwd.py' <br>> ipa: DEBUG: importing plugin module '/usr/lib/python2.6/site-packages/ipalib/plugins/permission.py' <br>> ipa: DEBUG: importing plugin module '/usr/lib/python2.6/site-packages/ipalib/plugins/ping.py' <br>> ipa: DEBUG: importing plugin module '/usr/lib/python2.6/site-packages/ipalib/plugins/privilege.py' <br>> ipa: DEBUG: importing plugin module '/usr/lib/python2.6/site-packages/ipalib/plugins/pwpolicy.py' <br>> ipa: DEBUG: args=klist -V <br>> ipa: DEBUG: stdout=Kerberos 5 version 1.10.3 <br>> <br>> <br>> ipa: DEBUG: stderr= <br>> ipa: DEBUG: importing plugin module '/usr/lib/python2.6/site-packages/ipalib/plugins/role.py' <br>> ipa: DEBUG: importing plugin module '/usr/lib/python2.6/site-packages/ipalib/plugins/selfservice.py' <br>> ipa: DEBUG: importing plugin module '/usr/lib/python2.6/site-packages/ipalib/plugins/selinuxusermap.py' <br>> ipa: DEBUG: importing plugin module '/usr/lib/python2.6/site-packages/ipalib/plugins/service.py' <br>> ipa: DEBUG: importing plugin module '/usr/lib/python2.6/site-packages/ipalib/plugins/sudocmd.py' <br>> ipa: DEBUG: importing plugin module '/usr/lib/python2.6/site-packages/ipalib/plugins/sudocmdgroup.py' <br>> ipa: DEBUG: importing plugin module '/usr/lib/python2.6/site-packages/ipalib/plugins/sudorule.py' <br>> ipa: DEBUG: importing plugin module '/usr/lib/python2.6/site-packages/ipalib/plugins/trust.py' <br>> ipa: DEBUG: importing plugin module '/usr/lib/python2.6/site-packages/ipalib/plugins/user.py' <br>> ipa: DEBUG: importing plugin module '/usr/lib/python2.6/site-packages/ipalib/plugins/virtual.py' <br>> ipa: DEBUG: importing plugin module '/usr/lib/python2.6/site-packages/ipalib/plugins/xmlclient.py' <br>> ipa: DEBUG: args=keyctl search @s user ipa_session_cookie:admin@EXAMPLE.COM <br>> ipa: DEBUG: stdout= <br>> ipa: DEBUG: stderr=keyctl_search: Required key not available <br>> <br>> <br>> ipa: DEBUG: failed to find session_cookie in persistent storage for principal 'admin@EXAMPLE.COM' <br>> ipa: INFO: trying https://ipa02.example.com/ipa/xml <br>> ipa: DEBUG: NSSConnection init ipa02.example.com <br>> ipa: DEBUG: Connecting: 192.168.0.2:0 <br>> ipa: DEBUG: auth_certificate_callback: check_sig=True is_server=False <br>> Data: <br>> Version: 3 (0x2) <br>> Serial Number: 14 (0xe) <br>> Signature Algorithm: <br>> Algorithm: PKCS #1 SHA-256 With RSA Encryption <br>> Issuer: CN=Certificate Authority,O=EXAMPLE.COM <br>> Validity: <br>> Not Before: Qua Fev 12 19:42:11 2014 UTC <br>> Not After: Sáb Fev 13 19:42:11 2016 UTC <br>> Subject: CN=ipa02.example.com,O=EXAMPLE.COM <br>> Subject Public Key Info: <br>> Public Key Algorithm: <br>> Algorithm: PKCS #1 RSA Encryption <br>> RSA Public Key: <br>> Modulus: <br>> 93:ce:2f:b4:3c:61:bd:ec:42:a2:cd:b2:44:1a:ad:14: <br>> f0:50:89:d7:cc:5d:cf:96:db:0e:f5:39:4c:8d:26:b5: <br>> 47:9c:e6:77:86:1b:7a:ec:22:64:a2:f8:dd:67:fa:0f: <br>> 49:16:e9:9a:ca:d8:0e:d9:37:d6:0c:92:9c:a4:1f:b5: <br>> 43:e4:80:0f:80:de:a8:f4:4b:8f:97:db:24:08:9b:24: <br>> e7:e8:7a:a7:f8:61:0d:c1:d0:6e:89:94:4b:9d:f3:65: <br>> 6a:a8:81:21:fc:7e:e8:72:5d:bb:0f:3e:bb:0c:ce:da: <br>> 58:34:b4:64:ed:ac:ab:17:2b:c6:75:87:6d:8d:8e:3f: <br>> 3f:56:82:f8:0c:f7:d7:a3:dc:73:b7:60:88:6f:f4:76: <br>> db:d6:81:44:c7:04:7c:22:90:c6:f7:bc:0a:34:2a:28: <br>> 2a:15:46:9e:06:da:bd:42:10:c0:d3:c4:5e:81:88:6d: <br>> 6d:75:ad:3e:f0:a2:88:2e:3d:23:ce:19:a7:71:3c:0a: <br>> c0:fa:bd:54:c5:c2:d5:f1:46:b1:74:80:65:31:dc:bb: <br>> d5:01:86:de:f5:38:c6:cd:ad:2d:3a:32:17:4f:c7:d4: <br>> 2a:44:82:69:4a:ad:d2:1a:59:cb:bb:25:3b:86:50:fa: <br>> c7:8c:ab:0f:bf:1f:82:39:c0:ba:7b:45:6e:b6:1f:fd <br>> Exponent: <br>> 65537 (0x10001) <br>> Signed Extensions: (5) <br>> Name: Certificate Authority Key Identifier <br>> Critical: False <br>> Key ID: <br>> 7f:77:f3:aa:bc:9a:8a:97:0f:29:2c:b6:a4:ff:81:ea: <br>> c3:9c:48:63 <br>> Serial Number: None <br>> General Names: [0 total] <br>> <br>> <br>> Name: Authority Information Access <br>> Critical: False <br>> <br>> <br>> Name: Certificate Key Usage <br>> Critical: True <br>> Usages: <br>> Digital Signature <br>> Non-Repudiation <br>> Key Encipherment <br>> Data Encipherment <br>> <br>> <br>> Name: Extended Key Usage <br>> Critical: False <br>> Usages: <br>> TLS Web Server Authentication Certificate <br>> TLS Web Client Authentication Certificate <br>> <br>> <br>> Name: Certificate Subject Key ID <br>> Critical: False <br>> Data: <br>> ba:bd:55:29:33:53:0c:6b:fb:54:2f:ce:ce:40:ce:4c: <br>> 55:7c:07:ec <br>> <br>> <br>> Signature: <br>> Signature Algorithm: <br>> Algorithm: PKCS #1 SHA-256 With RSA Encryption <br>> Signature: <br>> b5:b0:34:b0:4c:e0:97:42:55:2e:44:34:d0:b9:12:c1: <br>> 1d:60:57:a4:ae:e7:2e:22:74:a9:fd:64:99:2c:54:7d: <br>> f0:b9:32:8e:bd:d5:71:c5:23:14:a1:82:3f:63:c1:bf: <br>> 7b:e3:e1:3c:32:95:ca:48:22:eb:56:98:2b:71:90:34: <br>> 9c:24:58:02:15:e2:ed:a8:81:11:bd:a9:1a:80:7d:a1: <br>> 23:d6:33:78:9b:1a:b6:42:43:49:7e:07:02:a4:7a:1b: <br>> f5:8c:78:a2:23:27:66:be:5f:30:43:a0:46:9b:0e:8d: <br>> 76:9a:b0:6c:e6:ba:54:d2:9d:7a:24:ae:c9:7f:ee:bf: <br>> 5b:6b:b0:c2:3a:ac:d0:9d:cf:d6:36:ec:2b:6d:e9:c2: <br>> df:ac:27:d6:63:0a:c0:0f:1b:bc:93:8f:0f:4c:62:ca: <br>> f9:c1:10:94:77:5d:b8:ad:f5:b6:18:1c:26:bc:3d:70: <br>> 30:20:a3:7e:14:e3:a1:84:d4:9f:f8:73:4c:6d:59:a6: <br>> 8d:2b:e3:3f:b5:84:42:62:b9:90:23:dc:24:df:ed:42: <br>> bc:ab:f4:a4:5e:9f:ed:7f:e3:f2:e5:f4:07:81:ac:7c: <br>> c4:5d:34:6b:69:7b:6f:29:20:30:95:ef:d3:45:ad:83: <br>> 51:fb:72:cb:a4:eb:85:f3:f6:0d:2d:31:d8:8b:72:54 <br>> Fingerprint (MD5): <br>> 4e:06:54:a8:e4:62:8e:65:a1:7f:3c:31:01:4b:06:bf <br>> Fingerprint (SHA1): <br>> a2:43:5f:65:c0:61:13:cf:2c:9c:9d:32:72:d6:cc:78: <br>> 66:6e:f7:77 <br>> ipa: DEBUG: approved_usage = SSLServer intended_usage = SSLServer <br>> ipa: DEBUG: cert valid True for "CN=ipa02.example.com,O=EXAMPLE.COM" <br>> ipa: DEBUG: handshake complete, peer = 192.168.0.2:443 <br>> ipa: DEBUG: received Set-Cookie 'ipa_session=eb4b207ba589878a328ee100b9ab16ae; Domain=ipa02.example.com; Path=/ipa; Expires=Thu, 13 Feb 2014 17:58:46 GMT; Secure; HttpOnly' <br>> ipa: DEBUG: storing cookie 'ipa_session=eb4b207ba589878a328ee100b9ab16ae; Domain=ipa02.example.com; Path=/ipa; Expires=Thu, 13 Feb 2014 17:58:46 GMT; Secure; HttpOnly' for principal admin@EXAMPLE.COM <br>> ipa: DEBUG: args=keyctl search @s user ipa_session_cookie:admin@EXAMPLE.COM <br>> ipa: DEBUG: stdout= <br>> ipa: DEBUG: stderr=keyctl_search: Required key not available <br>> <br>> <br>> ipa: DEBUG: args=keyctl search @s user ipa_session_cookie:admin@EXAMPLE.COM <br>> ipa: DEBUG: stdout= <br>> ipa: DEBUG: stderr=keyctl_search: Required key not available <br>> <br>> <br>> ipa: DEBUG: args=keyctl padd user ipa_session_cookie:admin@EXAMPLE.COM @s <br>> ipa: DEBUG: stdout=227287872 <br>> <br>> <br>> ipa: DEBUG: stderr= <br>> ipa: DEBUG: Created connection context.xmlclient <br>> First name: usertest <br>> Last name: testname <br>> ipa: DEBUG: raw: user_add(u'usertest', givenname=u'usertest', sn=u'testname', cn=u'usertest testname', uidnumber=999, gidnumber=999, noprivate=False, all=False, raw=False, version=u'2.49', no_members=False) <br>> ipa: DEBUG: user_add(u'usertest', givenname=u'usertest', sn=u'testname', cn=u'usertest testname', displayname=u'usertest testname', initials=u'ut', gecos=u'usertest testname', krbprincipalname=u'usertest@EXAMPLE.COM', random=False, uidnumber=999, gidnumber=999, noprivate=False, all=False, raw=False, version=u'2.49', no_members=False) <br>> ipa: INFO: Forwarding 'user_add' to server u'https://ipa02.example.com/ipa/xml' <br>> ipa: DEBUG: NSSConnection init ipa02.example.com <br>> ipa: DEBUG: Connecting: 192.168.0.2:0 <br>> ipa: DEBUG: handshake complete, peer = 192.168.0.2:443 <br>> ipa: DEBUG: received Set-Cookie 'ipa_session=d5dcde16a47612ec6debfc7ed42b5efb; Domain=ipa02.example.com; Path=/ipa; Expires=Thu, 13 Feb 2014 17:59:04 GMT; Secure; HttpOnly' <br>> ipa: DEBUG: storing cookie 'ipa_session=d5dcde16a47612ec6debfc7ed42b5efb; Domain=ipa02.example.com; Path=/ipa; Expires=Thu, 13 Feb 2014 17:59:04 GMT; Secure; HttpOnly' for principal admin@EXAMPLE.COM <br>> ipa: DEBUG: args=keyctl search @s user ipa_session_cookie:admin@EXAMPLE.COM <br>> ipa: DEBUG: stdout=227287872 <br>> <br>> <br>> ipa: DEBUG: stderr= <br>> ipa: DEBUG: args=keyctl search @s user ipa_session_cookie:admin@EXAMPLE.COM <br>> ipa: DEBUG: stdout=227287872 <br>> <br>> <br>> ipa: DEBUG: stderr= <br>> ipa: DEBUG: args=keyctl pupdate 227287872 <br>> ipa: DEBUG: stdout= <br>> ipa: DEBUG: stderr= <br>> ipa: DEBUG: Caught fault 4203 from server https://ipa02.example.com/ipa/xml: 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. <br>> ipa: DEBUG: Destroyed connection context.xmlclient <br>> 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. <br>> <br>> <br>> <br>> <br>> Under the labs I did on IPA, I could resolve that by booting the replica server, but this time I couldn't solve. Looking for assistance, please! <br>> <br>> <br>> Thank you for any help you can provide in this situation! <br>> <br>> <br>> Bruno Henrique Barbosa <br>> Jr. Sys Admin <br>> IT Department <br>> Santos City Hall <br><br>Hello Bruno,<br><br>I saw the logs you sent to Dmitri. It seems to me that the replication link is<br>broken, thus replica DNA plugin cannot acquire DNA ranges from master, thus it<br>has no available range, thus adding users fails as DS cannot allocate UID and GID.<br><br>I think your replication will be broken as well, did you verify that users you<br>delete/modify on replica are also deleted/modified on master?<br><br>I think the root cause is this log:<br><br>[13/Feb/2014:15:31:11 -0200] set_krb5_creds - Could not get initial credentials<br>for principal [ldap/ipa02.example.com@EXAMPLE.COM] in keytab<br>[FILE:/etc/dirsrv/ds.keytab]: -1765328228 (Cannot contact any KDC for requested<br>realm)<br><br>Is your KDC running?<br><br>[replica] # ipactl status<br><br>You can also try to kinit manually to debug:<br><br>[replica] # kinit -kt /etc/dirsrv/ds.keytab ldap/ipa02.example.com@EXAMPLE.COM<br><br>If it does not succeed, neither it'd succeed for the DS.<br><br>I would also recommend checking that DNS is sane. You can find some pointers here:<br>http://www.freeipa.org/page/Troubleshooting#DNS_Issues<br><br>HTH,<br>Martin<br></div><br></div></div></body></html>