天极Yesky
  • 笔记本电脑
    笔记本
  • 台式电脑
    台式机
  • 手机
    手机
  • 电脑硬件DIY
    DIY硬件
  • CPU
    主板
    音箱
  • 硬盘
    显卡
    键鼠
  • 内存光驱
    显示器
    机箱电源

  • 数码相机DC
    数码相机
  • MP3播放器
    MP3/MP4
  • 数码摄像机DV
    摄像机
  • 电脑外设
    外设
  • 网络
    网络
  • 服务器
    服务器
  • 数字家庭
    数字家庭
  • 群乐
    群乐
  • 产品报价 行情 经销商 渠道 评测 | 软件 设计 网页 开发 安全 论坛 E时代 游戏 图片 壁纸 下载 网摘 博客 索尼专区 Vista 科技奥运
    天极网
    Troubleshooting 'Conflicting Credentials' errors between Windows systems
    作者: Serdar Yegulalp
    出处:
    责任编辑:
    [ 2004-06-17 19:08 ]


    When Windows NT, 2000, XP and 2003 systems establish connections between each other for file and printer sharing, permissions for those connections are verified by passing a username and password from the client to the server. Many times an attempt to connect from one machine to another is frustrated by an error that reads: The credentials supplied conflict with an existing set of credentials.

    When this happens, the logged-in user on the client computer usually does not have a matching account on the server. When the user tries to establish a connection normally (through Explorer), the connection is rejected. He may then try to map the connection to a drive letter by using the Map Network Drive Wizard and supplying different user credentials (the wizard allows this), but on doing so the aforementioned error occurs.

    The reason for this: Windows is programmed to reject multiple connections from the same NetBIOS source if more than one set of credentials is supplied from that source. In the above example, attempting to map a drive creates two separate connections: one to determine the presence of the NetBIOS share in the first place (which passes the existing, logged-in user credentials), and another to actually make the connection (which passes the separately-supplied username and password). Microsoft claims this is by design to prevent security problems.

    Another common scenario for this problem is when a user attempts to map a drive connection on another computer by using the Map Network Drive or NET USE command, and runs into the same problem.

    There are two solutions. The first is to establish proper credentials on either the server or the client -- i.e., create accounts with usernames and passwords that match on both ends. This is the best long-term solution, although there may be cases where it isn't practical -- for example, lack of access to the server.

    The second solution is to use the NET USE command to map the connection by using the IP address of the remote machine rather than its NetBIOS name. For example:

    NET USE <drivename> \\xx.xx.xx.xx\share <password>
    /user:<remote_machine>\<username>

    where <drivename> is the drive letter to be mapped, \\xx.xx.xx.xx\share is the IP address and share name, <password> the password for the alternate credentials, and <remote_machine> and <username> the name of the remote machine and the user account on that machine to log in as.


    Serdar Yegulalp is the editor of the Windows 2000 Power Users Newsletter. Check out his Windows 2000 blog for his latest advice and musings on the world of Windows network administrators – please share your thoughts as well!

    笔名:
    请您注意:

     遵守国家有关法律、法规,尊重网上道德,承担一切因您的行为而直接或间接引起的法律责任。

     天极网拥有管理笔名和留言的一切权利。
    相关内容