text
stringlengths
0
4.23k
Parameters
Parameter
Description
<domainname>
Name of the domain to which you want to establish a connection. Use the fully qualified domain name or a simple form of the name, such as corp.contoso.com or contoso.
encryption type
Must be one of the following supported encryption types:DES-CBC-CRCDES-CBC-MD5RC4-HMAC-MD5AES128-CTS-HMAC-SHA1-96AES256-CTS-HMAC-SHA1-96
<domainname>
Remarks
Examples
To view the encryption type for the Kerberos ticket-granting ticket (TGT) and the session key, type:
klist
To set the domain to corp.contoso.com, type:
ksetup /domain corp.contoso.com
To set the encryption type attribute to AES-256-CTS-HMAC-SHA1-96 for the domain corp.contoso.com, type:
ksetup /setenctypeattr corp.contoso.com AES-256-CTS-HMAC-SHA1-96
To verify that the encryption type attribute was set as intended for the domain, type:
ksetup /getenctypeattr corp.contoso.com
ksetup setrealm
Sets the name of a Kerberos realm.
Important
Setting the Kerberos realm on a domain controller isn't supported. Attempting to do so causes a warning and a command failure.
Syntax
ksetup /setrealm <DNSdomainname>
Parameters
Parameter
Description
<DNSdomainname>
Specifies the uppercase DNS name, such as CORP.CONTOSO.COM. You can use the fully-qualified domain name or a simple form of the name. If you don't use uppercase for the DNS name, you'll be asked for verification to continue.
<DNSdomainname>
Examples
To set the realm of this computer to a specific domain name, and to restrict access by a non-domain controller just to the CONTOSO Kerberos realm, type:
ksetup /setrealm CONTOSO
ksetup setrealmflags
Sets realm flags for the specified realm.
Syntax
ksetup /setrealmflags <realmname> [sendaddress] [tcpsupported] [delegate] [ncsupported] [rc4]
Parameters
Parameter
Description
<realmname>
Specifies the uppercase DNS name, such as CORP.CONTOSO.COM.
<realmname>
Remarks
Value
Realm flag
Description
0xF
All
All realm flags are set.
0x00
None
No realm flags are set, and no additional features are enabled.
0x01
sendaddress
The IP address will be included within the ticket-granting tickets.
0x02
tcpsupported