text stringlengths 0 4.23k |
|---|
To configure the CORP.CONTOSO.COM realm to use the non-Windows KDC server, mitkdc.contoso.com, as the password server, type: |
ksetup /addkpasswd CORP.CONTOSO.COM mitkdc.contoso.com |
To verify the KDC name is set, type ksetup and then view the output, looking for the text, kpasswd =. If you don't see the text, it means the mapping hasn't been configured. |
ksetup |
ksetup addrealmflags |
Applies to Windows Server (All supported versions) |
The ksetup addrealmflags command adds other realm flags to a specified realm. |
Syntax |
ksetup /addrealmflags <realmname> [sendaddress] [tcpsupported] [delegate] [ncsupported] [rc4] |
Parameters |
Parameter |
Description |
<realmname> |
Specifies the uppercase DNS name, such as CORP.CONTOSO.COM. |
<realmname> |
CORP.CONTOSO.COM |
Remarks |
Realm flags are stored in the registry under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\Kerberos\Domains\<realmname>. This entry doesn't exist in the registry by default. You can use the ksetup addrealmflags command to populate the registry. |
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\Kerberos\Domains\<realmname> |
The realm flags specify other features of a Kerberos realm that aren't based on the Windows Server operating system. Computers running Windows Server can use a Kerberos server to administer authentication in the Kerberos realm instead of using a domain running a Windows Server operating system. This registry entry esta... |
Value |
Realm flag |
Description |
0xF |
All |
All realm flags are set. |
0x00 |
None |
No realm flags are set and no other features are enabled. |
0x01 |
sendaddress |
The IP address is included within the ticket-granting tickets. |
0x02 |
tcpsupported |
Both the Transmission Control Protocol (TCP) and the User Datagram Protocol (UDP) are supported in this realm. |
0x04 |
delegate |
Everyone in this realm is trusted for delegation. |
0x08 |
ncsupported |
This realm supports name canonicalization, which allows for DNS and Realm naming standards. |
0x80 |
rc4 |
This realm supports RC4 encryption to enable cross-realm trust, which allows for the use of TLS. |
0xF |
All |
0x00 |
None |
0x01 |
sendaddress |
0x02 |
tcpsupported |
0x04 |
delegate |
0x08 |
ncsupported |
0x80 |
rc4 |
ksetup /dumpstate |
Examples |
To list the available realm flags for the realm CONTOSO, type: |
ksetup /listrealmflags |
To set two flags to the CONTOSO realm, type: |
ksetup /setrealmflags CONTOSO ncsupported delegate |
To add one more flag that isn't currently in the set, type: |
ksetup /addrealmflags CONTOSO SendAddress |
To verify the realm flag is set, type ksetup and then view the output, looking for the text, Realm flags =. If you don't see the text, it means that the flag hasn't been set. |
ksetup |
ksetup changepassword |
Uses the Key Distribution Center (KDC) password (kpasswd) value to change the password of the logged-on user. The output of the command informs you of the success or failure status. |
You can check whether the kpasswd is set, by running the ksetup /dumpstate command and viewing the output. |
ksetup /dumpstate |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.