<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Thanks jhrozek, I have already seen it and applied to my IPA server, but it didn't have any significant impact, at least for AD users. In krb5kdc log, when I try to login with an IPA user in Windows, I can see the next:<br><br>Feb 05 17:52:12 master.ipa.ad.example.com krb5kdc[14081](info): AS_REQ (6 etypes {18 17 23 24 -135 3}) 172.19.21.37: NEEDED_PREAUTH: ipa.user@IPA.AD.EXAMPLE.COM for krbtgt/IPA.AD.EXAMPLE.COM@IPA.AD.EXAMPLE.COM, Additional pre-authentication required<br>Feb 05 17:52:12 master.ipa.ad.example.com krb5kdc[14081](info): closing down fd 12<br>Feb 05 17:52:12 master.ipa.ad.example.com krb5kdc[14081](info): AS_REQ (6 etypes {18 17 23 24 -135 3}) 172.19.21.37: ISSUE: authtime 1454716332, etypes {rep=18 tkt=18 ses=18}, ipa.user@IPA.AD.EXAMPLE.COM for krbtgt/IPA.AD.EXAMPLE.COM@IPA.AD.EXAMPLE.COM<br>Feb 05 17:52:12 master.ipa.ad.example.com krb5kdc[14081](info): closing down fd 12<br>Feb 05 17:52:12 master.ipa.ad.example.com krb5kdc[14081](info): TGS_REQ (5 etypes {18 17 23 24 -135}) 172.19.21.37: ISSUE: authtime 1454716332, etypes {rep=18 tkt=18 ses=18}, ipa.user@IPA.AD.EXAMPLE.COM for krbtgt/AD.EXAMPLE.COM@IPA.AD.EXAMPLE.COM<br>Feb 05 17:52:12 master.ipa.ad.example.com krb5kdc[14081](info): closing down fd 12<br>Feb 05 17:58:45 master.ipa.ad.example.com krb5kdc[14081](info): TGS_REQ (5 etypes {18 17 23 24 -135}) 172.19.21.37: ISSUE: authtime 1454716332, etypes {rep=18 tkt=18 ses=18}, ipa.user@IPA.AD.EXAMPLE.COM for cifs/master.ipa.ad.example.com@IPA.AD.EXAMPLE.COM<br>Feb 05 17:58:45 master.ipa.ad.example.com krb5kdc[14081](info): closing down fd 12<br>Feb 05 17:58:47 master.ipa.ad.example.com krb5kdc[14081](info): TGS_REQ (5 etypes {18 17 23 24 -135}) 172.19.21.37: LOOKING_UP_SERVER: authtime 0,  ipa.user@IPA.AD.EXAMPLE.COM for ProtectedStorage/master.ipa.ad.example.com@IPA.AD.EXAMPLE.COM, Server not found in Kerberos database<br>Feb 05 17:58:47 master.ipa.ad.example.com krb5kdc[14081](info): closing down fd 12<br><br><br>In Windows, I can't find something related.<br><br>Any other suggestion?<br><br><br><div>> Date: Fri, 5 Feb 2016 09:33:25 +0100<br>> From: jhrozek@redhat.com<br>> To: freeipa-users@redhat.com<br>> Subject: Re: [Freeipa-users] IPA-AD Login<br>> <br>> On Thu, Feb 04, 2016 at 01:15:17PM -0600, Alan P wrote:<br>> > Hi, <br>> > <br>> > I just configured a trust between an IPA and an Active Directory to authenticate IPA users in Windows machines joined in AD domain. The login is successfull, but only after several minutes (nearly 25 minutes) in the first attempt; in the next attempts, the required time goes from 5 to 10 min. So, what can I do to reduce the time to something more acceptable? (For reference, when an AD user authenticates it only takes 10 seconds or less).<br>> > <br>> > My environment is:<br>> > <br>> > IPA server 4.2.0-15 in a RHEL 7.2<br>> > IPA domain is a subdomain of AD (like ad.example.com and ipa.ad.example.com)<br>> > There are, right now, a few users but is planed to manage more than 10,000<br>> > The trust was configured as "two way"<br>> > <br>> > AD is in a Windows Server 2012<br>> > It has the root domain<br>> > I  made a domain delegation, so AD is authoritative for ad.example.com and IPA, for ipa.ad.example.com<br>> > All windows client machines are joined here<br>> > There are a few users, but they are only for test purposes<br>> > <br>> > The authentication in a windows client is:<br>> > user: IPA.AD.EXAMPLE.COM\ipa.user<br>> > pass: ipa user pass<br>> > <br>> > >From IPA console I can make kinit user.ad@AD.EXAMPLE.COM with no problem.<br>> <br>> Please see:<br>>     https://jhrozek.wordpress.com/2015/08/19/performance-tuning-sssd-for-large-ipa-ad-trust-deployments/<br>> <br>> We're working on sssd performance fixes for the next version (1.14, will<br>> be in RHEL-7.3)<br>> <br>> -- <br>> Manage your subscription for the Freeipa-users mailing list:<br>> https://www.redhat.com/mailman/listinfo/freeipa-users<br>> Go to http://freeipa.org for more info on the project<br></div>                                           </div></body>
</html>