Wednesday, January 24, 2007

Turn off the NTLM in Windows Server 2003

下午用TELNET连接TOMCAT老是不成功,在排错中先想到了NTLM验证的问题,因为以前没在2003上搞结果搞了天都没把NTLM关掉, 最后终于搞出来了,W2K和WIN2003的tlntadmn也就一点点的差别,Windows server 2003如下:
>tlntadmn
Alt Key Mapped to 'CTRL+A' : YES
Idle session timeout : 1 hours
Max connections : 2
Telnet port : 23
Max failed login attempts : 3
End tasks on disconnect : YES
Mode of Operation : Console
Authentication Mechanism : NTLM, Password
Default Domain : CITYPW
State : Stopped

之后输入:
>tlntadmn config sec=-NTLM
The settings were successfully updated.

当然之后测试TOMCAT也不是因为其他什么大毛病,是自己每次测试HTTP少打了个Enter,妈的Windows下telnet是不显示的,这点没LINUX爽.也算我笨吧~这里帖出来供大家参考

No comments: