windows server 2008 R2 FTP登录错误。

创建了一个域用户ftp.dom

始终登录不上winserver 2008 R2上的FTP.ui

错误以下:.net

530-User cannot log in.
 Win32 error:   Logon failure: unknown user name or bad password.
 Error details: Anonymous authentication is not allowed.server

后来将这个用户更名为ftp1就能够了。看来是个bug,不容许ftp用户存在。blog

 

ftp1登录后遇到以下错误,ci

用户(wsus-srv.creasun.local:(none)): ftp1
331 Password required for ftp1.
密码:
530-User cannot log in, home directory inaccessible.
 Win32 error:   The system cannot find the path specified.
 Error details: File system returned an error.
530 End
登陆失败。get

 

缘由,这是隔离用户的使用方式,io

解决办法:table

参考:http://www.iis.net/learn/publish/using-the-ftp-service/configuring-ftp-user-isolation-in-iis-7登录

具体操做以下:这须要创建相应的home目录和赋予权限。

例如ftp root目录是c:\root

则须要在c:\root下创建相应的用户home目录。路径规则以下

User Account Types Physical Home Directory Syntax

Anonymous users

%FtpRoot%\LocalUser\Public

Local Windows user accounts (requires basic authentication)

%FtpRoot%\LocalUser\%UserName%

Windows domain accounts (requires basic authentication)

%FtpRoot%\%UserDomain%\%UserName%

IIS Manager or ASP.NET custom authentication user accounts

%FtpRoot%\LocalUser\%UserName%

 还须要将路径的NTFS权限上加上ftp1的访问权限便可。

相关文章
相关标签/搜索