Re: [Freeipa-users] Not able to SSH with User Created in IPA Server

2015-03-26 Thread Simo Sorce
n using GSSAPI/Krb5, an IP address cannot be resolved to a proper key as keys are registerd into the KDC as host/machine.fully.qualified.name@REALM. It's the same thing as with HTTPS, the client need to know the "name" of the server in order to be able to properly communicate with it.

Re: [Freeipa-users] How to add 'generic' service?

2015-03-27 Thread Simo Sorce
tten WG we are also starting the process to deprecate RC4 and 3DES and we have a ticket to stop using them by default in FreeIPA too: https://fedorahosted.org/freeipa/ticket/4740 HTH, Simo. -- Simo Sorce * Red Hat, Inc * New York -- Manage your subscription for the Freeipa-users mailing list: https://www.redhat.com/mailman/listinfo/freeipa-users Go to http://freeipa.org for more info on the project

Re: [Freeipa-users] freeipa behind a load balancer

2015-03-31 Thread Simo Sorce
;>> > > >>>>>>>>> Matt > > >>>>>>>>> > > >>>>>>>>> 2015-03-31 13:56 GMT+02:00 Prashant Bapat : > > >>>>>>>>>> Hi, > > >>>>>>>>>> > > >>>>>>>>>> I'm trying to get 2 FreeIPA servers in a replicated mode behind > > >>>>>>>>>> a load > > >>>>>>>>>> balancer, specifically Amazon ELB. > > >>>>>>>>>> > > >>>>>>>>>> I started with editing the /etc/httpd/conf.d/ipa-rewrite.conf > > >>>>>>>>>> but looks like > > >>>>>>>>>> there is more to it than just this file. > > >>>>>>>>>> > > >>>>>>>>>> Any suggestions ? > > >>>>>>>>>> > > >>>>>>>>>> Thanks. > > >>>>>>>>>> --Prashant > > > > > > -- > > Thank you, > > Dmitri Pal > > > > Sr. Engineering Manager IdM portfolio > > Red Hat, Inc. > > > > kerberos is load balancer friendly, if you pet it nicely. > > you generate a principal for the VIP. you then create a keytab for the > VIP. you distribute the keytab via SCP (or other secure method) to all > load balanced pool members. you must distribute the same exact keytab > to all devices. the KVNO for the VIP principal must match in all copies > put on the pool members. use "klist -Kket /path/to/file.keytab" to > validate this on all pool members. > > there are additional steps you may want to take, in order to add the > individual principal(s) to the same keytab, so that you can access the > pool members themselves (not via the VIP). this requires that you > distribute the keytab as above, and then add the individual principals > to the local copy of the keytab file. > > example: > > you have created the principal ldap/ldap.domain.tld for your VIP > you have created the keytab for ldap/ldap.domain.tld as ~/ldap.keytab > you have copied the keytab file ~/ldap.keytab to server1, server2 and > server3 as /etc/ldap.keytab > > you ssh to server1 and run kadmin. > you then add a principal ldap/server1.domain.tld > you then add the principal ldap/server1.domain.tld to the already > existing keytab /etc/ldap.keytab. > quit kadmin > > when you run "klist -Kket /etc/ldap.keytab" you should see two > principals in it. the VIP name and the hostname. > > lather, rinse, repeat for all servers. > > keep in mind the administrative overhead of changing names of servers or > VIPs. > > there are other tricks for doing kerberos stuff. i use the same VIP, > but different ports in order to access an individual host/service behind > the load balancer. this works because the name (of the VIP) stays the > same and i just point a different front end port to an individual > backend device/port. > This is all true if you just accept connections. (Un?)fortunately we use delegation within IPA, which requires to use a local key to contact the KDC. This action "fixates" what key we are going to use to accept incoming context establishment requests. If a principal name is not specified then the selected key is usually the first in the keytab. In an IPA setup that will usually be the server's specific key. In order to use multiple keys in conjunction with IPA we'd have to explicitly support. I am not sure if the SSL layer records which name was used (perhaps it does if SNI is used, but almost certainly not is SAN are used), or if multiple virtual hosts need to be used. If we can know what name the client used then we could modify mod_auth_gssapi to select a specific name to acquire creds and then accept the connection with the correct keys. (Another option would be to explicitly retry with each available key if something fails). I am afraid I won't try to coerce mod_auth_kerb to do that, so this option is probably something we can do only post 4.2 and only if we can make appropriate modifications. Simo. -- Simo Sorce * Red Hat, Inc * New York -- Manage your subscription for the Freeipa-users mailing list: https://www.redhat.com/mailman/listinfo/freeipa-users Go to http://freeipa.org for more info on the project

Re: [Freeipa-users] freeipa behind a load balancer

2015-03-31 Thread Simo Sorce
On Tue, 2015-03-31 at 13:21 -0400, Brendan Kearney wrote: > On Tue, 2015-03-31 at 12:53 -0400, Simo Sorce wrote: > > On Tue, 2015-03-31 at 11:41 -0400, Brendan Kearney wrote: > > > On Tue, 2015-03-31 at 11:07 -0400, Dmitri Pal wrote: > > > > On 03/31/2015 10:38 AM

Re: [Freeipa-users] freeipa behind a load balancer

2015-03-31 Thread Simo Sorce
On Tue, 2015-03-31 at 13:50 -0400, Simo Sorce wrote: > But IPA is more complex and some operations will be performed directly > against the specific server name, so you need to keep 2 sets of keys > (one for the server name and one for the load balancer name), but that > does not wo

Re: [Freeipa-users] OTP integrations

2015-04-01 Thread Simo Sorce
whole keyset is encrypted with the master key, so the hashes cannot be seen even if you have access to the LDAP attribute. Simo. -- Simo Sorce * Red Hat, Inc * New York -- Manage your subscription for the Freeipa-users mailing list: https://www.redhat.com/mailman/listinfo/freeipa-users Go

Re: [Freeipa-users] IPA and geographically distributed masters

2015-04-01 Thread Simo Sorce
On Thu, 2015-04-02 at 00:22 +0100, g.fer.or...@unicyber.co.uk wrote: > Hi > > if you got the NTPs in sync and using the same timzeone on both it > should be ok All operations use UTC, so you can set whatever timezone you want on the machines. Simo. -- Simo Sorce * Red Hat, In

Re: [Freeipa-users] Understanding the migration mode

2015-04-03 Thread Simo Sorce
e available on-demand computing power provided by cloud operators, so distributing hashes is riskier than ever, especially old hashes based on DES or MD5, but SHA-1 is not far down the list. HTH, Simo. -- Simo Sorce * Red Hat, Inc * New York -- Manage your subscription for the Freeipa-user

Re: [Freeipa-users] Question on freeipa-server-trust-ad

2015-04-04 Thread Simo Sorce
users nor really services, so keeping it in cn=kerberos for now it is fine. However do not use kadmin.local to create actual user principals please. Simo. -- Simo Sorce * Red Hat, Inc * New York -- Manage your subscription for the Freeipa-users mailing list: https://www.redhat.com/mailman/l

Re: [Freeipa-users] load balancers?

2015-04-04 Thread Simo Sorce
https://www.redhat.com/mailman/listinfo/freeipa-users > > Go to http://freeipa.org for more info on the project > -- Simo Sorce * Red Hat, Inc * New York -- Manage your subscription for the Freeipa-users mailing list: https://www.redhat.com/mailman/listinfo/freeipa-users Go to http://freeipa.org for more info on the project

[Freeipa-users] On Load Balancers and Kerberos

2015-04-05 Thread Simo Sorce
I wrote a blog post to clarify a little bit how load balancers and Kerberos interact: https://ssimo.org/blog/id_019.html HTH, Simo. -- Simo Sorce * Red Hat, Inc * New York -- Manage your subscription for the Freeipa-users mailing list: https://www.redhat.com/mailman/listinfo/freeipa-users Go

Re: [Freeipa-users] Creating arbitrary users?

2015-04-07 Thread Simo Sorce
s or providing explicit support in the new aname2lname plugin. To do all this means adding new objects and configuration facilities to handle these special non-users, we haven't yet found enough benefit in adding support for these to warrant the work involved. Simo. -- Simo Sorce * Red Hat, I

Re: [Freeipa-users] Creating arbitrary users?

2015-04-07 Thread Simo Sorce
On Tue, 2015-04-07 at 14:16 +, coy.h...@coyhile.com wrote: > Quoting Simo Sorce > > > On Mon, 2015-04-06 at 21:16 -0400, Coy Hile wrote: > >> In MIT land, one can potentially have multiple instances tied (by > >> convention) to a given user (that is, that admin

Re: [Freeipa-users] Slow logins on FreeIPA 4.1.2 (F21)

2015-04-07 Thread Simo Sorce
cy if you kinit manually ? Simo. -- Simo Sorce * Red Hat, Inc * New York -- Manage your subscription for the Freeipa-users mailing list: https://www.redhat.com/mailman/listinfo/freeipa-users Go to http://freeipa.org for more info on the project

Re: [Freeipa-users] Creating arbitrary users?

2015-04-07 Thread Simo Sorce
On Tue, 2015-04-07 at 18:54 +, Coy Hile wrote: > Quoting Simo Sorce : > > >> > > >> > > >> I guess that makes sense. Is it possible to add a user that simply > >> doesn't have the posix attributes defined? In the particular case of >

Re: [Freeipa-users] Creating arbitrary users?

2015-04-07 Thread Simo Sorce
On Tue, 2015-04-07 at 22:01 -0400, Coy Hile wrote: > > On Apr 7, 2015, at 2:58 PM, Simo Sorce wrote: > > > > On Tue, 2015-04-07 at 18:54 +, Coy Hile wrote: > >> Quoting Simo Sorce : > >> > >>>>> > >>>>> &

Re: [Freeipa-users] Slow logins on FreeIPA 4.1.2 (F21)

2015-04-08 Thread Simo Sorce
On Wed, 2015-04-08 at 10:11 +0200, Martin (Lists) wrote: > Am 07.04.2015 um 18:27 schrieb Simo Sorce: > > On Tue, 2015-04-07 at 17:57 +0200, Martin (Lists) wrote: > >> Hallo > >> > >> attached you can find the data from krb_child.log. As far as I can see >

Re: [Freeipa-users] Freeipa4 - AD SSH logins

2015-04-15 Thread Simo Sorce
for external users/groups (IIRC). Simo. -- Simo Sorce * Red Hat, Inc * New York -- Manage your subscription for the Freeipa-users mailing list: https://www.redhat.com/mailman/listinfo/freeipa-users Go to http://freeipa.org for more info on the project

Re: [Freeipa-users] Old FreeIPA upstream guides removed (WAS: Re: Web UI: Migrated Admins missing action buttons)

2015-04-27 Thread Simo Sorce
On Mon, 2015-04-27 at 12:51 +0200, Martin Kosek wrote: > On 04/26/2015 08:23 AM, Alexander Bokovoy wrote: > > > > > > - Original Message - > >> Hi Rob and Dimitri > >> > >> Migrating via Replica is the obvious way that I would have gone, had the > >> FreeIPA /RedHat documentation not sugg

Re: [Freeipa-users] FreeIPA WebUI Logout logs back in

2015-04-28 Thread Simo Sorce
what we should do is to have a logout option that says "log in with a different user" and redirect to anon kerberized page that allows you to do form based login. This would address the case where a domain user wants to log in as admin w/o exiting their user session or destroying there ccache

Re: [Freeipa-users] FreeIPA WebUI Logout logs back in

2015-04-29 Thread Simo Sorce
r completeness. > > thanks > > Chris > > > > From: Simo Sorce > To: d...@redhat.com > Cc: Rob Crittenden , Christopher > Lamb/Switzerland/IBM@IBMCH, freeipa-users@redhat.com > Date: 29.04.2015 03:31 > Subject: Re: [Freeipa-users] Fre

Re: [Freeipa-users] FreeIPA WebUI Logout logs back in

2015-04-29 Thread Simo Sorce
ed.org/freeipa/ticket/5010 > > As this my first Fedora ticket, please forgive me If I didn't do it right > 8-) It's perfectly fine, thank you. Simo. > Cheers > > Chris > > > > > From: Craig White > To: Christopher Lamb/Switzerland/IBM@IBMCH, S

Re: [Freeipa-users] interesting Kerberos issue

2015-05-04 Thread Simo Sorce
ing here? Have you recently changed the user password ? If so this symptom may indicate you are having replication issues between your servers, and one of the client is hitting the server that didn't get the keys replicated to it. Simo. -- Simo Sorce * Red Hat, Inc * New York -- Manage your

Re: [Freeipa-users] user-mod --rename and password

2015-05-07 Thread Simo Sorce
Is this expected? It's with 4.1.0. > >> Yes, we have a bug for this, actually, few of them: > >> https://fedorahosted.org/freeipa/ticket/4757 > >> > >> The actual issue is due to https://fedorahosted.org/freeipa/ticket/4914 > >> > > > >Well, in this case the principal isn't changed at all, it's still > >b...@example.test, which is why the password doesn't work. There probably > >is no bob1 principal anywhere. > Yep, and there is a note in the first bug (#4757) about that. I think > ipa user-mod should be doing that rename for krbPrincipalName too but we > need to fix password generation via kadmin as well because chances are > that users changed their passwords via SSSD which leads to kadmin use. Patch to fix this is sitting in the fedora-devel list for a month or so, please review and ack it. Simo. -- Simo Sorce * Red Hat, Inc * New York -- Manage your subscription for the Freeipa-users mailing list: https://www.redhat.com/mailman/listinfo/freeipa-users Go to http://freeipa.org for more info on the project

Re: [Freeipa-users] dirsrv keytab revoked

2015-05-29 Thread Simo Sorce
by that other replica, restart all IPA components and make sure a round of replication happens. Then restore the krb5.conf file and restart all. > > Or it is better to destroy it and do a new install? > > That may be even faster for the making that particular replica up and running > a

Re: [Freeipa-users] sssd not caching public keys in sss_authorized_keys file

2015-06-03 Thread Simo Sorce
0 Jun 2 16:05 known_hosts > drwxr-xr-x 2 root root 4096 May 28 01:13 krb5.include.d > [root@ipaclient pubconf]# > > So... I am still looking for the actual location on disk that this is > apparently being cached and cannot find it. You won't find a "file" because

Re: [Freeipa-users] OTP - Google Authenticator - iPhone - Invalid barcode

2015-06-13 Thread Simo Sorce
. I think we have a report about the "case" used to generate some algorithm names, that get embedded in the QR code: https://fedorahosted.org/freeipa/ticket/5047 It may be the same issue here. Simo. -- Simo Sorce * Red Hat, Inc * New York -- Manage your subscription for the Freei

Re: [Freeipa-users] stickybits and freeipa

2015-06-15 Thread Simo Sorce
volved that is causing you trouble. Simo. -- Simo Sorce * Red Hat, Inc * New York -- Manage your subscription for the Freeipa-users mailing list: https://www.redhat.com/mailman/listinfo/freeipa-users Go to http://freeipa.org for more info on the project

Re: [Freeipa-users] stickybits and freeipa

2015-06-16 Thread Simo Sorce
ction(PSTRING const &, PSTRING const &, > int, JSTRING const &) () > #23 0x08059106 in EXCO::Initiate(void) () > #24 0x0805a355 in EXCO::Edit(void) () > #25 0x080544f5 in main () > > // Richard > > 2015-06-15 15:34 skrev Simo Sorce: > > On Sun, 2015-06-14 at 20

Re: [Freeipa-users] Cannot login with GSSAPI to IPA client

2015-06-17 Thread Simo Sorce
@ipadomain.net > kvno: Credentials cache file '/tmp/krb5cc_0' not found while getting > client principal name > [root@fe1 home]# kinit username > Password for usern...@ipadomain.net: > [root@fe1 home]# kvno host/fe1.ipadomain@ipadomain.net > host/fe1.ipadomain@ipadomain.net: kvno = 1 This is normal, you can obtain a ticket (that's what kvno does) only if you have a TGT (which is stored in the Credentials Cache). Simo. -- Simo Sorce * Red Hat, Inc * New York -- Manage your subscription for the Freeipa-users mailing list: https://www.redhat.com/mailman/listinfo/freeipa-users Go to http://freeipa.org for more info on the project

Re: [Freeipa-users] Issues

2015-06-18 Thread Simo Sorce
or: > CA did not start in 300.0s > > > I've modified the > /usr/lib/python2.7/site-packages/ipaplatform/redhat/services.py to > increase the timeout value, but no luck. > > Suggestions? What pki-base package version do you have installed ? Simo. -- Simo Sorc

Re: [Freeipa-users] Issues

2015-06-18 Thread Simo Sorce
On Thu, 2015-06-18 at 10:47 -0500, James Benson wrote: > Freeipa 4.1.4 Please run rpm -qi pki-base > On 06/18/2015 10:28 AM, Simo Sorce wrote: > > On Thu, 2015-06-18 at 10:08 -0500, James Benson wrote: > >> Hi all, > >> I'm a fairly advanced user, how

Re: [Freeipa-users] ipa schema-compat, DIT view and replication

2015-06-19 Thread Simo Sorce
; Rather, it is a virtual view of some other data in the directory. > > -- > / Alexander Bokovoy > What this means is that you need to explicitly turn on schema compat on each server you want to use to serve it. Simo. -- Simo Sorce * Red Hat, Inc * New York -- Manage your subscription for the Fre

Re: [Freeipa-users] question on Active Directory and FreeIPA

2015-06-19 Thread Simo Sorce
r requirements? > > With the recent 'views' feature, you can set POSIX attributes for IPA > users without touching the AD LDAP schema, even per-host. Just for clarity: note that use of these features will require an upgrade of your server to the latest Centos 7.2 (whe

Re: [Freeipa-users] Installing replica w/o CA?

2015-06-19 Thread Simo Sorce
p the 3rd replica agreements with the first after you create agreements that connect the third to the second. Simo. -- Simo Sorce * Red Hat, Inc * New York -- Manage your subscription for the Freeipa-users mailing list: https://www.redhat.com/mailman/listinfo/freeipa-users Go to http://freeipa.org for more info on the project

Re: [Freeipa-users] hesitate to deploy freeipa

2015-06-25 Thread Simo Sorce
u are not alone and can share experiences, ask for help and in general get up to speed with various parts of the infrastructure as you need it, not being forced to know everything like a pro before even starting. This is my humble opinion. Simo. -- Simo Sorce * Red Hat, Inc * New York -- Manage y

Re: [Freeipa-users] Using FreeIPA OTP in a PAM module

2015-06-30 Thread Simo Sorce
ation is > not aware of the service used. If e.g. OTP was used to just get a > response from some unprotected and unprivileged service the intercepted > password can be used to log in with ssh as well. So I guess we need a > careful discussion here. The solution for this environments already exists and it is called GSSAPI. You can obtain a ticket with 2FA and then use your TGT for 10 or more hours. There is no need to invent broken ways to skip two factor auth when we already have a way to make this easy *and* secure. Simo. -- Simo Sorce * Red Hat, Inc * New York -- Manage your subscription for the Freeipa-users mailing list: https://www.redhat.com/mailman/listinfo/freeipa-users Go to http://freeipa.org for more info on the project

Re: [Freeipa-users] keytab issue with service principal

2015-06-30 Thread Simo Sorce
s > a freeipa user with valid kerberos ticket it appears to work fine though. I > cannot get it working from a remote client however. Is this error a red > herring or should I be concerned about this? kvno and klist show same number. What's the output of klist -kt /opt/oracle/ad

Re: [Freeipa-users] keytab issue with service principal

2015-06-30 Thread Simo Sorce
06/30/15 17:12:13 oracledb/oracledbsrvr.example@example.com >2 06/30/15 17:12:13 oracledb/oracledbsrvr.example@example.com >2 06/30/15 17:12:13 oracledb/oracledbsrvr.example@example.com > From: Simo Sorce > To: sipazzo > Cc: Freeipa-users > Sent: Tuesda

Re: [Freeipa-users] samba vs ipa without kerberos

2015-07-03 Thread Simo Sorce
(have ipa 4.1 and samba 4.1.12 here) > > Greetz > Christoph Kaminski > -- Simo Sorce * Red Hat, Inc * New York -- Manage your subscription for the Freeipa-users mailing list: https://www.redhat.com/mailman/listinfo/freeipa-users Go to http://freeipa.org for more info on the project

Re: [Freeipa-users] strange password error..

2015-07-06 Thread Simo Sorce
using kpasswd it may happen if a re-transmission occurs, as kpasswd uses UDP, so the second request ends up with that error, I think, not 100% sure. Simo. -- Simo Sorce * Red Hat, Inc * New York -- Manage your subscription for the Freeipa-users mailing list: https://www.redhat.com/mailman/

Re: [Freeipa-users] adding freeipa client fails

2015-07-09 Thread Simo Sorce
/sssd/sssd.conf was moved > to /etc/sssd/sssd.conf.deletedSSSD service could not be stoppedRestoring > client configuration filesnscd daemon is not installed, skip > configurationnslcd daemon is not installed, skip > configuration/etc/ipa/default.conf could not be removed: [Errno 2

Re: [Freeipa-users] KRA? 4.2?

2015-07-10 Thread Simo Sorce
Dogtag project component that implements the secure storage for the Vault feature. HTH, Simo. -- Simo Sorce * Red Hat, Inc * New York -- Manage your subscription for the Freeipa-users mailing list: https://www.redhat.com/mailman/listinfo/freeipa-users Go to http://freeipa.org for more info on the project

Re: [Freeipa-users] FreeIPA certificate for Outlook

2015-08-18 Thread Simo Sorce
ell me the correct file? > > > > Thanks for a answer > > > > -- > > > > mit freundlichen Grüssen / best regards, > > > > Günther J. Niederwimmer > > > > > > > Hi, > > IPA CA certificate is located here /etc/ipa/ca.crt on serv

Re: [Freeipa-users] freeipa on http?

2015-08-18 Thread Simo Sorce
On Tue, 2015-08-18 at 18:01 -0400, Simo Sorce wrote: > The load balancer would have to have the exact same name (for the > clients) as the IPA server, which may be challenging depending on the > network configuration you have. More on that issue here: http://ssimo.org/blog/id_019.html

Re: [Freeipa-users] freeipa on http?

2015-08-18 Thread Simo Sorce
t;> not redirect to https? Reason is simple - offloading SSL to a load > >> balancer on the front end. (this is for web only, not the LDAP or > >> Kerberos) > >> > >> Thank you > >> ~J > >> > > > > You could try disabling t

Re: [Freeipa-users] freeipa on http?

2015-08-18 Thread Simo Sorce
you. There is still the problem of the referer, but should be easy to fix with a rewrite rule. Simo. > ~J > > On 8/18/15 3:02 PM, Simo Sorce wrote: > > On Tue, 2015-08-18 at 18:01 -0400, Simo Sorce wrote: > >> The load balancer would have to have the exact same name (

Re: [Freeipa-users] FreeIPA user Home Directory Permission Issue

2015-08-23 Thread Simo Sorce
*RHCE, VCE-CIA, RACKSPACE CLOUD U Certified* > > > > <https://www.fb.com/yks> <http://in.linkedin.com/in/yks> > > <https://twitter.com/checkwithyogesh> > > <http://google.com/+YogeshSharmaOnGooglePlus> > > -- Simo Sorce * Red Hat, Inc * New York -- Manage your subscription for the Freeipa-users mailing list: https://www.redhat.com/mailman/listinfo/freeipa-users Go to http://freeipa.org for more info on the project

Re: [Freeipa-users] FreeIPA user Home Directory Permission Issue

2015-08-25 Thread Simo Sorce
anpage which will tell you that the way you are specifying the umask is incorrect :-) Hint: see oddjob-mkhomedir.conf HTH, Simo. -- Simo Sorce * Red Hat, Inc * New York -- Manage your subscription for the Freeipa-users mailing list: https://www.redhat.com/mailman/listinfo/freeipa-users Go to http

Re: [Freeipa-users] AD trust deployment without IPA authority over reverse lookup zone

2015-08-25 Thread Simo Sorce
e authoritative at the > >> same time as AD. (Neither we support IPA being a slave for other DNS > >> server). > >> > >>> 3) Have the IPA manage the forward zone (linux.corp.com), and have the > >>> clients update its own A record automatically

Re: [Freeipa-users] stubborn old replicas

2015-08-26 Thread Simo Sorce
} 5587c5c30003 55b8a04900010003 > unable to decode: {replica 5} 55cc82ab041d0005 55cc82ab041d0005 Have you tried restarting DS before trying to clean the ruv ? I run in a similar problem in a test install recently, and I got better results that way. The bug is known to th

Re: [Freeipa-users] GSSAPI authentication for libvirt VNC

2015-09-05 Thread Simo Sorce
> > -- > > > >3 30/08/2015 15:50:36 libvirt/nice-hkvm-ctrl > > -01.core.nice.cloud.oliv > > arim@cloud.olivarim.com (aes256-cts-hmac-sha1-96) > >3 30/08/2015 15:50:36 libvirt/nice-hk

Re: [Freeipa-users] ipa-client-install not creating reverse DNS entries

2015-09-11 Thread Simo Sorce
ds ? There is a global DNS option (As awell as per-zone setting) called "Allow PTR Sync" you may want to enable. -- Simo Sorce * Red Hat, Inc * New York -- Manage your subscription for the Freeipa-users mailing list: https://www.redhat.com/mailman/listinfo/freeipa-users Go to http://fre

Re: [Freeipa-users] User, keytab, password and ldap

2015-09-24 Thread Simo Sorce
sing ipa-getkeytab -P, if it is not, please file a bug. Simo. -- Simo Sorce * Red Hat, Inc * New York -- Manage your subscription for the Freeipa-users mailing list: https://www.redhat.com/mailman/listinfo/freeipa-users Go to http://freeipa.org for more info on the project

Re: [Freeipa-users] password resets - errors

2015-09-28 Thread Simo Sorce
e to disable clients from using UDP completely, although I am not 100% certain this will avoid the problem, IIRC at least in some versions the client library would retry after 1 second even on TCP. Simo. -- Simo Sorce * Red Hat, Inc * New York -- Manage your subscription for the Freeipa-users

Re: [Freeipa-users] What todo when a company/domain name should be changed ?

2015-09-30 Thread Simo Sorce
not be able to share the same DNS namespace). HTH, Simo. http://www.freeipa.org/page/Howto/Migration#Migrating_from_other_FreeIPA_to_FreeIPA Lenka was already investigating https://fedorahosted.org/freeipa/ticket/3656, so some updates may happen. -- Simo Sorce * Red Hat, Inc * New York

Re: [Freeipa-users] HBAC

2015-10-01 Thread Simo Sorce
IDM are so closely coupled, for someone who requires HBAC, the choice is either take both SSSD and IDM or neither. So other solutions are being explored instead. Do these reasons make sense as to why I posted the original ask? When SSSD is integrated directly in AD you can use Group Pol

Re: [Freeipa-users] Trust Issues W/ Logins on Windows Desktops

2015-10-01 Thread Simo Sorce
ames, so looking at file permissions you will not be able to see user names, but only SIDs for IPA users. Some tools that may depend on SID->Name translation may also fail in unexpected ways. This is why we do not recommend to try this, but it is technically possible if you know very well how to

Re: [Freeipa-users] Trust Issues W/ Logins on Windows Desktops

2015-10-02 Thread Simo Sorce
On 02/10/15 04:06, Alexander Bokovoy wrote: On Thu, 01 Oct 2015, Simo Sorce wrote: On 01/10/15 03:15, Petr Spacek wrote: On 30.9.2015 20:36, Matt Wells wrote: Hi all, I hoped I may glean some brilliance from the group. I have a Freeipa Server sitting atop a Fedora 21 server. The initial plan

Re: [Freeipa-users] Cannot connect to FreeIPA web UI anymore

2015-10-02 Thread Simo Sorce
mailing list: https://www.redhat.com/mailman/listinfo/freeipa-users Go to http://freeipa.org for more info on the project -- / Alexander Bokovoy -- Simo Sorce * Red Hat, Inc * New York -- Manage your subscription for the Freeipa-users mailing list: https://www.redhat.com/mailman/listinfo/free

Re: [Freeipa-users] What causes the web ui to display a second login dialog ?

2016-06-23 Thread Simo Sorce
should land in RHEL7.3 and hopefully make it easier to deal with this problem. https://fedorahosted.org/freeipa/ticket/5614 Simo. -- Simo Sorce * Red Hat, Inc * New York -- Manage your subscription for the Freeipa-users mailing list: https://www.redhat.com/mailman/listinfo/freeipa-users Go to ht

Re: [Freeipa-users] Best practices on enrolling existing hosts.

2016-06-30 Thread Simo Sorce
uide/id-views.html Also here: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Windows_Integration_Guide/id-views.html note that ID Views are not confined just to AD trust environments this second doc is just to have a wider view of the feature. HTH, Simo. -- Simo Sorce * Red

Re: [Freeipa-users] FreeIPAv3 and SSSD // Disable automatic Kerberos authentication

2016-06-30 Thread Simo Sorce
he affected users can add something like: > > > >export KRB5CCNAME=$HOME/my_cc_cache > ^ > Is FILE: considered as default or it need to be > written as well for KRB5CCNAME If no ccache type is specified the krb5 libs default to the FILE ccache type. Simo. -- Simo Sorce * Red Hat, Inc * New York -- Manage your subscription for the Freeipa-users mailing list: https://www.redhat.com/mailman/listinfo/freeipa-users Go to http://freeipa.org for more info on the project

Re: [Freeipa-users] Replicating users/groups from AD

2016-07-22 Thread Simo Sorce
te to the coexistence of FreeIPA and AD in a single DNS domain. Simo. -- Simo Sorce * Red Hat, Inc * New York -- Manage your subscription for the Freeipa-users mailing list: https://www.redhat.com/mailman/listinfo/freeipa-users Go to http://freeipa.org for more info on the project

Re: [Freeipa-users] Replicating users/groups from AD

2016-07-25 Thread Simo Sorce
take it away. Simo. > --David Alston > > -Original Message- > From: Simo Sorce [mailto:s...@redhat.com] > Sent: Friday, July 22, 2016 10:49 AM > To: Alston, David > Cc: freeipa-users@redhat.com > Subject: Re: [Freeipa-users] Replicating users/

Re: [Freeipa-users] IPAv3.0 WebUI User Population

2016-08-03 Thread Simo Sorce
th on RHEL6.8) > > Then please provide all objectclasses that have a random imported user > > regards > Martin > > > I apologize if this has already been answered, I tried google-fu and it > didn't return anything useful. > Using IPA 3.0 on Redhat 6.8 > >

Re: [Freeipa-users] FreeIPA and AD trusts on the same DNS domain

2016-08-03 Thread Simo Sorce
ipa-users > Go to http://freeipa.org for more info on the project You can have a Realm named COMPANY.COM (AD) and a Realm named FREEIPA.COMPANY.COM (IPA), as long as the AD Servers never had computer objects or subdomains in the DNS domain freeipa.company.com in it. If that's the case you can creat

Re: [Freeipa-users] FreeIPA and AD trusts on the same DNS domain

2016-08-03 Thread Simo Sorce
re by providing a GC service. HTH, Simo. -- Simo Sorce * Red Hat, Inc * New York -- Manage your subscription for the Freeipa-users mailing list: https://www.redhat.com/mailman/listinfo/freeipa-users Go to http://freeipa.org for more info on the project

Re: [Freeipa-users] FreeIPA and AD trusts on the same DNS domain

2016-08-04 Thread Simo Sorce
). No you can't have this (if you want SSO and avoid headaches in general) no matter what you do. You have to keep server names on separate (sub)domains. In some cases you can use CNAMEs though. > Also, thanks for your other answers. They were very helpful :^) You are welcome, S

Re: [Freeipa-users] IPA port 80

2016-08-31 Thread Simo Sorce
? Has anyone attempted not opening port > 80 from IPA Server to IPA Server and clients to IPA server? > ipa-server-3.0.0-50.el6.1.x86_64 Port 80 is not required, the only thing you'll find there is a redirect to the HTTPS port. Simo. -- Simo Sorce * Red Hat, Inc * New York -- Manage

Re: [Freeipa-users] IPA port 80

2016-09-01 Thread Simo Sorce
On Thu, 2016-09-01 at 09:33 +1000, Peter Fern wrote: > On 01/09/16 08:35, Simo Sorce wrote: > > Port 80 is not required, the only thing you'll find there is a redirect > > to the HTTPS port. > > What about CRL/OCSP (and possibly others)? The Apache configs > explic

Re: [Freeipa-users] Why does a SAN field on a CSR require a host to be in IPA?

2016-10-25 Thread Simo Sorce
red valid. > >> > Not a bad thing, IMO. > >> > > >> > All this said, I think there is a valid RFE in allowing Kerberos > >> > principal aliases to be consulted when validating a CSR. This would > >> > mean you do not have to create new objects, just add more principal > >> > names to the existing one. I filed a ticket: > >> > > >> > https://fedorahosted.org/freeipa/ticket/6432 > >> > > >> > Alexander, Simo, what do you think? > >> Certainly principal aliases should be checked if they were asked to be > >> in SAN. The question is what type of the SAN extension should be > >> considered for them in addition to Kerberos principal. The aliases are > >> stored in their full format (alias@REALM), so either you need to do full > >> match or consider dropping the realm for some types. This needs to be > >> clarified before any implementation happens. > >> > >Right, UPN and KR5PrincipalName can be checked as-is. > > > >We should check dnsNames by affixing around the dnsName the same > >service type (e.g. `HTTP') and realm as the nominated principal, and > >looking for that in the aliases. e.g. for nominated principal > >`HTTP/web.example@example.com', if there is a SAN dnsName > >`www.example.com', we look for `HTTP/www.example@example.com' in > >its aliases. > > > >Does this sound reasonable? > > > >No other GeneralName types shall be checked against principal > >aliases, unless/until we support SRVName. > Sounds reasonable for me, thanks. +1 Simo. -- Simo Sorce * Red Hat, Inc * New York -- Manage your subscription for the Freeipa-users mailing list: https://www.redhat.com/mailman/listinfo/freeipa-users Go to http://freeipa.org for more info on the project

Re: [Freeipa-users] free-ipa 389 own schema, cos, static and dynamic groups

2016-10-25 Thread Simo Sorce
h was a pretty complex product but > gave the user lots of possible customizations of the web ui and > included workflows. Is that possible with ipa also? With the latest FreeIPA versions it is possible to write plugins to extend the Web UI, we are working on making it more straightforward, b

Re: [Freeipa-users] PWM password self-service integration with FreeIPA

2016-10-25 Thread Simo Sorce
t and not just give it blanket access to read everything from the directory and write every password, you should limit it to users for example and not allow it to change service's or host's "passwords". Simo. -- Simo Sorce * Red Hat, Inc * New York -- Manage your subscriptio

Re: [Freeipa-users] Would fixing hosts file break kerberos

2016-11-18 Thread Simo Sorce
ond should "fix" them ... unless you depended on the incorrect configuration in some way ... -- Simo Sorce * Red Hat, Inc * New York -- Manage your subscription for the Freeipa-users mailing list: https://www.redhat.com/mailman/listinfo/freeipa-users Go to http://freeipa.org for more info on the project

Re: [Freeipa-users] where to put computer accounts... ?

2016-11-24 Thread Simo Sorce
r its own computer account I would think of adding it to the local user database, if you have to distribute it via LDAP you'll have to create actual user accounts ion the directory I guess. Simo. -- Simo Sorce * Red Hat, Inc * New York -- Manage your subscription for the Freeipa-us

Re: [Freeipa-users] FreeIPA behind Apache Reverse Proxy and Load Balancer

2016-11-28 Thread Simo Sorce
istribute it to both server's http keytab so they can decrypt incoming requests. However your load balancer then also needs to stick with one server for all requests coming from the same client, because we use session cookies to maintain authentication and we do not share them between serv

Re: [Freeipa-users] Clonning VM

2016-11-28 Thread Simo Sorce
-uninstall) and then re-join after. Simo. -- Simo Sorce * Red Hat, Inc * New York -- Manage your subscription for the Freeipa-users mailing list: https://www.redhat.com/mailman/listinfo/freeipa-users Go to http://freeipa.org for more info on the project

Re: [Freeipa-users] How to enable anonymous pkinit on FreeIPA 4.3.1 on Ubuntu ?

2016-11-29 Thread Simo Sorce
pal: Server error while creating "WELLKNOWN/anonym...@pan-net.eu". > kadmin.local: Whether the principal has keys or not doesn't matter, pkinit pre-authentication ignores the keys anyway. > I've also tried all the above when the user's krb5.conf "realm&qu

Re: [Freeipa-users] FreeIPA, Ipsilon, Duo Security integration

2016-12-01 Thread Simo Sorce
in with Ipsilon and > FreeIPA... Has anyone else tried this before? If so, are there any > pitfalls or problems you have encountered or any general advise? I think there are issues with the workflow Duo requires and the latency (sending token via SMS and waiting for user to input). Simo. -- Simo

[Freeipa-users] Reverting anonymous posting

2016-12-07 Thread Simo Sorce
Enough people complained they cannot cope with the change I made recently. So I am reverting this change and will try to find a better solution for the spam issue the list user's are subject to. Thanks for your understanding, Simo. -- Simo Sorce * Red Hat, Inc * New York -- Manage

Re: [Freeipa-users] FreeIPA behind Apache Reverse Proxy and Load Balancer

2016-12-08 Thread Simo Sorce
Sorry David, it is not clear to me what you are objecting to, please be more specific or quote the specific part of my previous reply that you find questionable. Simo. -- Simo Sorce * Red Hat, Inc * New York -- Manage your subscription for the Freeipa-users mailing list: https://www.redhat

Mailing list probe - 8ea5b442e62392e06c5557b2d17219ea

2016-12-08 Thread Simo Sorce
This is an automated message to probe our subscribers email address, in order to pinpoint the bot harvesting our emails. Please disregard. Freeipa-users list administrators.

[Freeipa-users] Change in list archives accessibility

2016-12-12 Thread Simo Sorce
Dear freeipa-users, in an attempt to identify how the recent wave of spamming activity targets mailing list posters, I have temporarily disabled free access to the archives. This is not a permanent change and public access will be restored shortly. Regards, Simo. -- Simo Sorce * Red Hat, Inc

Re: [Freeipa-users] Change in list archives accessibility

2016-12-14 Thread Simo Sorce
On Mon, 2016-12-12 at 05:04 -0500, Simo Sorce wrote: > Dear freeipa-users, > in an attempt to identify how the recent wave of spamming activity > targets mailing list posters, I have temporarily disabled free access to > the archives. > This is not a permanent change and public

Re: [Freeipa-users] FreeIPA and vSphere

2016-12-14 Thread Simo Sorce
e to a proper database backend in a separate 389-ds > instance. Yes it is definitely a bug, but not an easy fix, please do file a bug, however it will take some time before we can fix it. Simo. -- Simo Sorce * Red Hat, Inc * New York -- Manage your subscription for the Freeipa-users mailing list: https://www.redhat.com/mailman/listinfo/freeipa-users Go to http://freeipa.org for more info on the project

Re: [Freeipa-users] ipa-dnskeysyncd ipa : ERROR Login to LDAP server failed: {'desc': 'Invalid credentials'}

2016-12-22 Thread Simo Sorce
e problem. Interestingly the LDAP > server should use the ds.keytab file instead of krb5.keytab. > > We need someone from DS team of with deep Kerberos/gssproxy knowledge to look > into it. > > Simo, Ludwig, how can this happen? As Martin said, incorrect configuration of DS makes

Re: [Freeipa-users] NTLM SASL?

2016-12-22 Thread Simo Sorce
ser you want to authenticate, and none of that is set up by default. We are planning to enable the integrated Samba server (which is used for trusts only at the moment) to provide NTLM services for radius servers, but it is not ready yet, although you may try to experiment with it. Simo. -- Simo Sorce * Red Hat, Inc * New York -- Manage your subscription for the Freeipa-users mailing list: https://www.redhat.com/mailman/listinfo/freeipa-users Go to http://freeipa.org for more info on the project

Re: [Freeipa-users] sssd doesn't cache, as it seems

2017-01-20 Thread Simo Sorce
Jessie with sssd 1.13.4. > > > sssd.conf is attached, of course. Every helpful comment is highly > appreciated. > > Harri > -- > Manage your subscription for the Freeipa-users mailing list: > https://www.redhat.com/mailman/listinfo/freeipa-users > Go to http:

Re: [Freeipa-users] SAML 2.0 support

2014-04-09 Thread Simo Sorce
is still in development, so it may take a little while to mature, but should be usable shortly. Simo. -- Simo Sorce * Red Hat, Inc * New York ___ Freeipa-users mailing list Freeipa-users@redhat.com https://www.redhat.com/mailman/listinfo/freeipa-users

Re: [Freeipa-users] SAML 2.0 support

2014-04-09 Thread Simo Sorce
On Wed, 2014-04-09 at 15:20 +0200, Petr Spacek wrote: > On 9.4.2014 15:15, Simo Sorce wrote: > > On Wed, 2014-04-09 at 13:05 +, Ondrej Valousek wrote: > >> Hi List, > >> Quick question, is something like SAML 2.0 support planned for IPA to help > >&

Re: [Freeipa-users] External Collaboration Domains

2014-04-11 Thread Simo Sorce
s would allow SSO, we could store a cookie with the user's name from the Idp, so that if the user uses always the same browser it may be automatically chained to its Idp of origin, otherwise at least a username or password will have to be provided by the user. > It is indeed a bit down the r

Re: [Freeipa-users] External Collaboration Domains

2014-04-14 Thread Simo Sorce
m is that keytab received by user has to be short-lived. For > example, IdP could generate a new random password for user principal 1 minute > after sending keytab to the user. > > This could work if the whole process should be automated. http://www.umich.edu/~x509/ I already have a plan to implement this in Ipsilon eventually :-) > Is seems that variant (B) should be really simple to code/script when we have > SAML/OpenID capable IdP. It can be done indeed. Simo. -- Simo Sorce * Red Hat, Inc * New York ___ Freeipa-users mailing list Freeipa-users@redhat.com https://www.redhat.com/mailman/listinfo/freeipa-users

Re: [Freeipa-users] FreeIPA backend. Mavericks server shows UIDs instead of usernames in File Sharing.

2014-04-15 Thread Simo Sorce
ns to push to enable the service. I am not a Mac expert by a long shot so I cannot help you much here. Is there any guide available on how to use this service with other LDAP servers, like openLDAP or Active Directory ? We can probably draw some conclusions from there. Simo. -- Simo Sorce * R

Re: [Freeipa-users] PasswordAuthentication option for SSH

2014-04-16 Thread Simo Sorce
> security issues. > > > Is it really necessary to have this option set to yes when using > Keberos authentication? No, GSSAPI authentication does not need PasswordAuthentication, of course it requires valid kerberos credentials on the client and a valid keytab on the server. Sim

Re: [Freeipa-users] Running a FreeIPA replica in a limited-resource environment

2014-04-16 Thread Simo Sorce
ssd on the system. Using password based authentication via pam/sssd would allow sssd to cache password hashes of the users and allow authentication even when the VPN link fails and would be much more lightweight. HTH, Simo. -- Simo Sorce * Red Hat, Inc * New York ___

[Freeipa-users] [SOLVED] Re: FreeIPA backend. Mavericks server shows UIDs instead of usernames in File Sharing.

2014-04-16 Thread Simo Sorce
_bind_script/Mac_OpenLDAP_bind_script.sh, > which gave me the idea of > updating the RealName mapping to displayName. This solved the problem, I'll > have to recreate the permissions for every share, but the user names now > show up, and stick. No more UIDs. > > > On Tu

Re: [Freeipa-users] Keberos authentication - Unspecified GSS failure

2014-04-16 Thread Simo Sorce
host/... > > > > kvno -k /etc/krb5.keytab host/... > > host/...: kvno = 1, keytab entry valid > > > > So the Kerberos setup on the machine seems to be fine, but still the > > login SSH using Keberos is not working. GSSAPI is correctly enabled in > > the sshd

Re: [Freeipa-users] Keberos authentication - Unspecified GSS failure

2014-04-18 Thread Simo Sorce
rvice principal > > 04/16/14 23:24:51 04/17/14 23:24:47 krbtgt/... > > 04/16/14 23:25:51 04/17/14 23:24:47 host/... > > > > kvno -k /etc/krb5.keytab host/... > > host/...: kvno = 1, keytab entry valid > > > > So the Kerberos setup on the machine seems to be fine, but still the > > login SSH using Keberos is not working. GSSAPI is correctly enabled in > > the sshd configuration file. Any hint is highly appreciated. Thanks. > > > > Seems like sshd looked for the wrong key. Run klist -kt /etc/krb5.keytab > and see what principal is there. sshd didn't look for a FQDN according > to your log. > > rob > > > ___ > Freeipa-users mailing list > Freeipa-users@redhat.com > https://www.redhat.com/mailman/listinfo/freeipa-users -- Simo Sorce * Red Hat, Inc * New York ___ Freeipa-users mailing list Freeipa-users@redhat.com https://www.redhat.com/mailman/listinfo/freeipa-users

Re: [Freeipa-users] Root certificates

2014-04-20 Thread Simo Sorce
? > >> > > > > All you need to do is installing http://ipaserver/ipa/config/ca.crt . > > Brilliant! Thanks. The FreeIPA certificate is also available on each freeipa client in /etc/ipa/ca.crt, it is downloaded there securely so you know it is

<    1   2   3   4   5   6   7   8   9   >