This is the first time I have ever setup IIS, I have been extremely impressed on how easy it is to get going on the whole, however I have hit one problem I have gone to the furthest lengths to fix myself and I just cant work it out! The FTP service, despite
following good guides on this website, refuses to work for me! No matter what I do with permissions (even allowing Anonymous Login) I get this error: "Response: 530 User cannot log in, home directory inaccessible." Process Monitor Output: http://img121.imageshack.us/img121/8315/ftpissue.jpg
I am just trying to get Basic Authentication working with Windows Users. I cannot make sense as to why there is no error. (Using IIS from within Windows 2008, not from iis.net) Any troubleshooting assistance is most appreciated! Thanks -- Chris
That will be IIS 6, are you using any ftp user isolation feature?
The best way to trace this is still via filemon or procmon, this will shows where IIS is sending the user to. Don't filter the procmon first, i think you can look at where IIS is sending the user to.
It is actually IIS 7.5 I believe. Im running Server 2008 R2. [This is the HTTP to the server: http://www.cubicintellect.com/] Ill get hold of filemon and see what's happening, thanks so far!
Ok ive re-looked at procmon and its file summary etc. It turns up nothing useful it seems, here are a number of screenshots I have produced to see if you can see the problem?
I have deleted IIS, removed the inetpub folder and re-installed to ensure everything was at default settings.
I then added FTP to the default site, again with the same 503 Error:
C:\Users\Administrator>ftp 127.0.0.1
Connected to 127.0.0.1.
220 Microsoft FTP Service
User (127.0.0.1:(none)): rubix
331 Password required for rubix.
Password:
530-User cannot log in, home directory inaccessible.
Win32 error: Access is denied.
Error details: Authorization rules denied the access.
530 End
Login failed.
ftp>
However if I add an allow rule in "FTP Authorisation Rules" for "All Users" I can login with the same credentials. (IIS is sending the users to the correct location: "C:\inetpub\wwwroot" ?? Any Ideas because im completely confused. I dont have anything critical
running on the server so if someone would like to look at it via RDP id like to PM the credentials. [Edit] If I allow the group "Administrators" which "rubix" is a member of, it allows the login also. But if I specify the user "rubix" as the only allowed user
I get the above error.
In new ftp, you need to configure authorization before any access. and now it supports both Windows and IIS users, giving you more flexibility. For the folder direction, you must have add it to default web site (ftp publishing) I suggest you read the articles
here to know more about this new ftp component from MS. http://learn.iis.net/page.aspx/356/ftp-7-for-iis-70/
Cheers,
Bernard Cheah
Marked as answer by Leo Tang - MSFT on Dec 18, 2009 06:59 AM
Hello I have exactly the same problem on Win 2008 R2. I could make an FTP publication on a first website but when I try to configure the FTP publication for a second website, it doesn't work... Here the error message from the CMD ftp connection: 530-User cannot
log in, home directory inaccessible. Win32 error: Access is denied. Error details: Authorization rules denied the access. Any idea? Thank for your support
Hello I have found an error message telling that the second website ftp publication uses the same port (21) than the first website ftp publication... Does it mean that we cannot use the same FTP port for all the websites publication? If so, well, this feature
is useless and I'll use Serv-U ftp server again as I did for all my IIS 4, 5 & 6 servers Regards
when you got authorization error, check if you have authorize those user access in ftp authorization. for multiple ftp site on the same IP/port binding, look at the ftp virtual host name feature in the new IIS 7.5 release, you can read more from the link
I posted earlier...
Instinct64
5 Posts
530 User cannot log in, home directory inaccessible. [7.5 FTP Server 2008 R2]
Dec 12, 2009 07:49 PM|LINK
FTP 503 home directory inaccessible
qbernard
5019 Posts
MVP
Moderator
Re: 530 User cannot log in, home directory inaccessible. [7.5 FTP Server 2008 R2]
Dec 13, 2009 05:54 AM|LINK
That will be IIS 6, are you using any ftp user isolation feature?
The best way to trace this is still via filemon or procmon, this will shows where IIS is sending the user to. Don't filter the procmon first, i think you can look at where IIS is sending the user to.
Bernard Cheah
Instinct64
5 Posts
Re: 530 User cannot log in, home directory inaccessible. [7.5 FTP Server 2008 R2]
Dec 13, 2009 01:17 PM|LINK
Instinct64
5 Posts
Re: 530 User cannot log in, home directory inaccessible. [7.5 FTP Server 2008 R2]
Dec 13, 2009 01:42 PM|LINK
Much Appreciated.
Chris.
Instinct64
5 Posts
Re: 530 User cannot log in, home directory inaccessible. [7.5 FTP Server 2008 R2]
Dec 13, 2009 02:38 PM|LINK
I then added FTP to the default site, again with the same 503 Error:
C:\Users\Administrator>ftp 127.0.0.1
However if I add an allow rule in "FTP Authorisation Rules" for "All Users" I can login with the same credentials. (IIS is sending the users to the correct location: "C:\inetpub\wwwroot" ?? Any Ideas because im completely confused. I dont have anything critical running on the server so if someone would like to look at it via RDP id like to PM the credentials. [Edit] If I allow the group "Administrators" which "rubix" is a member of, it allows the login also. But if I specify the user "rubix" as the only allowed user I get the above error.Connected to 127.0.0.1.
220 Microsoft FTP Service
User (127.0.0.1:(none)): rubix
331 Password required for rubix.
Password:
530-User cannot log in, home directory inaccessible.
Win32 error: Access is denied.
Error details: Authorization rules denied the access.
530 End
Login failed.
ftp>
qbernard
5019 Posts
MVP
Moderator
Re: 530 User cannot log in, home directory inaccessible. [7.5 FTP Server 2008 R2]
Dec 14, 2009 01:27 AM|LINK
In new ftp, you need to configure authorization before any access. and now it supports both Windows and IIS users, giving you more flexibility. For the folder direction, you must have add it to default web site (ftp publishing) I suggest you read the articles here to know more about this new ftp component from MS.
http://learn.iis.net/page.aspx/356/ftp-7-for-iis-70/
Bernard Cheah
Instinct64
5 Posts
Re: 530 User cannot log in, home directory inaccessible. [7.5 FTP Server 2008 R2]
Dec 14, 2009 01:52 PM|LINK
Marvin256
9 Posts
Re: 530 User cannot log in, home directory inaccessible. [7.5 FTP Server 2008 R2]
Jan 28, 2010 09:41 AM|LINK
Marvin256
9 Posts
Re: 530 User cannot log in, home directory inaccessible. [7.5 FTP Server 2008 R2]
Jan 28, 2010 02:43 PM|LINK
qbernard
5019 Posts
MVP
Moderator
Re: 530 User cannot log in, home directory inaccessible. [7.5 FTP Server 2008 R2]
Feb 02, 2010 12:25 AM|LINK
when you got authorization error, check if you have authorize those user access in ftp authorization. for multiple ftp site on the same IP/port binding, look at the ftp virtual host name feature in the new IIS 7.5 release, you can read more from the link I posted earlier...
Bernard Cheah