[quoted text, click to view] On 12 Jul 2004 12:22:48 -0700, neomuzic@yahoo.com (n) wrote:
>Hi everyone,
>
>Windows 2000 IIS 5 SP4
>
>I have one domain with 1 IP with about 40 virtual directories.
>
>My question I have is why would all of them work but as I add new ones
>they don't work? After I need to go through a process that I've tried
>to nail down to get this to work.
>
>Anonymous users are enabled but they get tossed into
>d:\domains\defaultftp
>
>Virtual directory setup:
>D:\domains\defaultftp
>D:\domains\testdomain.com
>
>I setup a virtual directory called testaccount which matches the
>username of testaccount pointing to the directory
>D:\domains\testdomain.com All of my virtual directories are setup
>this way.
>
>When I can't ftp with that user I receive: 530 User testaccount cannot
>log in, home directory inaccessible.
>
>Here is how it can be fixed but doesn't always work:
>1) Make sure the user has full permissions for the directory
>2) delete virtual directory
>3) create virtual directory again
>4) stop and start ftp service
>5) wait about 15 minutes
>
>Any ideas? Bug?
>
>I've done some testing and looking into this and notice that the ftp
>service will have old information but after time it will refresh.
>
>I did this example: Same everything as above with one difference,
>domain 1 2 and 3 are blank folders. I setup those for virtual
>directories to point to
>D:\domains\domain1 2 and so on.
>
>D:\domains\testaccount\domain1
>D:\domains\testaccount\domain2
>D:\domains\testaccount\domain3
>
>If I'm able to ftp in and it works great then domain1 will goto
>d:\domains\domain1 but if not I'll get the home directory error. But
>I noticed if you change the virtual directory info and ftp back in
>within a minute, the information will be wrong. So there must be kind
>of delay..
>
>Ideas ?
Yes, it isn't a bug its a feature - seriously :
Changing the Default Interval for User Tokens in IIS
http://support.microsoft.com/?id=152526 Your wait of 'about' 15 minutes is exactly right. Is this what you are
referring to ?
Regards,
Paul Lynch