For the Windows workstation to use a Kerberos KDC deployed on UNIX, you must configure both the Kerberos KDC server and the workstation.
In the Kerberos realm, create a host principal for the Windows host. Use the following command:
kadmin.local: addprinc host/machine-name.dns-domain_name.
For example, if the Windows workstation name is W2KW and the Kerberos realm name is EXAMPLE.COM, the principal name is host/w2kw.example.com.
Because a Kerberos realm is not a Windows domain, the KDC operating environment must be configured as a member of a workgroup, which happens automatically when you follow this process:
ksetup /SetRealm EXAMPLE.COM
ksetup /addkdc EXAMPLE.COM rhasmit
ksetup /setmachpassword password
Note: The password used here is same as the one used while creating the host principal account in the MIT KDC.
Note: Whenever changes are made to the external KDC and realm configuration, a restart is required.
ksetup /SetRealmFlags EXAMPLE.COM delegate
ksetup /AddKpasswd EXAMPLE.COM rhasmit
ksetup /mapuser testkrb@EXAMPLE.COM testkrb ksetup /mapuser * *
The second command maps clients to local accounts of the same name. Use Ksetup with no arguments to see the current settings.
| Copyright © 2011 CA. All rights reserved. | Email CA Technologies about this topic |