Uploaded image for project: 'Alfresco'
  1. Alfresco
  2. ALF-1778

FTP doesn't work with Kerberos/passthru in 2.2 SP6

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.2 Enterprise
    • Fix Version/s: None
    • Component/s: Repository
    • Labels:
      None
    • Environment:
      Alfresco 2.2 SP6 b513 Stack 1 RHEL 5, Tomcat 6.0.18, MySQL 5.1.40, JDK 5u16, Kerberos
    • Resolution Time Custom Field:
      79 weeks, 18 hours, 45 minutes, 26 seconds

      Description

      Steps to reproduce:

      1. Configure Alfresco to work with Kerberos;
      2. Configure FTP as passthru (Kerberos is not supported by FTP in 2.2):

      <config evaluator="string-compare" condition="FTP Server">
      <serverEnable enabled="true"/>
      <authenticator type="passthru">
      <Server>192.168.1.1</Server>
      </authenticator>
      <debug flags="File,Search,Error,Directory,Info,DataPort"/>
      </config>

      3. Add the following to the log4j.properties

      log4j.logger.org.alfresco.ftp.protocol=debug
      log4j.logger.org.alfresco.ftp.server=debug

      4. Try to login to FTP using address: ftp://192.168.4.43 (or ftp://192.168.4.43/Alfresco) --> Login/password are required. Domain account doesn't allow you to log in and login/pass form is shown again;
      5. Try to login to FTP using address: ftp://username:userpass@192.168.4.43 (or ftp://username^userpass@192.168.4.43/Alfresco) --> Login/password are required. Domain account doesn't allow you to log in and login/pass form is shown again;

      Logs show the following:

      12:00:27,539 DEBUG [org.alfresco.ftp.protocol] FTP session request received from 192.168.1.31
      12:00:28,359 DEBUG [org.alfresco.ftp.protocol] Logon failed for user anonymous
      12:00:28,360 DEBUG [org.alfresco.ftp.protocol] Error status=530, msg=Access denied
      12:00:31,592 DEBUG [org.alfresco.ftp.protocol] FTP session request received from 192.168.1.31
      12:00:31,776 DEBUG [org.alfresco.ftp.protocol] Logon failed for user Listing
      12:00:31,776 DEBUG [org.alfresco.ftp.protocol] Error status=530, msg=Access denied
      12:01:01,379 DEBUG [org.alfresco.ftp.protocol] FTP session request received from 192.168.1.31
      12:01:01,559 DEBUG [org.alfresco.ftp.protocol] Logon failed for user test
      12:01:01,559 DEBUG [org.alfresco.ftp.protocol] Error status=530, msg=Access denied

      AlexeyBu

        Attachments

          Activity

            People

            • Assignee:
              closedbugs Closed Bugs
              Reporter:
              alfrescoqa Alfresco QA Team
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: