<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: verdana,helvetica,sans-serif; font-size: 10pt; color: #000000'>Rob,<br><br>My apologies, I only provided a tail of the log, I should have provided more.  I can see now there is much more detail in there.<br><br>I followed your lead regarding the HTTP error log from the server and found this:<br><br>[Wed Jul 20 14:33:39.410295 2016] [authz_core:error] [pid 27345] [client 172.16.10.12:49727] AH01630: client denied by server configuration: /usr/share/ipa/wsgi.py, referer: https://ldap.mydomain.com/ipa/xml<br><br>So, that is most likely the next track for me to follow.  <br><br>Thank you for your assistance to this point, and in case there is interest here is the full client log:<br><br>2016-07-20T18:33:18Z DEBUG /usr/sbin/ipa-client-install was invoked with options: {'domain': None, 'force': False, 'krb5_offline_passwords': True, 'ip_addresses': [], 'configure_firefox': False, 'primary': False, 'realm_name': None, 'force_ntpd': False, 'create_sshfp': True, 'conf_sshd': True, 'conf_ntp': True, 'on_master': False, 'no_nisdomain': False, 'nisdomain': None, 'ca_cert_file': None, 'principal': None, 'keytab': None, 'hostname': None, 'request_cert': False, 'trust_sshfp': False, 'no_ac': False, 'unattended': None, 'all_ip_addresses': False, 'location': None, 'sssd': True, 'ntp_servers': None, 'kinit_attempts': 5, 'dns_updates': False, 'conf_sudo': True, 'conf_ssh': True, 'force_join': False, 'firefox_dir': None, 'server': None, 'prompt_password': False, 'permit': False, 'debug': False, 'preserve_sssd': False, 'mkhomedir': False, 'uninstall': False}<br>2016-07-20T18:33:18Z DEBUG missing options might be asked for interactively later<br>2016-07-20T18:33:18Z DEBUG IPA version 4.2.0-15.0.1.el7.centos.17<br>2016-07-20T18:33:18Z DEBUG Loading Index file from '/var/lib/ipa-client/sysrestore/sysrestore.index'<br>2016-07-20T18:33:18Z DEBUG Loading StateFile from '/var/lib/ipa-client/sysrestore/sysrestore.state'<br>2016-07-20T18:33:18Z DEBUG Starting external process<br>2016-07-20T18:33:18Z DEBUG args='/bin/systemctl' 'is-enabled' 'chronyd.service'<br>2016-07-20T18:33:18Z DEBUG Process finished, return code=0<br>2016-07-20T18:33:18Z DEBUG stdout=enabled<br><br>2016-07-20T18:33:18Z DEBUG stderr=<br>2016-07-20T18:33:18Z WARNING Using existing certificate '/etc/ipa/ca.crt'.<br>2016-07-20T18:33:18Z DEBUG [IPA Discovery]<br>2016-07-20T18:33:18Z DEBUG Starting IPA discovery with domain=None, servers=None, hostname=centostest.mydomain.com<br>2016-07-20T18:33:18Z DEBUG Start searching for LDAP SRV record in "mydomain.com" (domain of the hostname) and its sub-domains<br>2016-07-20T18:33:18Z DEBUG Search DNS for SRV record of _ldap._tcp.mydomain.com<br>2016-07-20T18:33:18Z DEBUG DNS record not found: NXDOMAIN<br>2016-07-20T18:33:18Z DEBUG Search DNS for SRV record of _ldap._tcp.com<br>2016-07-20T18:33:18Z DEBUG DNS record not found: NXDOMAIN<br>2016-07-20T18:33:18Z DEBUG Start searching for LDAP SRV record in "mydomain.com" (search domain from /etc/resolv.conf) and its sub-domains<br>2016-07-20T18:33:18Z DEBUG Already searched mydomain.com; skipping<br>2016-07-20T18:33:18Z DEBUG No LDAP server found<br>2016-07-20T18:33:18Z DEBUG No LDAP server found<br>2016-07-20T18:33:18Z INFO DNS discovery failed to determine your DNS domain<br>2016-07-20T18:33:20Z DEBUG will use interactively provided domain: mydomain.com<br>2016-07-20T18:33:20Z DEBUG [IPA Discovery]<br>2016-07-20T18:33:20Z DEBUG Starting IPA discovery with domain=mydomain.com, servers=None, hostname=centostest.mydomain.com<br>2016-07-20T18:33:20Z DEBUG Search for LDAP SRV record in mydomain.com<br>2016-07-20T18:33:20Z DEBUG Search DNS for SRV record of _ldap._tcp.mydomain.com<br>2016-07-20T18:33:20Z DEBUG DNS record not found: NXDOMAIN<br>2016-07-20T18:33:20Z DEBUG No LDAP server found<br>2016-07-20T18:33:20Z DEBUG IPA Server not found<br>2016-07-20T18:33:20Z DEBUG DNS discovery failed to find the IPA Server<br>2016-07-20T18:33:23Z DEBUG will use interactively provided server: ldap.mydomain.com<br>2016-07-20T18:33:23Z DEBUG [IPA Discovery]<br>2016-07-20T18:33:23Z DEBUG Starting IPA discovery with domain=mydomain.com, servers=['ldap.mydomain.com'], hostname=centostest.mydomain.com<br>2016-07-20T18:33:23Z DEBUG Server and domain forced<br>2016-07-20T18:33:23Z DEBUG [Kerberos realm search]<br>2016-07-20T18:33:23Z DEBUG Search DNS for TXT record of _kerberos.mydomain.com<br>2016-07-20T18:33:23Z DEBUG DNS record not found: NXDOMAIN<br>2016-07-20T18:33:23Z DEBUG Search DNS for SRV record of _kerberos._udp.mydomain.com<br>2016-07-20T18:33:23Z DEBUG DNS record not found: NXDOMAIN<br>2016-07-20T18:33:23Z DEBUG SRV record for KDC not found! Domain: mydomain.com<br>2016-07-20T18:33:23Z DEBUG [LDAP server check]<br>2016-07-20T18:33:23Z DEBUG Verifying that ldap.mydomain.com (realm None) is an IPA server<br>2016-07-20T18:33:23Z DEBUG Init LDAP connection to: ldap.mydomain.com<br>2016-07-20T18:33:24Z DEBUG Search LDAP server for IPA base DN<br>2016-07-20T18:33:24Z DEBUG Check if naming context 'dc=mydomain,dc=com' is for IPA<br>2016-07-20T18:33:24Z DEBUG Naming context 'dc=mydomain,dc=com' is a valid IPA context<br>2016-07-20T18:33:24Z DEBUG Search for (objectClass=krbRealmContainer) in dc=mydomain,dc=com (sub)<br>2016-07-20T18:33:24Z DEBUG Found: cn=MYDOMAION.COM,cn=kerberos,dc=mydomain,dc=com<br>2016-07-20T18:33:24Z DEBUG Discovery result: Success; server=ldap.mydomain.com, domain=mydomain.com, kdc=None, basedn=dc=mydomain,dc=com<br>2016-07-20T18:33:24Z DEBUG Validated servers: ldap.mydomain.com<br>2016-07-20T18:33:24Z WARNING The failure to use DNS to find your IPA server indicates that your resolv.conf file is not properly configured.<br>2016-07-20T18:33:24Z INFO Autodiscovery of servers for failover cannot work with this configuration.<br>2016-07-20T18:33:24Z INFO If you proceed with the installation, services will be configured to always access the discovered server for all operations and will not fail over to other servers in case of failure.<br>2016-07-20T18:33:26Z DEBUG will use discovered realm: MYDOMAION.COM<br>2016-07-20T18:33:26Z DEBUG will use discovered basedn: dc=mydomain,dc=com<br>2016-07-20T18:33:26Z INFO Client hostname: centostest.mydomain.com<br>2016-07-20T18:33:26Z DEBUG Hostname source: Machine's FQDN<br>2016-07-20T18:33:26Z INFO Realm: MYDOMAION.COM<br>2016-07-20T18:33:26Z DEBUG Realm source: Discovered from LDAP DNS records in ldap.mydomain.com<br>2016-07-20T18:33:26Z INFO DNS Domain: mydomain.com<br>2016-07-20T18:33:26Z DEBUG DNS Domain source: Provided interactively<br>2016-07-20T18:33:26Z INFO IPA Server: ldap.mydomain.com<br>2016-07-20T18:33:26Z DEBUG IPA Server source: Provided interactively<br>2016-07-20T18:33:26Z INFO BaseDN: dc=mydomain,dc=com<br>2016-07-20T18:33:26Z DEBUG BaseDN source: From IPA server ldap://ldap.mydomain.com:389<br>2016-07-20T18:33:32Z DEBUG Starting external process<br>2016-07-20T18:33:32Z DEBUG args='/usr/sbin/ipa-rmkeytab' '-k' '/etc/krb5.keytab' '-r' 'MYDOMAION.COM'<br>2016-07-20T18:33:32Z DEBUG Process finished, return code=3<br>2016-07-20T18:33:32Z DEBUG stdout=<br>2016-07-20T18:33:32Z DEBUG stderr=Failed to open keytab '/etc/krb5.keytab': No such file or directory<br><br>2016-07-20T18:33:32Z INFO Skipping synchronizing time with NTP server.<br>2016-07-20T18:33:34Z DEBUG will use principal provided as option: admin<br>2016-07-20T18:33:34Z DEBUG Starting external process<br>2016-07-20T18:33:34Z DEBUG args='keyctl' 'get_persistent' '@s' '0'<br>2016-07-20T18:33:34Z DEBUG Process finished, return code=0<br>2016-07-20T18:33:34Z DEBUG stdout=354225941<br><br>2016-07-20T18:33:34Z DEBUG stderr=<br>2016-07-20T18:33:34Z DEBUG Enabling persistent keyring CCACHE<br>2016-07-20T18:33:34Z DEBUG Writing Kerberos configuration to /tmp/tmpGxQ6Xw:<br>2016-07-20T18:33:34Z DEBUG #File modified by ipa-client-install<br><br>includedir /var/lib/sss/pubconf/krb5.include.d/<br><br>[libdefaults]<br>  default_realm = MYDOMAION.COM<br>  dns_lookup_realm = false<br>  dns_lookup_kdc = false<br>  rdns = false<br>  ticket_lifetime = 24h<br>  forwardable = yes<br>  udp_preference_limit = 0<br>  default_ccache_name = KEYRING:persistent:%{uid}<br><br><br>[realms]<br>  MYDOMAION.COM = {<br>    kdc = ldap.mydomain.com:88<br>    master_kdc = ldap.mydomain.com:88<br>    admin_server = ldap.mydomain.com:749<br>    default_domain = mydomain.com<br>    pkinit_anchors = FILE:/etc/ipa/ca.crt<br><br>  }<br><br><br>[domain_realm]<br>  .mydomain.com = MYDOMAION.COM<br>  mydomain.com = MYDOMAION.COM<br><br>2016-07-20T18:33:37Z DEBUG Initializing principal admin@MYDOMAION.COM using password<br>2016-07-20T18:33:37Z DEBUG Starting external process<br>2016-07-20T18:33:37Z DEBUG args='/usr/bin/kinit' 'admin@MYDOMAION.COM' '-c' '/tmp/tmpXBVcV7'<br>2016-07-20T18:33:37Z DEBUG Process finished, return code=0<br>2016-07-20T18:33:37Z DEBUG stdout=Password for admin@MYDOMAION.COM:<br><br>2016-07-20T18:33:37Z DEBUG stderr=<br>2016-07-20T18:33:37Z DEBUG trying to retrieve CA cert via LDAP from ldap.mydomain.com<br>2016-07-20T18:33:38Z DEBUG flushing ldap://ldap.mydomain.com:389 from SchemaCache<br>2016-07-20T18:33:38Z DEBUG retrieving schema for SchemaCache url=ldap://ldap.mydomain.com:389 conn=<ldap.ldapobject.SimpleLDAPObject instance at 0x1ed57a0><br>2016-07-20T18:33:39Z DEBUG Existing CA cert and Retrieved CA cert are identical<br>2016-07-20T18:33:39Z DEBUG Starting external process<br>2016-07-20T18:33:39Z DEBUG args='/usr/sbin/ipa-join' '-s' 'ldap.mydomain.com' '-b' 'dc=mydomain,dc=com' '-h' 'centostest.mydomain.com'<br>2016-07-20T18:33:39Z DEBUG Process finished, return code=17<br>2016-07-20T18:33:39Z DEBUG stdout=<br>2016-07-20T18:33:39Z DEBUG stderr=HTTP response code is 403, not 200<br><br>2016-07-20T18:33:39Z ERROR Joining realm failed: HTTP response code is 403, not 200<br><br>2016-07-20T18:33:39Z ERROR Installation failed. Rolling back changes.<br>2016-07-20T18:33:39Z ERROR IPA client is not configured on this system.<br><div><span name="x"></span><br></div><hr id="zwchr"><div style="color: rgb(0, 0, 0); font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>From: </b>"Rob Crittenden" <rcritten@redhat.com><br><b>To: </b>"Rubin Binder" <rbinder@wooplagaming.com>, "Justin Stephenson" <jstephen@redhat.com><br><b>Cc: </b>freeipa-users@redhat.com<br><b>Sent: </b>Wednesday, July 20, 2016 3:33:36 PM<br><b>Subject: </b>Re: [Freeipa-users] FreeIPA Client Install 403 error<br><br>Rubin Binder wrote:<br>> Justin,<br>><br>> Thank you very much for the prompt response.  The log output is as follows:<br>><br>> 2016-07-20T17:02:52Z DEBUG Starting external process<br>> 2016-07-20T17:02:52Z DEBUG args='/usr/sbin/ipa-join' '-s'<br>> 'ldap.mydomain.com' '-b' 'dc=mydomain,dc=com' '-h' 'centostest.mydomain.com'<br>> 2016-07-20T17:02:52Z DEBUG Process finished, return code=17<br>> 2016-07-20T17:02:52Z DEBUG stdout=<br>> 2016-07-20T17:02:52Z DEBUG stderr=HTTP response code is 403, not 200<br>><br>> 2016-07-20T17:02:52Z ERROR Joining realm failed: HTTP response code is<br>> 403, not 200<br>><br>> 2016-07-20T17:02:52Z ERROR Installation failed. Rolling back changes.<br>> 2016-07-20T17:02:52Z ERROR IPA client is not configured on this system.<br><br>Seeing the entire file is usually more helpful but in this case you did <br>provide a single clue. Return code 17 from ipa-join is a XML-RPC fault. <br>This may be the same 403 as reported elsewhere. I'd suggest looking in <br>/var/log/httpd/error_log on the master.<br><br>rob<br><br>><br>> Regards,<br>> Rubin<br>><br>> ------------------------------------------------------------------------<br>> *From: *"Justin Stephenson" <jstephen@redhat.com><br>> *To: *"Rubin Binder" <rbinder@wooplagaming.com>, freeipa-users@redhat.com<br>> *Sent: *Wednesday, July 20, 2016 2:49:16 PM<br>> *Subject: *Re: [Freeipa-users] FreeIPA Client Install 403 error<br>><br>> Could you please share with us the /var/log/ipaclient-install.log ?<br>><br>> Kind regards,<br>><br>> Justin Stephenson<br>><br>><br>> On 07/20/2016 01:23 PM, Rubin Binder wrote:<br>>  > Hello all,<br>>  ><br>>  > I am testing Free IPA server for use under a test environment, so far<br>> smooth sailing and have it up and running, no problems.<br>>  ><br>>  > The problem is occurring during client installation. I have installed<br>> the ipa-client package on a clean CentOS 7 OS. When I execute<br>> ipa-client-install... I get the following:<br>>  ><br>>  >   Client hostname: centostest.mydomain.com<br>>  >   Realm: MYDOMAIN.COM<br>>  >   DNS Domain: mydomain.com<br>>  >   IPA Server: ldap.mydomain.com<br>>  >   BaseDN: dc=mydomain,dc=com<br>>  ><br>>  >   Continue to configure the system with these values? [no]: yes<br>>  >   Skipping synchronizing time with NTP server.<br>>  >   User authorized to enroll computers: admin<br>>  >   Password for admin@MYDOMAIN.COM:<br>>  >   Successfully retrieved CA cert<br>>  >   Subject: CN=Certificate Authority,O=MYDOMAIN.COM<br>>  >   Issuer: CN=Certificate Authority,O=MYDOMAIN.COM<br>>  >   Valid From: Wed Jul 13 13:12:08 2016 UTC<br>>  >   Valid Until: Sun Jul 13 13:12:08 2036 UTC<br>>  ><br>>  >   Joining realm failed: HTTP response code is 403, not 200<br>>  ><br>>  >   Installation failed. Rolling back changes.<br>>  >   IPA client is not configured on this system.<br>>  ><br>>  > I can't make sense of why I'd be seeing a 403 error.  I've done my<br>> share of searching but have not found a similar issue.  Some have report<br>> 401 errors in some circumstances, but not 403.<br>>  ><br>>  > Has anyone seen this before.<br>>  ><br>>  > Thanks,<br>>  > Rubin<br>>  ><br>><br>><br>><br>><br><br></div><br></div></body></html>