We restored data (just the data) from an ipa-backup on a newly-installed and 
configured host and with an LDAP browser we can see the data; however, the DNS 
data doesn't appear to be available over port 53 (selinux & firewall 
deactivated) and we can't login as any of the preserved users. In the httpd 
error logs we see output like this:

[Sun Jun 12 13:02:56.669035 2016] [:error] [pid 15624] ipa: DEBUG: WSGI 
[Sun Jun 12 13:02:56.669118 2016] [:error] [pid 15624] ipa: DEBUG: WSGI 
[Sun Jun 12 13:02:56.669915 2016] [:error] [pid 15624] ipa: DEBUG: no session 
id in request, generating empty session data with 
[Sun Jun 12 13:02:56.670014 2016] [:error] [pid 15624] ipa: DEBUG: store 
session: session_id=70632094201d72deec8d6aed0a0c4ace 
start_timestamp=2016-06-12T13:02:56 access_timestamp=2016-06-12T13:02:56 
[Sun Jun 12 13:02:56.670231 2016] [:error] [pid 15624] ipa: DEBUG: 
jsonserver_session.__call__: session_id=70632094201d72deec8d6aed0a0c4ace 
start_timestamp=2016-06-12T13:02:56 access_timestamp=2016-06-12T13:02:56 
[Sun Jun 12 13:02:56.670271 2016] [:error] [pid 15624] ipa: DEBUG: no ccache, 
need login
[Sun Jun 12 13:02:56.670304 2016] [:error] [pid 15624] ipa: DEBUG: 
jsonserver_session: 401 Unauthorized need login
[Sun Jun 12 13:03:06.961830 2016] [:error] [pid 15623] ipa: DEBUG: WSGI 
[Sun Jun 12 13:03:06.961921 2016] [:error] [pid 15623] ipa: DEBUG: WSGI 
[Sun Jun 12 13:03:07.070179 2016] [:error] [pid 15623] ipa: DEBUG: Obtaining 
armor ccache: principal=HTTP/ipa.example....@example.com 
keytab=/etc/httpd/conf/ipa.keytab ccache=/var/run/ipa_memcached/krbcc_A_username
[Sun Jun 12 13:03:07.070264 2016] [:error] [pid 15623] ipa: DEBUG: Initializing 
principal HTTP/ipa.example....@example.com using keytab 
[Sun Jun 12 13:03:07.070298 2016] [:error] [pid 15623] ipa: DEBUG: using ccache 
[Sun Jun 12 13:03:07.088452 2016] [:error] [pid 15623] [remote] 
mod_wsgi (pid=15623): Exception occurred processing WSGI script 
[Sun Jun 12 13:03:07.088498 2016] [:error] [pid 15623] [remote] 
Traceback (most recent call last):
[Sun Jun 12 13:03:07.088514 2016] [:error] [pid 15623] [remote] 
  File "/usr/share/ipa/wsgi.py", line 49, in application
[Sun Jun 12 13:03:07.088587 2016] [:error] [pid 15623] [remote] 
    return api.Backend.wsgi_dispatch(environ, start_response)
[Sun Jun 12 13:03:07.088596 2016] [:error] [pid 15623] [remote] 
  File "/usr/lib/python2.7/site-packages/ipaserver/rpcserver.py", line 258, in 
[Sun Jun 12 13:03:07.088859 2016] [:error] [pid 15623] [remote] 
    return self.route(environ, start_response)
[Sun Jun 12 13:03:07.088869 2016] [:error] [pid 15623] [remote] 
  File "/usr/lib/python2.7/site-packages/ipaserver/rpcserver.py", line 270, in 
[Sun Jun 12 13:03:07.088883 2016] [:error] [pid 15623] [remote] 
    return app(environ, start_response)
[Sun Jun 12 13:03:07.088888 2016] [:error] [pid 15623] [remote] 
  File "/usr/lib/python2.7/site-packages/ipaserver/rpcserver.py", line 944, in 
[Sun Jun 12 13:03:07.088895 2016] [:error] [pid 15623] [remote] 
    self.kinit(user, self.api.env.realm, password, ipa_ccache_name)
[Sun Jun 12 13:03:07.088899 2016] [:error] [pid 15623] [remote] 
  File "/usr/lib/python2.7/site-packages/ipaserver/rpcserver.py", line 966, in 
[Sun Jun 12 13:03:07.088906 2016] [:error] [pid 15623] [remote] 
    raise CCacheError(str(e))
[Sun Jun 12 13:03:07.088912 2016] [:error] [pid 15623] [remote] 
  File "/usr/lib/python2.7/site-packages/ipalib/errors.py", line 248, in 
[Sun Jun 12 13:03:07.089157 2016] [:error] [pid 15623] [remote] 
    messages.process_message_arguments(self, format, message, **kw)
[Sun Jun 12 13:03:07.089174 2016] [:error] [pid 15623] [remote] 
  File "/usr/lib/python2.7/site-packages/ipalib/messages.py", line 52, in 
[Sun Jun 12 13:03:07.089252 2016] [:error] [pid 15623] [remote] 
    name, format)
[Sun Jun 12 13:03:07.089271 2016] [:error] [pid 15623] [remote] 
ValueError: non-generic 'CCacheError' needs format=None; got 
format="(-1765328353, 'Decrypt integrity check failed')"

However, 'kinit username' works.
An 'ipa user-find username' fails with output like this:

[root@ipa httpd]# ipa user-find username
ipa: ERROR: cert validation failed for 
Peer's certificate issuer has been marked as not trusted by the user.)
ipa: ERROR: Kerberos error: Service 'h...@ipa-replica-1.example.com' not found 
in Kerberos database/

And those replicas also show up in 'ipa-replica-manage list' and 
'ipa-csreplica-manage list' but not if I then try to remove them via 
'ipa-replica-manage del <replica-name>'.

The crucial issues before me are

1)       How do we restore WebUI login ability to the restored users, and

2)       How do we restore DNS service for the restored DNS records in LDAP?

Best regards,

Daniel Alex Finkelstein| Lead Dev Ops Engineer
dan.finkelst...@h5g.com<mailto:dan.finkelst...@h5g.com> | 212.604.3447
One World Trade Center, New York, NY 10007
Play High 5 Casino<https://apps.facebook.com/highfivecasino/> and Shake the 
Follow us on: Facebook<http://www.facebook.com/high5games>, 

This message and any attachments may contain confidential or privileged 
information and are only for the use of the intended recipient of this message. 
If you are not the intended recipient, please notify the sender by return 
email, and delete or destroy this and all copies of this message and all 
attachments. Any unauthorized disclosure, use, distribution, or reproduction of 
this message or any attachments is prohibited and may be unlawful.
Manage your subscription for the Freeipa-users mailing list:
Go to http://freeipa.org for more info on the project

Reply via email to