Setup the Active Directory Domain Controller server, AX Server, and the desktop environment for each client application end user to configure Integrated Windows Authentication. Integrated Windows Authentication enables single sign-on access control for AX Client users.
Note
Integrated Windows Authentication is not supported for instances of AX Client running on the server's operating system. You must be connecting from a client operating system otherwise the application defaults to form-based authentication.
Integrated Windows Authentication uses the security features of Windows clients and servers. It does not prompt users for a user name and password, and the current Windows user information on the client computer is supplied by the web browser through a cryptographic exchange. The following protocols are used to manage authentication:
If the authentication exchange initially fails to identify the user, the web browser will prompt the user for a Windows user account user name and password.
Create a new Windows Service Principal Name (SPN) account in Active Directory to map the AX Server authentication service to an Active Directory account.
Map the AX Server authentication service to the Active Directory SPN account using the ktpass command.
The default location is c:\Program Files\Support Tools.
ktpass /out filename /princ name /pass password /mapuser local_username /ptype principal_type /crypto encryption_type
For ktpass syntax, see Microsoft Ktpass reference.
ktpass /out 'C:\ax.keytab' /princ HTTP/axserver.ax.com@AX.COM /pass pass1234 /mapuser AXSSO /ptype KRB5_NT_PRINCIPAL /crypto RC4-HMAC-NT
Register an SPN for the AX Connector service using the setspn command.
The default location is c:\Program Files\Support Tools.
setspn -A ACLSE/full_domain_and_servername computer_name
Note
ACLSE is the required value to identify AX Connector and must be entered in all caps. The computer_name value can be entered as name or domain\name.
setspn -L computer_namesetspn -A ACLSE/axserver.acl.com axserver
Optionally, copy the keytab file to the AX Server instance and use the kinit command to test your SPN account mapping.
Prerequisite: Add the Java bin subfolder to your path environment variable to use the klist command without specifying the full path.
set PATH=java_bin_path;%PATH%
klist -k
kinit username@REALM.COM
[libdefaults]
ticket_lifetime = 24000
default_realm = <domain>
default_keytab_name = <path_to_keytab_file>
dns_lookup_realm = false
dns_lookup_kdc = false
default_tkt_enctypes = rc4-hmac
default_tgs_encrypes = rc4-hmac [realms]
<domain> = {
kdc = <adserver.domain.com>:88
}
[domain_realm]
<.domain> = <DOMAIN>
<domain> = <DOMAIN>
Enable Integrated Windows Authentication from Internet Explorer in each end user's desktop environment. Users must be connecting from a client operating system, Integrated Windows Authentication is not supported for instances of AX Client running on the server's operating system.
Example: https://axserver.ax.com.
The updated settings take effect the next time Internet Explorer is launched.