net use 时报错:未知的用户名或密码

zkxz 2006-06-09 01:08:49
家里的两台电脑是用HUB连接组成一个局域网的(用A、B代表这两台电脑)。A、B都装的XP SP2。前两天重装了电脑A(还是安装XP SP2),结果当我在B上用net use想新建一个A上硬盘分区的网络映射时,却报错:

发生系统错误 1326。

登录失败: 未知的用户名或错误密码。

但实际上输入的用户名和密码都是正确的。

另外,在A上新建B上硬盘分区的网络映射时没有任何问题。两台电脑互ping是可以ping通的。用的都是windows自带的防火墙。在A重装前没有发生过这个问题。

请高手帮忙分析一下,这会是什么方面的问题?
...全文
2733 17 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
17 条回复
切换为时间正序
请发表友善的回复…
发表回复
sdata 2006-09-04
  • 打赏
  • 举报
回复
d
icuc88 2006-06-17
  • 打赏
  • 举报
回复
Remote users always authenticate as the Guest account.
…………………………………………
看到没有?
icuc88 2006-06-17
  • 打赏
  • 举报
回复
看这个:

Behavior that is affected when Simple File Sharing is turned on
• The Simple File Sharing UI in the properties of a folder configures both share and file permissions.
• Remote users always authenticate as the Guest account.

For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
302927 (http://support.microsoft.com/kb/302927/) Computer Management displays user account names when logged on as Guest
• Windows Explorer does not retain permissions on files that are moved in the same NTFS drive. The permissions are always inherited from the parent folder.
• On Windows XP Professional-based computers that have Simple File Sharing turned on and Windows XP Home Edition-based computers, the Shared Folders (Fsmgmt.msc) and Computer Management (Compmgmt.msc) tools reflect a simpler sharing and security UI.
• In the Computer Management and Shared Folders consoles, the New File Share command is unavailable when you right-click the Shares icon. Also, if you right-click any listed share, the Properties and Stop Share commands are unavailable.

http://support.microsoft.com/default.aspx?scid=kb;en-us;304040
icuc88 2006-06-17
  • 打赏
  • 举报
回复
因为,对文件和共享的访问控制不一样呀~~~
scz123 2006-06-17
  • 打赏
  • 举报
回复
恭喜已解决。

net use x: \\ip\c$ /user:computername\administrator *
最好加上机器名,而且要正确,否则XP验证可能就不通过
简单文件共享会把网络连接权限都归为 guest连接,是无法访问C$等管理共享的
zkxz 2006-06-17
  • 打赏
  • 举报
回复
原来如此,明白了。谢谢大家!
celerylhl 2006-06-16
  • 打赏
  • 举报
回复
gpedit.msc 配置一个策略
zkxz 2006-06-16
  • 打赏
  • 举报
回复
icuc88(职业特种兵) ( ) 信誉:185 2006-06-16 11:16:00 得分: 0


控制面板-〉文件夹选项-〉察看-〉简单的文件共享

去掉选取。

然后再尝试连接。
-----------------------------------------------------------------
多谢老大!果真是这个“简单文件共享”搞的鬼,把它取消就可以了。

不过,为什么“简单文件共享”会和映射网络驱动器有冲突呢?
icuc88 2006-06-16
  • 打赏
  • 举报
回复
当然了,你需要保证下面说的多是正确的。


System error 1326 has occurred - Logon failure: unknown user name or bad password.

Symptom: when using net use to map a network drive, you may receive "System error 1326 has occurred. Logon failure: unknown user name or bad password." message.

Resolutions: 1) create a user account on remote computer; 2) need to enable the guest account; 3) make sure the remote computer doesn't use auto-logon and blank password; 4) make sure you have a folder or drive shared on the remote computer. 5) use net use \\servername /user:username command. Make sure you type correct command (e.g. use net use \\servername \user:username will get this error too)

icuc88 2006-06-16
  • 打赏
  • 举报
回复
控制面板-〉文件夹选项-〉察看-〉简单的文件共享

去掉选取。

然后再尝试连接。
zkxz 2006-06-15
  • 打赏
  • 举报
回复
试过新建用户,还是不行,同样的错误。


jms20030108(清清宝贝) ( ) 信誉:98 2006-06-14 13:58:00 得分: 0


是否是B机用的还是装机前A机上的帐户(也就是A机上的帐户重装前后是一样的,但是实际上是不一样的SID),B机上用原来的帐户缓存与A机通信,所以不对
-----------------------------------
有道理,不过试了新建用户结果还是失败,说明应该和账户缓存没有关系。不过还是谢谢你了:D
jms20030108 2006-06-14
  • 打赏
  • 举报
回复
是否是B机用的还是装机前A机上的帐户(也就是A机上的帐户重装前后是一样的,但是实际上是不一样的SID),B机上用原来的帐户缓存与A机通信,所以不对
zkxz 2006-06-14
  • 打赏
  • 举报
回复
sheerfish999(菜鸟 饿了吃斑竹,搀了吃大虾) ( ) 信誉:100 2006-06-13 17:57:00 得分: 0


有没有考虑过A上的安全设置造成根本就连不上?
--------------------------------------------------------------
我跟另一台可以正常映射的电脑的设置核对过,都是一样的。




ccnp_Server() ( ) 信誉:100 2006-06-13 18:31:00 得分: 0


你看你的帐户是否有个复选(第一次登陆必须更改密码)我记得以前有过这个 结果就不能访问

还有,你是否建立过新帐户测试?
-------------------------------------------------------------------
我的账户没有选择这个选项。我试了administrator和另外一个管理员账户,都出现这个问题。我再去试试建个新账户。多谢提醒。
ccnp_Server 2006-06-13
  • 打赏
  • 举报
回复
你看你的帐户是否有个复选(第一次登陆必须更改密码)我记得以前有过这个 结果就不能访问

还有,你是否建立过新帐户测试?
sheerfish999 2006-06-13
  • 打赏
  • 举报
回复
有没有考虑过A上的安全设置造成根本就连不上?
zkxz 2006-06-11
  • 打赏
  • 举报
回复
多谢楼上的兄弟先。

用资源管理器来映射网络驱动器和net use IPC$我之前都试过的,登录的账户是正确无误,但结果却是无效的用户名和密码。不知你有没有碰到过这种情况?
ccnp_Server 2006-06-11
  • 打赏
  • 举报
回复
如果映射网络驱动器最简单的方法不是应用net命令,而是利用资源管理器实现...具体方法:
http://blog.csdn.net/ccnp_Server/archive/2006/06/06/776500.aspx

如果LZ执意使用net命令,那首先需要建立隧道链接机遇IPC的管道命名,大致实现流程如下:

'建立IPC管道命名链接,并需确定你应用的帐户隶属于被访问客户端系统管理组
net use \\ipAddress\ipc$ "password" /user:"administrator"

'需要确定对方已经将目录设置为共享目录,或为默认共享路径,如c$;d$;admin$...
net use z: \\ipAddress\shareDir$

'注,之所以应用管理组帐户,是因为系统共享目录不会为普通特权用户做默认帐户分配,也就是大多数情况会为共享目录安全权限中添加帐户 system administrators ,你可以在被访问客户端开放共享安全权限中添加everyone帐户并赋予相应权限,否则也许会提示你试图访问客户端的帐户没有相应权限等...

不知道明白否?

6,868

社区成员

发帖
与我相关
我的任务
社区描述
Windows 2016/2012/2008/2003/2000/NT
社区管理员
  • Windows Server社区
  • qishine
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧