2013年10月23日 星期三

FortiGate 重設 admin 密碼.

FortiGate 重設密碼
使用預設的帳號跟密碼. 需在開機後14秒內登入.否則無效

使用console port 用超級終端機去連. 速度為 BPS: 9600 其他為DEFAULT.

user id :maintainer
password : bcpb+ 序號 ( 我的密碼為. bcpbFG300B3910xxxx )

--設定 admin 密碼
config system admin
edit admin
set password 1234
end

--查看所有interface的IP設定
show system interface

--就設定回復成出廠值.
execute factoryreset

2013年10月3日 星期四

IIS FTP 使用者 XXX 無法登入, 登入失敗.

Error message in IIS: "530 User <Username> cannot log in. Login failed."


原本有加入AD 的IIS FTP 主機.因為 AD 掛點後.出現一些小問題.

原本IIS FTP 主機的使用者都是用本機使用者. 可是不知為何當AD 救回來後.變成使用者都無法登入FTP 了. 多次測試後發現是可以用 機器名\使用者帳號  方式來登入可是還是不方便.
google 一下找到這份文章.
http://support.microsoft.com/kb/200475/en-us

  1. Change to the c:\Inetpub\Adminscripts directory.
  2. Type the following:
    Adsutil Set MSFTPSVC/DefaultLogonDomain "Domain Name or Server Name"
  3. Stop the FTP Service, and then restart the FTP Service.
經過以上的設定就OK了.