开发者

IIS FTP 7.5: Custom Auth Provider not working Error 530

开发者 https://www.devze.com 2023-01-04 15:17 出处:网络
I have recently install Server 2008 R2 on a new server and want to use the FT开发者_运维百科P capabilities that are now shipped with IIS 7.5.

I have recently install Server 2008 R2 on a new server and want to use the FT开发者_运维百科P capabilities that are now shipped with IIS 7.5.

Since my users are not windows users, I was using IISAuthManager but this prodiver does not offers home directory on a user basis.

I found this sample http://learn.iis.net/page.aspx/669/how-to-use-managed-code-c-to-create-an-ftp-authentication-provider-using-an-xml-database/ to get going with a simple xml based user config. But i can't make it work. It's always gving me

Response:   530-User cannot log in.
Response:    Win32 error:   The system cannot find the file specified. 
Response:    Error details: An error occured during the authentication process.

I used procmon to get if the xml config file was read with no luck. I don't even think my assembly is being used.

Anybody ever had the same issue ? Basicly, any tips would be apreciated.


The IIS FTP custom providers are a nightmare to debug. In this case sounds like a config error, check that you followed the set up instructions (or manually checking applicationHost.config). Or post your code (inc config) if you still need help.

Barry


IIS Manager > Your site > FTP Authentication

Probably, you have all Basic and Anonymous Authentication disabled. One of them should be enabled.

0

精彩评论

暂无评论...
验证码 换一张
取 消