Re: Error connecting to ftp due to localuser default



I apologize, you only caught my reply to a different thread. Here is the
original starting point for you get get the jist of what is going on.

Greetings,

Windows Server 2003
Isolated FTP site created.

After setting up a virtual directory I try to log into the ftp and receive a
"530 User <username> cannot log in, home directory inaccessible". Everything
I have read to trouble-shoot this is negated because I followed the correct
steps to the T. I checked the Event Viewer and it says the account
succesfully logged onto the server, but it also says the prior error.

I then ran SysInternals Filemon on the server and tried to connect. I
isolated the attempt in Filemon and found that it was trying to access a
different path. Here is the path I set "F:\general\directory" (names
changed). Here is the path Filemon says it the user is trying to connect to
"F:\general\LocalUser\directory". That struck me by suprise.

The next step I took was create a directory called "LocalUser" under
"F:\General" and move the directory I need to access into "LocalUser". I did
not change the path in the IIS Virtual Directory. I attempted to connect and
had success.

I then proceeded to move the other directories I needed to create accounts
for into the "LocalUser" directory. I created a Virtual Directory for a few
of them using the new path, tried to connect to them and received the same
error "530 User <username> cannot log in, home directory inaccessible". It's
now trying to send the user to "F:\General\LocalUser\LocalUser\<directory
name>.

Please advise me on what I might be missing here. Is there some hidden
configuration I need to change? Do I have to create each 100+ Virtual
Directory and then move them into the "LocalUser" directory? I'm completely
stumped.

Thanks for you time,


"Bernard Cheah [MVP]" <qbernard@xxxxxxxxxxxxxxxxxxx> wrote in message
news:%23LV4$sO6FHA.4076@xxxxxxxxxxxxxxxxxxxxxxx
>I hope I have understand what you need from this thread.
> I'm thinking you should first setup all the user folder in FTP space.
> E.g. f:\general\localuser\xxxx
>
> The use ADSI scripts to create all the virtual directory for Web.
> e.g. http://yourserver.com/user1 -> f:\general\localuser\user1
>
> and don't forget to disable anonymous for ftp access
>
> --
> Regards,
> Bernard Cheah
> http://www.iis-resources.com/
> http://www.iiswebcastseries.com/
> http://www.msmvps.com/bernard/
>
>
> "jmg3564" <jmg3564@xxxxxxxxxxxxxxxx> wrote in message
> news:EEB8F628-A1DB-4CB7-9EB9-EBD5B9326A77@xxxxxxxxxxxxxxxx
>> Sorry for the delay.
>>
>> Here's the reason for the seperate Virtual Directories. In our business
>> I
>> can not just have a user account go to one directory that lists the
>> folder
>> for every other company/person we are dealing with. When the user logs
>> in to
>> the ftp with their username and password I need it to go directly to
>> their
>> specified folder. These are not internal users. They are companies or
>> people uploading or downloading items for our/their review and so on.
>>
>> At this moment in time the only resolution I can see is dumping all the
>> folders in one main directory (ie. F:\General). Then create all the
>> virtual
>> directories for the 100+ folders. Then create a folder called
>> "LocalUser"
>> and move all those folders in there like I had to do when figuring out
>> the
>> problem.
>>
>> Any more insight would be helpful.
>>
>> THanks,
>> --
>> Joseph Grant
>> Manager of IT
>>
>>
>> "Chris Crowe [MVP 2005/2006]" wrote:
>>
>>> Let me take you through a scenario.
>>>
>>> 1) Create New FTP Site
>>> 2) Home Directory points to c:\inetpub\ftpsites\isolated
>>> 3) We setup ISOLATED users (Not using the AD option - the middle option)
>>>
>>> 4) We log on with an account who can log onto the FTP Server
>>>
>>> This is what we get:
>>>
>>> 220 Microsoft FTP Service
>>> USER ccrowe
>>> 331 Password required for ccrowe.
>>> PASS (hidden)
>>> 530 User ccrowe cannot log in, home directory inaccessible.
>>> QUIT
>>>
>>> Because we are using ISOLATED users we must create the folder called
>>> "LOCALUSER"
>>>
>>> md c:\inetpub\ftpsites\isolated\localuser
>>>
>>> Now we must create a folder for the user. In this case "ccrowe"
>>>
>>> md c:\inetpub\ftpsites\isolated\localuser\ccrowe
>>>
>>> Create a text file or something in there to know we are in the correct
>>> place.
>>>
>>> This is all that should be needed - one folder for each user.
>>>
>>> I am not sure what you are doing with Virtual Directories as you do not
>>> need
>>> to create them in this simple scenario.
>>>
>>> One Caviet:
>>>
>>> If you are running this on a Windows 2003 Domain Controller such as
>>> SBS2003
>>> then you must make a change!
>>>
>>> Instead of the LocalUser folder you must create a folder with the name
>>> of
>>> your Domain.
>>>
>>> Let say my domain is "XYZ"
>>>
>>> md c:\inetpub\ftpsites\isolated\XYZ
>>>
>>> Now we must create a folder for the user. In this case "ccrowe"
>>>
>>> md c:\inetpub\ftpsites\isolated\XYZ\ccrowe
>>>
>>> I am running SBS2003 at home and this works for me and the user can log
>>> in.
>>>
>>> If you want to have shared folders for all of your isolated users see
>>> this
>>> article I wrote:
>>> http://blog.crowe.co.nz/archive/2005/09/03/246.aspx
>>>
>>> I think your problem is the creating of virtual directories for these
>>> users!
>>> --
>>>
>>> Cheers
>>>
>>> Chris
>>>
>>> Chris Crowe [MVP 2005/2006]
>>> http://blog.crowe.co.nz
>>>
>>> ------------------------------------------------
>>> "jmg3564" <jmg3564@xxxxxxxxxxxxxxxx> wrote in message
>>> news:5F43DBB3-C8A5-46E2-B6A7-CD4FD0A6836F@xxxxxxxxxxxxxxxx
>>> > Greetings,
>>> >
>>> > Windows Server 2003
>>> > Isolated FTP site created.
>>> >
>>> > After setting up a virtual directory I try to log into the ftp and
>>> > receive
>>> > a
>>> > "530 User <username> cannot log in, home directory inaccessible".
>>> > Everything
>>> > I have read to trouble-shoot this is negated because I followed the
>>> > correct
>>> > steps to the T. I checked the Event Viewer and it says the account
>>> > succesfully logged onto the server, but it also says the prior error.
>>> >
>>> > I then ran SysInternals Filemon on the server and tried to connect. I
>>> > isolated the attempt in Filemon and found that it was trying to access
>>> > a
>>> > different path. Here is the path I set "F:\general\directory" (names
>>> > changed). Here is the path Filemon says it the user is trying to
>>> > connect
>>> > to
>>> > "F:\general\LocalUser\directory". That struck me by suprise.
>>> >
>>> > The next step I took was create a directory called "LocalUser" under
>>> > "F:\General" and move the directory I need to access into "LocalUser".
>>> > I
>>> > did
>>> > not change the path in the IIS Virtual Directory. I attempted to
>>> > connect
>>> > and
>>> > had success.
>>> >
>>> > I then proceeded to move the other directories I needed to create
>>> > accounts
>>> > for into the "LocalUser" directory. I created a Virtual Directory for
>>> > a
>>> > few
>>> > of them using the new path, tried to connect to them and received the
>>> > same
>>> > error "530 User <username> cannot log in, home directory
>>> > inaccessible".
>>> > It's
>>> > now trying to send the user to
>>> > "F:\General\LocalUser\LocalUser\<directory
>>> > name>.
>>> >
>>> > Please advise me on what I might be missing here. Is there some
>>> > hidden
>>> > configuration I need to change? Do I have to create each 100+ Virtual
>>> > Directory and then move them into the "LocalUser" directory? I'm
>>> > completely
>>> > stumped.
>>> >
>>> > Thanks for you time,
>>> >
>>> > --
>>> > Joseph Grant
>>> > Manager of IT
>>>
>>>
>>>
>
>


.



Relevant Pages

  • Re: require password
    ... go to command prompt and connect ftp locally ... i created a virtual directory IN MY FTP SITE, ftpDir, it points to ... in their website folder, ...
    (microsoft.public.inetserver.iis.ftp)
  • Re: n00b question: Howto setup IIS on Server 2003 for FTP access to html files?
    ... I have installed IIS and FTP services. ... If you aren't going to use the FTPROOT folder, ... points to the web root for the web site a user will access. ... navigate to the alias name of the virtual directory. ...
    (microsoft.public.inetserver.iis)
  • Re: Error connecting to ftp due to localuser default
    ... No. from FTP perspective, it is design to have localuser folder. ... This is how it is design, I don't quite get you on the virtual directory ...
    (microsoft.public.inetserver.iis.ftp)
  • Re: Windows 2000 server & IIS FTP Multiuser question
    ... Configure the ftp root to some dummy folder. ... create two virtual directory and map to the user folders. ...
    (microsoft.public.inetserver.iis.ftp)
  • Re: Drag and Drop Index .pub files into mapped FTP folder 2 cng we
    ... folder on my hard drive where I can direct the output on a consistent basis. ... when you upload to the web...and I know where to look when it is time to FTP ... website you saw, and viewed MY COMPUTER, the index_files folder, contained ... when I save the Publisher .pub file, ...
    (microsoft.public.publisher.webdesign)

Loading