In Step 1 the keytab and krb5.conf files need to be edited if the Active Directory instance is in a separate domain.
-
The
keytabfile can be configured to refer to an Active Directory instance in a separate domain if necessary.For example:
ktpass -princ HTTP/alfresco.example.com@AD-SSO.EXAMPLE.COM -pass PASSWORD -mapuser ad-sso\httpsalfresco -crypto all -ptype KRB5_NT_PRINCIPAL -out c:\temp\httpalfresco.keytab -kvno 0Where
alfresco.example.comis the load balancer address,AD-SSO.EXAMPLE.COMis the domain of the Active Directory instance andad-ssois thedomainnetbiosof the Active Directory instance. -
The
krb5.confuses the internal IP address of the Active Directory container.For example:
[libdefaults] default_realm = AD-SSO.EXAMPLE.COM default_tkt_enctypes = rc4-hmac default_tgs_enctypes = rc4-hmac [realms] AD-SSO.EXAMPLE.COM = { kdc = ec2amaz-5gk9lmd.ad-sso.example.com } [domain_realm] ec2amaz-5gk9lmd.ad-sso.example.com = AD-SSO.EXAMPLE.COM .ec2amaz-5gk9lmd.ad-sso.example.com = AD-SSO.EXAMPLE.COM