[Freeipa-users] Re: IPA replica with CA role problems

2017-08-01 Thread Florence Blanc-Renaud via FreeIPA-users
On 07/31/2017 08:44 PM, Mark Haney via FreeIPA-users wrote: On 07/24/2017 10:25 PM, Fraser Tweedale wrote: Could you provide more of the /var/log/pki/pki-tomcat/ca/debug log file (ideally the whole thing)? Also to clarify: ``ipa-replica-install --setup-ca'' installs a new replica including the

[Freeipa-users] Re: External Application Authentication Against FreeIPA LDAP Not Working

2017-08-01 Thread Florence Blanc-Renaud via FreeIPA-users
On 08/01/2017 12:54 AM, bdlamprecht--- via FreeIPA-users wrote: I've been trying to get this to work for a few days now all to no avail... I'm been running "FreeIPA, version: 4.3.1" for a few months now to authenticate a number of VMs that I grew tired of managing permissions on a individual ba

[Freeipa-users] Re: Failed Upgrade?

2017-08-01 Thread Florence Blanc-Renaud via FreeIPA-users
On 08/01/2017 01:32 AM, Ian Harding via FreeIPA-users wrote: On 07/31/2017 11:34 AM, Rob Crittenden wrote: Ian Harding via FreeIPA-users wrote: I had an unexpected restart of an IPA server that had apparently had updates run but had not been restarted. ipactl says pki-tomcatd would not start

[Freeipa-users] Re: "Cannot obtain CA certificate" error when trying to install, but works on older instances; force fails

2017-08-01 Thread Florence Blanc-Renaud via FreeIPA-users
On 08/01/2017 03:26 AM, None via FreeIPA-users wrote: I'm really at a loss on this one. I have a bunch of old server images (from 2 months ago) that can run ipa-client-install just fine. When I created a new image, though, I get this error (from the install logs): DEBUG flushing ldap://ipa.s

[Freeipa-users] Re: AD trust setup woes

2017-08-01 Thread Igor Sever via FreeIPA-users
I have the same error. I established two-way trust with AD which went fine. Authentication with Kerberos to AD is working. Since I have one test FreeIPA which is working correctly (relatively) I compared logs and pinpointed problem to strange LDAP search which is FreeIPA sending to DC: (&(sAMAcco

[Freeipa-users] Re: "Cannot obtain CA certificate" error when trying to install, but works on older instances; force fails

2017-08-01 Thread None via FreeIPA-users
Hey, I checked the logs and found this: conn=3295 op=3 SRCH base="cn=certificates,cn=ipa,cn=etc,dc=ipa,dc=services,dc=example" scope=2 filter="(&(objectClass=ipaCertificate)(objectClass=pkiCA))" attrs="ipaKeyExtUsage cn ipaCertSubject ipaPublicKey cacertificate;binary ipaKeyTrust ipaCertIssuerS

[Freeipa-users] Re: "Cannot obtain CA certificate" error when trying to install, but works on older instances; force fails

2017-08-01 Thread None via FreeIPA-users
Slight update: I tried precreating /etc/ipa/ca.crt, and when running the install, I get the same Python error I did before: File "/usr/sbin/ipa-client-install", line 3099, in sys.exit(main()) File "/usr/sbin/ipa-client-install", line 3080, in main rval = install(options, env, fstore,

[Freeipa-users] Re: IPA replica with CA role problems

2017-08-01 Thread Mark Haney via FreeIPA-users
On 08/01/2017 03:26 AM, Florence Blanc-Renaud wrote: another user hit the same problem as you (ipa-replica-install --setup-ca fails during pkispawn and the PKI debug log shows an error related to updateNumberRange). He managed to workaround the issue by un-enrolling the failing replica and re

[Freeipa-users] Re: Failed Upgrade?

2017-08-01 Thread Ian Harding via FreeIPA-users
On 08/01/2017 01:48 AM, Florence Blanc-Renaud wrote: On 08/01/2017 01:32 AM, Ian Harding via FreeIPA-users wrote: On 07/31/2017 11:34 AM, Rob Crittenden wrote: Ian Harding via FreeIPA-users wrote: I had an unexpected restart of an IPA server that had apparently had updates run but had not be

[Freeipa-users] Re: "Cannot obtain CA certificate" error when trying to install, but works on older instances; force fails

2017-08-01 Thread None via FreeIPA-users
Further update: I'm pretty sure I found out the problem. Basically, my old server is running pyasn1==0.2.3 and the new one has pyasn1==0.3.1. Per the pyasn1 documentation, they made a breaking change to __init__ and a few other functions in 0.3.1, so I guess FreeIPA 4.3.1 isn't compatible with th

[Freeipa-users] Re: "Cannot obtain CA certificate" error when trying to install, but works on older instances; force fails

2017-08-01 Thread Rob Crittenden via FreeIPA-users
None via FreeIPA-users wrote: > Further update: I'm pretty sure I found out the problem. > > Basically, my old server is running pyasn1==0.2.3 and the new one has > pyasn1==0.3.1. Per the pyasn1 documentation, they made a breaking change > to __init__ and a few other functions in 0.3.1, so I guess

[Freeipa-users] Renewing /etc/httpd/alias certs

2017-08-01 Thread Jason B. Nance via FreeIPA-users
Hello everyone, I'm running FreeIPA 4.4 (as shipped with current CentOS 7). I had a series of unfortunate events which resulted in the entire cluster being offline for a matter of a couple weeks during which the certificate in /etc/httpd/alias expired. I rolled back the clocks on all of the s

[Freeipa-users] Server died

2017-08-01 Thread Bret Wortman via FreeIPA-users
I've got a server with multiple replication agreements that just went toes up. The tail end of the startup output says: Aug 01 14:21:22 zsipa systemd[1]: dirsrv@DG-NET.service: main process exited, code=exited, status=1/FAILURE Aug 01 14:21:22 zsipa systemd[1]: Aug 01 14:21:22 zsipa systemd[1]

[Freeipa-users] Re: Failed Upgrade?

2017-08-01 Thread Florence Blanc-Renaud via FreeIPA-users
On 08/01/2017 03:11 PM, Ian Harding wrote: On 08/01/2017 01:48 AM, Florence Blanc-Renaud wrote: On 08/01/2017 01:32 AM, Ian Harding via FreeIPA-users wrote: On 07/31/2017 11:34 AM, Rob Crittenden wrote: Ian Harding via FreeIPA-users wrote: I had an unexpected restart of an IPA server that h

[Freeipa-users] Re: Server died

2017-08-01 Thread Bret Wortman via FreeIPA-users
Stupid return key. I solved this and was trying to delete the email. Sorry for the spam. On 08/01/2017 10:28 AM, Bret Wortman via FreeIPA-users wrote: I've got a server with multiple replication agreements that just went toes up. The tail end of the startup output says: Aug 01 14:21:22 zsi

[Freeipa-users] Re: Time Skew on Amazon nodes?

2017-08-01 Thread pgb 205 via FreeIPA-users
ok thats great news! But I just want to make sure even if the server IS ALREADY DOWN due to this bug we can still manually edit the database (dse.ldif) for this value and then bring up the processes. Would that work? ___ FreeIPA-users mailing list -- fr

[Freeipa-users] Re: Krb5.conf only sees first two kdc servers

2017-08-01 Thread pgb 205 via FreeIPA-users
I'd appreciate any advise on how to even troubleshoot this further. KRB_TRACE is the only utility that I'm aware to assist with this. ___ FreeIPA-users mailing list -- freeipa-users@lists.fedorahosted.org To unsubscribe send an email to freeipa-users-le.

[Freeipa-users] Re: Time Skew on Amazon nodes?

2017-08-01 Thread Ludwig Krispenz via FreeIPA-users
On 08/01/2017 04:42 PM, pgb 205 via FreeIPA-users wrote: ok thats great news! But I just want to make sure even if the server IS ALREADY DOWN due to this bug we can still manually edit the database (dse.ldif) for this value and then bring up the processes. Would that work? yes, that should wo

[Freeipa-users] Re: I appear to have an issue with "hosts" on my replica

2017-08-01 Thread Grant Janssen via FreeIPA-users
The resolv.conf is identical on both systems, DNS is solid. SRV records are functioning as expected. I looked at everything and failing to find a resolution, sought advice here on the board. Now that these are out of sync, how would one manually initiate a sync? I haven’t found this in t

[Freeipa-users] Re: Time Skew on Amazon nodes?

2017-08-01 Thread pgb 205 via FreeIPA-users
also, any repercussions to leaving the CSN number skewed like this long-term(as nsslapd -ignore-time-skew will only mask the problem). I take it that there aren't. We'll just get log messages but no ill effects otherwise. thank you ___ FreeIPA-users m

[Freeipa-users] Re: IPA replica with CA role problems

2017-08-01 Thread Florence Blanc-Renaud via FreeIPA-users
On 08/01/2017 03:11 PM, Mark Haney via FreeIPA-users wrote: On 08/01/2017 03:26 AM, Florence Blanc-Renaud wrote: another user hit the same problem as you (ipa-replica-install --setup-ca fails during pkispawn and the PKI debug log shows an error related to updateNumberRange). He managed to wor

[Freeipa-users] Re: IPA replica with CA role problems

2017-08-01 Thread Mark Haney via FreeIPA-users
On 08/01/2017 11:01 AM, Florence Blanc-Renaud wrote: Hi, you can connect to IPA web UI on the server to revoke the cert: https://server.ipadomain.com/ipa/ui, then navigate to Authentication > Certificates, click on the certificate corresponding to the replica which failed installation (CN=,o

[Freeipa-users] Re: Renewing /etc/httpd/alias certs

2017-08-01 Thread Florence Blanc-Renaud via FreeIPA-users
On 08/01/2017 03:50 PM, Jason B. Nance via FreeIPA-users wrote: Hello everyone, I'm running FreeIPA 4.4 (as shipped with current CentOS 7). I had a series of unfortunate events which resulted in the entire cluster being offline for a matter of a couple weeks during which the certificate in /e

[Freeipa-users] Re: IPA replica with CA role problems

2017-08-01 Thread Mark Haney via FreeIPA-users
On 08/01/2017 11:01 AM, Florence Blanc-Renaud wrote: you can connect to IPA web UI on the server to revoke the cert: https://server.ipadomain.com/ipa/ui, then navigate to Authentication > Certificates, click on the certificate corresponding to the replica which failed installation (CN=,o=DOM.

[Freeipa-users] Re: External Application Authentication Against FreeIPA LDAP Not Working

2017-08-01 Thread bdlamprecht--- via FreeIPA-users
Yes, this information helped. In summary, I needed to create a "Service Account" that my application could bind to. I'm not sure why as it was able to BIND just fine using my credentials, but that is not a question for this group. It took some trial and error to get it to work correctly, but I

[Freeipa-users] Re: Failed Upgrade?

2017-08-01 Thread Ian Harding via FreeIPA-users
On 08/01/2017 07:39 AM, Florence Blanc-Renaud wrote: On 08/01/2017 03:11 PM, Ian Harding wrote: On 08/01/2017 01:48 AM, Florence Blanc-Renaud wrote: On 08/01/2017 01:32 AM, Ian Harding via FreeIPA-users wrote: On 07/31/2017 11:34 AM, Rob Crittenden wrote: Ian Harding via FreeIPA-users wrote

[Freeipa-users] Re: AD trust setup woes

2017-08-01 Thread Jakub Hrozek via FreeIPA-users
On Tue, Aug 01, 2017 at 11:20:16AM -, Igor Sever via FreeIPA-users wrote: > I have the same error. > I established two-way trust with AD which went fine. > Authentication with Kerberos to AD is working. > Since I have one test FreeIPA which is working correctly (relatively) I > compared logs a

[Freeipa-users] Re: IPA replica with CA role problems

2017-08-01 Thread Rob Crittenden via FreeIPA-users
Mark Haney via FreeIPA-users wrote: > On 08/01/2017 11:01 AM, Florence Blanc-Renaud wrote: >> >> you can connect to IPA web UI on the server to revoke the cert: >> https://server.ipadomain.com/ipa/ui, then navigate to Authentication > >> Certificates, click on the certificate corresponding to the r

[Freeipa-users] Re: Failed Upgrade?

2017-08-01 Thread Rob Crittenden via FreeIPA-users
Ian Harding wrote: > On 08/01/2017 07:39 AM, Florence Blanc-Renaud wrote: >> On 08/01/2017 03:11 PM, Ian Harding wrote: >>> On 08/01/2017 01:48 AM, Florence Blanc-Renaud wrote: On 08/01/2017 01:32 AM, Ian Harding via FreeIPA-users wrote: > > > On 07/31/2017 11:34 AM, Rob Crittenden

[Freeipa-users] Replication intermittently breaks---DNS process fail?

2017-08-01 Thread pgb205 via FreeIPA-users
We have observed the following situationreplication agreement between server1 and server2 exists ipa-replica-manage list server2>server1 However some of the users, hosts etc that are added on server1 are not making it to server2.  In sssd/error logs I can see the following which looks relevant:

[Freeipa-users] Mapping AD users to a simple short name? (odd mixed IPA w/ non-IPA environment for strange HPC use case)

2017-08-01 Thread Chris Dagdigian via FreeIPA-users
Have a strange use case - this may be a mostly sssd.conf config question I think ... I've got a high performance computing grid running in AWS. The front-end and user login nodes are managed IPA clients and things are working well even for the complex AD topology we have with lots of child-dom

[Freeipa-users] Re: Failed Upgrade?

2017-08-01 Thread Ian Harding via FreeIPA-users
On 08/01/2017 12:03 PM, Rob Crittenden wrote: Ian Harding wrote: On 08/01/2017 07:39 AM, Florence Blanc-Renaud wrote: On 08/01/2017 03:11 PM, Ian Harding wrote: On 08/01/2017 01:48 AM, Florence Blanc-Renaud wrote: On 08/01/2017 01:32 AM, Ian Harding via FreeIPA-users wrote: On 07/31/2017 1

[Freeipa-users] Re: Mapping AD users to a simple short name? (odd mixed IPA w/ non-IPA environment for strange HPC use case)

2017-08-01 Thread Jatin Nansi via FreeIPA-users
The users in /etc/passwd have nothing to do with the users in IPA, you can configure them to have the same UID / GID as the users in IPA, and you can name them the way you want (ie, just the username without the domain suffix). This will break in interesting ways if you need to sync updates to the