« Previous Next »

Thread: IIS6 Anonymous Access

Last post 10-14-2009 6:03 AM by WenJun Zhang - MSFT. 3 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (4 items)

Sort Posts:

  • 10-08-2009, 4:22 PM

    • sidavid
    • Not Ranked
    • Joined on 10-08-2009, 8:18 PM
    • Posts 2

    IIS6 Anonymous Access

    Hello,

    I do a problem that's I do not really understand. I installed a FTP server on Windows Server 2003. I would like to enable anonymous access on the FTP server. Here are my tests:

    C: \ Documents and Settings \ Admin> ftp localhost
    Connected to ServerName.
    220 Microsoft FTP Service
    User (ServerName: (none)): anonymous
    331 Anonymous access allowed, send identity (e-mail name) as password.
    Password:
    530 User Anonymous can not log in.
    Login failed.
    ftp>

    The same user that is used for anonymous in the IIS console:

    C: \ Documents and Settings \ Admin> ftp localhost
    Connected to ServerName.
    220 Microsoft FTP Service
    User (ServerName: (none)): any
    331 Password required for any.
    Password:
    230 -*****************************
    Welcome to the FTP site
    *****************************
    230 User logged in. any.
    ftp>

    The password is configured in the IIS console, the anonymous access is enabled and the user has the NTFS permissions on the directory. This server is on a domain.

    Thank you for your help

    The SMTP server logs:

    19:58:58 127.0.0.1 [24] USER anonymous 331
    19:59:00 127.0.0.1 [24] PASS - 530
    20:11:27 127.0.0.1 [24] QUIT - 530
    20:11:33 127.0.0.1 [25] any USER 331
    20:11:34 127.0.0.1 [25] PASS - 230

    Thanks

    David

  • 10-08-2009, 9:32 PM In reply to

    Re: IIS6 Anonymous Access

    530 means the anonymous user doesn't have permissions.  I'd run process monitor by sysinternals, add the username column to see what folder is being denied.

    Steve Schofield
    Windows Server MVP - IIS
    http://weblogs.asp.net/steveschofield


    http://www.IISLogs.com
    Log archival solution
    Install, Configure, Forget
  • 10-09-2009, 1:51 PM In reply to

    • sidavid
    • Not Ranked
    • Joined on 10-08-2009, 8:18 PM
    • Posts 2

    Re: IIS6 Anonymous Access

    Steve,

    I run Proccess Monitor and I see nothing with my user. The only thing that's I have is:

    1:45:03.8284555 PM    lsass.exe    492    RegOpenKey    HKLM\SAM\SAM\DOMAINS\Account\Users\Names\any    SUCCESS        NT AUTHORITY\SYSTEM    09/10/2009 1:45:03 PM

    1:45:03.8285213 PM    lsass.exe    492    RegQueryValue    HKLM\SAM\SAM\Domains\Account\Users\Names\any\(Default)    SUCCESS    Type: <Unknown: 1100>, Length: 0    NT AUTHORITY\SYSTEM    09/10/2009 1:45:03 PM

    1:45:03.8285866 PM    lsass.exe    492    RegCloseKey    HKLM\SAM\SAM\Domains\Account\Users\Names\any    SUCCESS        NT AUTHORITY\SYSTEM    09/10/2009 1:45:03 PM 

    I see that in the system log:


    Event Type:    Warning
    Event Source:    MSFTPSVC
    Event Category:    None
    Event ID:    100
    Date:        09/10/2009
    Time:        1:45:03 PM
    User:        N/A
    Computer:    ServerName
    Description:
    The server was unable to logon the Windows NT account 'any' due to the following error: The specified procedure could not be found.  The data is the error code.

    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
    Data:
    0000: 7f 00 00 00

    Thanks

    David

  • 10-14-2009, 6:03 AM In reply to

    Re: IIS6 Anonymous Access

    Hi David,

    According to the error event, the issue should be caused by IIS FTP failed to logon 'any' as its anonymous account. That's the reason why anonymous access doesn't work. My suggestion is you can refer to below article to create a new account, make sure it has all the NTFS, registry, group policy permissions which IUSR_<machinename> and Users group have. Then you can set this new account as the FTP anonymous user and test again.

    How to set required NTFS permissions and user rights for an IIS 5.0, IIS 5.1, or IIS 6.0 Web server
    http://support.microsoft.com/kb/271071/en-us

    Default permissions and user rights for IIS 6.0
    http://support.microsoft.com/?id=812614

     

     

    WenJun Zhang - MSFT
    Sincerely
    Microsoft Online Community Support

    “Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
Page 1 of 1 (4 items)
Microsoft Communities