Network Working Group                                           M. Swift
Request for Comments: 3244                      University of Washington
Category: Informational                                       J. Trostle
                                                           Cisco Systems
                                                               J. Brezak
                                                               Microsoft
                                                           February 2002
        
            Microsoft Windows 2000 Kerberos Change Password
                       and Set Password Protocols
        

Status of this Memo

このメモの位置付け

This memo provides information for the Internet community. It does not specify an Internet standard of any kind. Distribution of this memo is unlimited.

このメモはインターネットコミュニティのための情報を提供します。それはどんな種類のインターネット標準を指定しません。このメモの配布は無制限です。

Copyright Notice

著作権表示

Copyright (C) The Internet Society (2002). All Rights Reserved.

著作権(C)インターネット協会(2002)。全著作権所有。

Abstract

抽象

This memo specifies Microsoft's Windows 2000 Kerberos change password and set password protocols. The Windows 2000 Kerberos change password protocol interoperates with the original Kerberos change password protocol. Change password is a request reply protocol that includes a KRB_PRIV message that contains the new password for the user.

このメモは、MicrosoftのWindows 2000のKerberosパスワード変更と設定したパスワードプロトコルを指定します。 Windows 2000のKerberosの変更パスワードプロトコルは、元のKerberosパスワード変更プロトコルと相互運用できます。パスワード変更は、ユーザーの新しいパスワードが含まれているKRB_PRIVメッセージを含む要求応答プロトコルです。

1. Introduction
1. はじめに

Microsoft's Windows 2000 Kerberos change password protocol interoperates with the original Kerberos change password protocol. Change password is a request reply protocol that includes a KRB_PRIV message that contains the new password for the user. The original change password protocol does not allow an administrator to set a password for a new user. This functionality is useful in some environments, and this proposal extends the change password protocol to allow password setting. The changes are: adding new fields to the request message to indicate the principal which is having its password set, not requiring the initial flag in the service ticket, using a new protocol version number, and adding three new result codes.

MicrosoftのWindows 2000のKerberosパスワード変更プロトコルは、元のKerberosパスワード変更プロトコルと相互運用できます。パスワード変更は、ユーザーの新しいパスワードが含まれているKRB_PRIVメッセージを含む要求応答プロトコルです。オリジナルのパスワード変更プロトコルは、管理者が新しいユーザーのパスワードを設定することはできません。この機能は、一部の環境で有用であり、この提案は、パスワードの設定を可能にするために、パスワード変更プロトコルを拡張します。変更は、次のとおり、サービスチケットに初期フラグを必要としない、そのパスワードのセットを有する新しいプロトコルバージョン番号を使用して、3つの新しい結果コードを追加してプリンシパルを示すために、要求メッセージに新たなフィールドを追加します。

2. The Protocol
2.プロトコル

The service accepts requests on UDP port 464 and TCP port 464 as well. The protocol consists of a single request message followed by a single reply message. For UDP transport, each message must be fully contained in a single UDP packet.

サービスもUDPポート464とTCPポート464で要求を受け付けます。プロトコルは、単一の応答メッセージに続いて単一の要求メッセージから成ります。 UDPトランスポートの場合は、各メッセージは完全に単一のUDPパケットに含まれている必要があります。

For TCP transport, there is a 4 octet header in network byte order that precedes the message and specifies the length of the message.

TCPトランスポートのために、4オクテットのヘッダは、メッセージの前に、メッセージの長さを指定し、ネットワークバイト順です。

Request Message

リクエストメッセージ

     0                   1                   2                   3
     0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
    |         message length        |    protocol version number    |
    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
    |          AP_REQ length        |         AP_REQ data           /
    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
    /                        KRB-PRIV message                       /
    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
        

All 16 bit fields are in big-endian order.

すべての16ビットフィールドは、ビッグエンディアン順です。

message length field: contains the number of bytes in the message including this field.

メッセージ長フィールド:このフィールドを含むメッセージのバイト数が含まれています。

protocol version number: contains the hex constant 0xff80 (big-endian integer).

プロトコルバージョン番号は:進定数0xff80(ビッグエンディアン整数)が含まれています。

AP-REQ length: length of AP-REQ data, in bytes. If the length is zero, then the last field contains a KRB-ERROR message instead of a KRB-PRIV message.

AP-REQ長さ:AP-REQデータの長さ(バイト単位)です。長さがゼロの場合は、最後のフィールドではなく、KRB-PRIVメッセージのKRB-ERRORメッセージが含まれています。

AP-REQ data: (see [1]) The AP-REQ message must be for the service principal kadmin/changepw@REALM, where REALM is the REALM of the user who wishes to change/set his password. The authenticator in the AP-REQ must include a subsession key. (NOTE: The subsession key must be pseudo-randomly generated and must never be reused for multiple authenticators.) To enable setting of passwords, it is not required that the initial flag be set in the Kerberos service ticket.

AP-REQのデータ:AP-REQメッセージがREALMを変更したいユーザーのREALMであるサービス・プリンシパルはkadmin / changepwする@ REALMのためでなければなりません/自分のパスワードを設定する([1]参照します)。 AP-REQでオーセンティケータは、サブセッションキーを含める必要があります。 (注:サブセッションキーは、擬似ランダムに生成されなければならず、複数のオーセンティケータのために再利用してはならない)パスワードの設定を有効にするには、最初のフラグがKerberosサービスチケットに設定されている必要はありません。

KRB-PRIV message (see [1]) This user-data field in the KRB-PRIV message is encrypted using the subkey from the authenticator in the AP-REQ data. The usec and seq-number fields of the KRB_PRIV message are present and have the same value as the seq-number field in the authenticator from the AP_REQ message (the seq-number in the authenticator will be present). The server ignores the optional r-address field in the KRB_PRIV message, if it is present.

KRB-PRIVメッセージKRB-PRIVメッセージ内のこのユーザデータフィールドはAP-REQデータにおけるオーセンティケータからのサブキーを使用して暗号化される([1]参照)。 KRB_PRIVメッセージのマイクロ秒および配列番号フィールドが存在し、AP_REQメッセージ(オーセンティケータは、配列番号が存在するであろう)からオーセンティケータは、配列番号フィールドと同じ値を有します。それが存在する場合、サーバは、KRB_PRIVメッセージに任意のRアドレスフィールドを無視します。

The user-data component of the message consists of the following ASN.1 structure encoded as an OCTET STRING:

メッセージのユーザデータの構成要素は、OCTET STRINGとして符号化された以下のASN.1構造で構成されています。

      ChangePasswdData ::=  SEQUENCE {
                          newpasswd[0]   OCTET STRING,
                          targname[1]    PrincipalName OPTIONAL,
                          targrealm[2]   Realm OPTIONAL
                          }
        

The server must verify the AP-REQ message, check whether the client principal in the ticket is authorized to set/change the password (either for that principal, or for the principal in the targname field if present), and decrypt the new password. The server also checks whether the initial flag is required for this request, replying with status 0x0007 if it is not set and should be. An authorization failure is cause to respond with status 0x0005. For forward compatibility, the server should be prepared to ignore fields after targrealm in the structure that it does not understand.

サーバーは、チケット内のクライアントプリンシパルが(存在する場合targnameフィールドにその元本のため、またはプリンシパルのいずれか)パスワードを設定/変更、および新しいパスワードを解読するために許可されているかどうかを確認し、AP-REQメッセージを確認する必要があります。また、サーバは、最初のフラグは、それが設定されておらず、あるべき場合、ステータス0x0007で応答、この要求のために必要かどうかをチェックします。認証の失敗は、ステータス0x0005で応答する原因となっています。前方互換性のために、サーバはそれが理解できない構造でtargrealm後のフィールドを無視するように準備する必要があります。

The newpasswd field contains the cleartext password, and the server will apply any local policy checks including password policy checks. The server then generates the appropriate keytypes from the password and stores them in the KDC database. If all goes well, status 0x0000 is returned to the client in the reply message (see below).

newpasswdフィールドは平文パスワードが含まれており、サーバがパスワードポリシーのチェックを含む任意のローカルポリシーチェックを適用します。次に、サーバーは、パスワードの適切なkeytypesを生成し、KDCデータベースに格納します。すべてがうまくいけば、状況は0x0000は(下記参照)、応答メッセージでクライアントに返されます。

Reply Message

メッセージを返信

     0                   1                   2                   3
     0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
    |         message length        |    protocol version number    |
    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
    |          AP_REP length        |         AP-REP data           /
    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
    /                         KRB-PRIV message                      /
    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
        

All 16 bit fields are in big-endian order.

すべての16ビットフィールドは、ビッグエンディアン順です。

message length field: contains the number of bytes in the message including this field.

メッセージ長フィールド:このフィールドを含むメッセージのバイト数が含まれています。

protocol version number: contains the hex constant 0x0001 (big-endian integer). (The reply message has the same format as the original change password protocol.)

プロトコルバージョン番号は:進定数は0x0001(ビッグエンディアン整数)が含まれています。 (応答メッセージは、元のパスワード変更プロトコルと同じフォーマットを有します。)

AP-REP length: length of AP-REP data, in bytes. If the length is zero, then the last field contains a KRB-ERROR message instead of a KRB-PRIV message.

AP-REP長さ:AP-REPデータの長さ(バイト単位)です。長さがゼロの場合は、最後のフィールドではなく、KRB-PRIVメッセージのKRB-ERRORメッセージが含まれています。

AP-REP data: the AP-REP is the response to the AP-REQ in the request packet.

AP-REPデータ:AP-REPは、要求パケットにAP-REQに対する応答です。

KRB-PRIV message: This KRB-PRIV message must be encrypted with the subsession key from the authenticator in the AP-REQ data.

KRB-PRIVメッセージ:このKRB-PRIVメッセージはAP-REQデータ内のオーセンティケータからサブセッション鍵で暗号化されなければなりません。

The server will respond with a KRB-PRIV message unless it cannot decode the client AP-REQ or KRB-PRIV message, in which case it will respond with a KRB-ERROR message. NOTE: Unlike change password version 1, the KRB-ERROR message will be sent back without any encapsulation.

それがKRB-ERRORメッセージで応答する場合、クライアントAP-REQまたはKRB-PRIVメッセージをデコードすることができない場合を除き、サーバーは、KRB-PRIVメッセージで応答します。注:パスワード変更バージョン1とは異なり、KRB-ERRORメッセージは、任意のカプセル化せずに戻って送信されます。

The user-data component of the KRB-PRIV message, or e-data component of the KRB-ERROR message, consists of the following data.

KRB-ERRORメッセージのKRB-PRIVメッセージ、または電子データ・コンポーネントのユーザ・データ・コンポーネントは、次のデータから構成されています。

     0                   1                   2                   3
     0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
    |          result code          |        result string          /
    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
        

result code (16 bits) (result codes 0-4 are from the original change password protocol):

結果コード(16ビット)(結果コード0-4は、元のパスワード変更プロトコルからのものです)。

The result code must have one of the following values (big-endian integer):

結果コードは、以下の値(ビッグエンディアン整数)のいずれかが必要です。

KRB5_KPASSWD_SUCCESS 0 request succeeds (This value is not allowed in a KRB-ERROR message)

KRB5_KPASSWD_SUCCESS 0要求(この値はKRB-ERRORメッセージで許可されていない)が成功します

KRB5_KPASSWD_MALFORMED 1 request fails due to being malformed

KRB5_KPASSWD_MALFORMED 1つの要求が原因不正な形式であることに失敗しました

KRB5_KPASSWD_HARDERROR 2 request fails due to "hard" error in processing the request (for example, there is a resource or other problem causing the request to fail)

KRB5_KPASSWD_HARDERROR 2要求は、要求の処理に起因する「ハード」エラーに失敗した(例えば、要求が失敗する原因となるリソースまたは他の問題があります)

KRB5_KPASSWD_AUTHERROR 3 request fails due to an error in authentication processing

KRB5_KPASSWD_AUTHERROR 3の要求は、認証処理中にエラーによる失敗します

KRB5_KPASSWD_SOFTERROR 4 request fails due to a "soft" error in processing the request

KRB5_KPASSWD_SOFTERROR 4要求は、要求を処理するには、「ソフト」エラーが原因で失敗します

KRB5_KPASSWD_ACCESSDENIED 5 requestor not authorized

KRB5_KPASSWD_ACCESSDENIED 5要求者権限がありません

KRB5_KPASSWD_BAD_VERSION 6 protocol version unsupported

KRB5_KPASSWD_BAD_VERSION 6プロトコルバージョン、サポートされていません

KRB5_KPASSWD_INITIAL_FLAG_NEEDED 7 initial flag required

7最初のフラグが必要KRB5_KPASSWD_INITIAL_FLAG_NEEDED

0xFFFF is returned if the request fails for some other reason. Although only a few non-zero result codes are specified here, the client should accept any non-zero result code as indicating failure.

リクエストがほかの理由で失敗した場合は0xFFFFが返されます。少数の非ゼロの結果コードをここで指定されていますが、クライアントが失敗したことを示すものとして、ゼロ以外の結果コードを受け入れる必要があります。

result string:

結果文字列:

This field contains information which might be useful to the user, such as feedback about policy failures. The string is encoded in UTF-8. It may be omitted if the server does not wish to include it. If it is present, the client will display the string to the user.

このフィールドには、このような政策の失敗についてのフィードバックとして、ユーザにとって有用であるかもしれない情報が含まれています。文字列はUTF-8でエンコードされます。サーバはそれを含めるしたくない場合は、省略することができます。それが存在する場合、クライアントはユーザーに文字列を表示します。

3. Security Considerations
3.セキュリティの考慮事項

Password policies should be enforced to make sure that users do not pick passwords (for change password) that are vulnerable to brute force password guessing attacks. An administrator who is authorized to set other principal's passwords is highly trusted and must also carefully protect his/her own credentials.

パスワードポリシーは、ユーザーがブルートフォースパスワード推測攻撃に対して脆弱である(パスワード変更のための)パスワードを選択していないことを確認するために実施されなければなりません。他のプリンシパルのパスワードを設定することが許可されている管理者は、非常に信頼され、また、慎重に彼/彼女の自身の資格情報を保護する必要があります。

4. References
4.参考文献

[1] Kohl, J. and C. Neuman, "The Kerberos Network Authentication Service (V5)", RFC 1510, September 1993.

[1]コールズ、J.及びC.ノイマン、 "ケルベロスネットワーク認証サービス(V5)"、RFC 1510、1993年9月。

5. Authors' Addresses
5.著者のアドレス

Mike Swift University of Washington Seattle, WA

ワシントンシアトル、ワシントン州のマイク・スウィフト大学

EMail: mikesw@cs.washington.edu

メールアドレス:mikesw@cs.washington.edu

Jonathan Trostle Cisco Systems 170 W. Tasman Dr. San Jose, CA 95134

ジョナサンTrostleシスコシステムズ170 W.タスマン博士サンノゼ、CA 95134

EMail: john3725@world.std.com

メールアドレス:john3725@world.std.com

John Brezak Microsoft 1 Microsoft Way Redmond, WA 98052

ジョンBrezakマイクロソフト1マイクロソフト道レドモンド、WA 98052

EMail: jbrezak@microsoft.com

メールアドレス:jbrezak@microsoft.com

6. Full Copyright Statement
6.完全な著作権声明

Copyright (C) The Internet Society (2002). All Rights Reserved.

著作権(C)インターネット協会(2002)。全著作権所有。

This document and translations of it may be copied and furnished to others, and derivative works that comment on or otherwise explain it or assist in its implementation may be prepared, copied, published and distributed, in whole or in part, without restriction of any kind, provided that the above copyright notice and this paragraph are included on all such copies and derivative works. However, this document itself may not be modified in any way, such as by removing the copyright notice or references to the Internet Society or other Internet organizations, except as needed for the purpose of developing Internet standards in which case the procedures for copyrights defined in the Internet Standards process must be followed, or as required to translate it into languages other than English.

この文書とその翻訳は、コピーして他の人に提供し、それ以外についてはコメントまたは派生物は、いかなる種類の制限もなく、全体的にまたは部分的に、準備コピーし、公表して配布することができることを説明したり、その実装を支援することができます、上記の著作権表示とこの段落は、すべてのそのようなコピーや派生物に含まれていることを条件とします。しかし、この文書自体は著作権のための手順はで定義されている場合には、インターネット標準を開発するために必要なものを除き、インターネットソサエティもしくは他のインターネット関連団体に著作権情報や参照を取り除くなど、どのような方法で変更されないかもしれませんインターネット標準化プロセスが続く、または英語以外の言語に翻訳するために、必要に応じなければなりません。

The limited permissions granted above are perpetual and will not be revoked by the Internet Society or its successors or assigns.

上記の制限は永久で、インターネット学会やその後継者や譲渡者によって取り消されることはありません。

This document and the information contained herein is provided on an "AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.

この文書とここに含まれている情報は、基礎とインターネットソサエティおよびインターネットエンジニアリングタスクフォースはすべての保証を否認し、明示または黙示、その情報の利用がない任意の保証を含むがこれらに限定されない「として、」上に設けられています特定の目的への権利または商品性または適合性の黙示の保証を侵害します。

Acknowledgement

謝辞

Funding for the RFC Editor function is currently provided by the Internet Society.

RFC Editor機能のための基金は現在、インターネット協会によって提供されます。