文章分类 | 推荐文章 | 最新文章 | 热点文章 | 最新软件 | 精品软件 | 下载排行 | 推荐下载 | 免费看大片 | WPS | 杀毒软件
清风网络
首 页 软件下载 网络学院 数码学院
QQ 电脑入门 游戏 操作系统 图形处理 办公软件 媒体动画 精文荟萃 工具软件 网络编程 程序开发 网络技术 认证考试 网站建设 文章专栏
当前位置:清风网络学院网络技术网络协议RFC3244 - Microsoft Windows 2000 Kerberos Change Password and Set Password Protocols
精品推荐
特别推荐
·ISIS路由协议
·Telnet入侵最完全手册
·网络协议基础知识 SMTP协议和UDP协议
·新的宽带认证方式——IEEE 802.1x协议
·ARP协议揭密
·网络沟通的桥梁-协议X档案
·TCP/IP协议简介
·NGN网络协议解析
·HTTP协议基础
·电子商务安全协议
·SSL协议介绍
·SIP、SAP及SDP协议组合应用的研究
·在Windows 2000 Server中配置TCP/IP协议
·Catalyst8500配置实例之HSRP协议培植
·计算机网络体系层次结构的划分
·OSPF计算路由
热点TOP10
·Ad Hoc网络协议栈通用要求研究
·关于Sniffer Pro
·RFC791 - Internet Protocol
·在Windows 2000 Server中配置TCP/IP协议
·透析ICMP协议(四): 应用篇ping(RAW Socket)
·传输控制协议(Transmission Control Protocol, TCP)
·对BitTorrent通信协议的分析与检测
·完全用Linux工作 摈弃Windows
·ISIS路由协议
·TCP/IP协议原理
·Telnet入侵最完全手册
·RFC4098 - Terminology for Benchmarking BGP Device Convergence in the Control Plane
·RFC3447 - Public-Key Cryptography Standards (PKCS) #1: RSA Cryptography Specifications Version 2.1
·闭路电视监控系统CCTV资料
·IRIS Traffic Analyzer简易教程
·新的宽带认证方式——IEEE 802.1x协议
·HTTP协议基础
·新一代的AAA协议——Diameter
·IP PBX方案篇
·ARP协议揭密

RFC3244 - Microsoft Windows 2000 Kerberos Change Password and Set Password Protocols

日期:2007年5月5日 作者: 查看:[大字体 中字体 小字体]



  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.

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.

1. Introduction

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.

2. The Protocol

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.

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

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.

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).

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 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.

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.

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

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.

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).

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.

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.)

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 data: the AP-REP is the response to the AP-REQ in the request
packet.

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

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.

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

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):

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_MALFORMED 1 request fails due to being
malformed

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_AUTHERROR 3 request fails due to an error
in authentication processing

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

KRB5_KPASSWD_ACCESSDENIED 5 requestor not authorized

KRB5_KPASSWD_BAD_VERSION 6 protocol version unsupported

KRB5_KPASSWD_INITIAL_FLAG_NEEDED 7 initial flag required

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.

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.

3. Security Considerations

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

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

5. Authors' Addresses

Mike Swift
University of Washington
Seattle, WA

EMail: mikesw@cs.washington.edu

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

EMail: john3725@world.std.com

John Brezak
Microsoft
1 Microsoft Way
Redmond, WA 98052

EMail: jbrezak@microsoft.com

6. Full Copyright Statement

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

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 RFCEditor function is currently provided by the
Internet Society.
[1] [2] 下一页 




上一篇:RFC3246 - An Expedited Forwarding PHB (Per-Hop Behavior)

下一篇:RFC3243 - RObust Header Compression (ROHC): Requirements and Assumptions for 0-byte IP/UDP/RTP Compression

RFC3244 - Microsoft Windows 2000 Kerberos Change Password and Set Password Protocols 相关文章:
·Windows Vista震撼1600X1200高清壁纸
·WindowsXP超级技巧
·最全面的WindowsXP修改大全
·Windows XP的20个超级实用技巧大全
·让Windows XP系统快10倍
·Windows Vista Ultimate中文旗舰版下载+简单破解(支持迅雷HTTP & BT)
·图文详解 Windows 2003服务器集群安装
·破解windowsXP,window2000的开机密码
·Windows XP鲜为人知的N招实用技巧
·DirectX 10 for Windows XP修改版下载
RFC3244 - Microsoft Windows 2000 Kerberos Change Password and Set Password Protocols 相关软件:
·Windows主题70合一典藏版
·Microsoft Office Word Viewer 2003简体中文版 V1.0
·Windows 2003 Server 简体中文企业版(免激活)ISO
·Windows 98简体中文第二版
·Windows XP Service Pack 2简体中文版
·如何加固Windows XP 主机安全
·Windows环境下32位汇编语言程序设计
·Microsoft Office XP 简体中文零售原版ISO 中文正式版
·Windows XP Home Edition SP2简体中文版
·番茄花园 Windows 2000 3 合 1 最终版

特别声明:本站除部分特别声明禁止转载的专稿外的其他文章可以自由转载,但请务必注明出处和原始作者。文章版权归文章原始作者所有。对于被本站转载文章的个人和网站,我们表示深深的谢意。如果本站转载的文章有版权问题请联系编辑人员,我们尽快予以更正。
[打印本页] [关闭窗口] 转载请注明来源:http://www.vipcn.net
| 帮助(?) | 版权声明 | 友情连接 | 关于我们 | 信息发布
Copyright 2007 www.vipcn.net All Rights Reserved. 鄂ICP备05000083号Powered by:viphot