Link to home
Start Free TrialLog in
Avatar of TwEeD
TwEeD

asked on

530 user <username> cannot log in, home directory inaccessible. Login failed.

Hi!

I'm trying to set up some ftp account while my bro who administrates the server normally is gone (he forgot his cellphone...)

Gonna explain what I did / what I get:

Made a new website called hosted.nirwanakru.be which is a subdomain of www.nirwanakru.be, assigned the same ip, entered all the things in the dns etc.
The website has location F:\websites\nirwanakru.be\LocalUsers\hosted\

I created a new ftp site called hosted.nirwanakru.be assigned the port 666 to it and set the homedirectory to F:\websites\nirwanakru.be\LocalUsers\hosted\
Created a new user (lets call it userHosted) and gave F:\websites\nirwanakru.be\LocalUsers\hosted\users\userHosted\ as home directory
Created a virtual directory under the ftp site and called it userHosted, pointing to  F:\websites\nirwanakru.be\LocalUsers\hosted\users\userHosted\
Gave read/write permissions to this user through explorer (permissions)

Now when I try to logon on hosted.nirwanakru.be:666 with that user I get the error:
530 user userHosted cannot log in, home directory inaccessible. Login failed.

Anyone could help me on this? Did I miss something? (I'm not that driven in Windows 2003 server)

My bro is coming back way too late so any help would be HIGHLY appreciated!
Avatar of TwEeD
TwEeD

ASKER

To summarize what I want to do:

hosted.nirwanakru.be -> accessible only by admin and will be for website
hosted.nirwanakru.be/users/<username>/ -> accessible only by  username  (isolated)
did you give the User permissions for F:\websites\nirwanakru.be\LocalUsers\hosted too?
Avatar of TwEeD

ASKER

yes I did thatz why I completely don't get it
did you setup the FTP site with "Isolate Users" ?
Avatar of TwEeD

ASKER

I'm not sure anymore, where can I check this?
ASKER CERTIFIED SOLUTION
Avatar of WeHe
WeHe
Flag of Romania image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of TwEeD

ASKER

deleted the sited

recreated it with isolate users
set permissions for the user
created in IIS under the ftp a virtual directory called users
created under that virtual directory a directory called usesHosted
checked permissions

same error :(
check if any of the following errors are present:
The Allow only anonymous connections security setting has been turned on in the Microsoft Management Console (MMC).
The username does not have the Log on locally permission in User Manager.
The username does not have the Access this computer from the network permission in User Manager.
The Domain Name was not specified together with the username (in the form of DOMAIN\username).
Avatar of TwEeD

ASKER

The Allow only anonymous connections security setting has been turned on in the Microsoft Management Console (MMC).
>> anonymous connections in a whole are not turned on, I checked my other ftp sites and nowhere was this set so figured I didn't have to

The username does not have the Log on locally permission in User Manager.
The username does not have the Access this computer from the network permission in User Manager.
>> Can't seem to find this, you mean in Adminstrative tools> Computer management > users > <username> do you?


The Domain Name was not specified together with the username (in the form of DOMAIN\username).
>> is correctly set
some failure of mine:
>The username does not have the Access this computer from the network permission in User Manager.
This right is set in a domain policy or in Local Security Policy.
Administrative Tools -> Local Security Policy -> User right assignment -> "Log on localy"
Avatar of TwEeD

ASKER

Ok found it

The user is a member of users, and users is in those 2 policies