![]() |
![]() |
![]() |
![]() |
Using the Administration Console > Set up Kerberos connectivity > Generate a Kerberos keytab
|
To generate a keytab file, you will need to use the support tools from the Windows CD on your domain controller. Start by installing them if they are not already installed.For more information about Windows Server Support Tools, see http://technet.microsoft.com/en-us/library/cc758202%28WS.10%29.aspx.These support tools include the ktpass utility. Use this utility to create a keytab for the EC account, as follows:ktpass /pass <User Password of the Authentication Service AD account> /mapuser <Legacy User Name of the AD account> /out <ec.keytab> /princ HTTP/<FQDN>@<DOMAIN NAME> /ptype KRB5_NT_PRINCIPAL /crypto RC4-HMAC-NT /Target <DOMAIN NAME>The utility generates the file <ec.keytab> in your working directory. You will upload this keytab file to Authentication Service later.
![]()
The legacy user name used as the /mapuser argument should match the sAMAccountName in Active Directory. This is also the User logon name you set up in Add a user account to Active Directory.
The legacy user name is used when mapping the user account to avoid issues of long Win2003 usernames that are not supported by ktpass.keysize 105 HTTP/ec001.mydomain.com@DEV.MYDOMAIN.COM ptype 1 (KRB5_NT_PRINCIPAL) vno 3 etype 0x17 (RC4-HMAC) keylength 16 (0x4968e35c0c5586d1f63a9454e242d1c4)WARNING: search term "(& (objectClass=person) (samaccountname=authuser))" produced no results.Failed to locate user "(& (objectClass=person) (samaccountname=authuser))".check that the /mapuser and /pass arguments correspond to the user created in Active Directory for Authentication Service
![]()
If the user is found but ktpass fails to create the keytab, there may be problems with the domain controller setup. Run the netdiag command (also part of the Windows Server 2003 Support Tools), and check that the DNS and Kerberos tests pass.If the DNS test fails, it is probable that some of the DNS entries required by the domain controller are not registered. In this case, try running ipconfig /registerdns to see if this fixes the problem.
![]() |
![]() |
![]() |
![]() |
Using the Administration Console > Set up Kerberos connectivity > Generate a Kerberos keytab
|