Uploaded image for project: 'Service Packs and Hot Fixes'
  1. Service Packs and Hot Fixes
  2. MNT-453

when chain is alfrescoNtlm then ldap, external users cannot login

    Details

    • Escalated:
      Yes
    • ACT Numbers:

      41085

      Description

      related to ALF-12242 but not the same as there is not need to create a user manually

      How to reproduce?
      ==================
      1) create a plain vanilla alfresco 4.0 (linux tomcat mysql) with
      authentication chain:

      alfrescoNtlm:alfrescoNtlm,ldap:ldap

      2) as 'admin' create a site 'site1'

      ...Add External Users
      First Name:
      Last Name:
      Email:

      3) optionally, before pressing the invite button you can intercept the mail with
      tcpdump -s0 -w dump1.pcap port 25
      and decode it

      Result:
      ========
      Accept link works
      but login and password do not work

      Expected result:
      ==============
      Login and password work

      1. 864err.rar
        322 kB
        Alfresco QA Team
      2. sample_invite.html
        6 kB
        Alex Madon
      1. invite_shot.png
        132 kB

        Issue Links

          Activity

          amadon Alex Madon created issue -
          amadon Alex Madon made changes -
          Field Original Value New Value
          Link This issue relates to ALF-12242 [ ALF-12242 ]
          asolerasenci Antonio Soler-Asenci made changes -
          Priority Unprioritized [ 11 ] Major [ 3 ]
          ahunt Andrew Hunt made changes -
          Assignee Sustaining Support Team [ alf_sustaining ] Andrew Hunt [ ahunt ]
          ahunt Andrew Hunt made changes -
          Assignee Andrew Hunt [ ahunt ] Repo Team Unassigned [ repoteam ]
          Fix Version/s 4.0.2 [ 11322 ]
          Escalation level Reviewed [ 10171 ]
          Component/s Authentication and Permissions [ 10582 ]
          Component/s Sustaining [ 10760 ]
          dhulley Derek Hulley made changes -
          Assignee Repo Team Unassigned [ repoteam ] David Ward [ dward ]
          jcohorn jcohorn made changes -
          Priority Major [ 3 ] Critical [ 2 ]
          Hide
          amadon Alex Madon added a comment -

          attaching sample invite: this issue basically is about:

          we send an email with 'you can log in into share here is your username and passwd' and when the person receiving the mail tries that login fails.

          Show
          amadon Alex Madon added a comment - attaching sample invite: this issue basically is about: we send an email with 'you can log in into share here is your username and passwd' and when the person receiving the mail tries that login fails.
          amadon Alex Madon made changes -
          Attachment invite_shot.png [ 29803 ]
          Attachment sample_invite.html [ 29804 ]
          dward Dave Ward [X] (Inactive) made changes -
          Status New [ 10001 ] Open [ 1 ]
          dward Dave Ward [X] (Inactive) made changes -
          Resource External [ 10060 ]
          Assignee David Ward [ dward ] Investigation Queue [ investigation ]
          Status Open [ 1 ] Investigate [ 10004 ]
          Hide
          hermelin Anne Hermelin (Inactive) added a comment -

          If you search the newly created user in the NodeBrowser with a lucene query "@usr\\:username:\"

          {userName}

          \"", you find out that the user is not enabled. Running a webscript that basically does
          userInTheUserStore.properties["usr:enabled"] = true;
          userInTheUserStore.save();
          Sorts out the problem.

          Show
          hermelin Anne Hermelin (Inactive) added a comment - If you search the newly created user in the NodeBrowser with a lucene query "@usr\\:username:\" {userName} \"", you find out that the user is not enabled. Running a webscript that basically does userInTheUserStore.properties ["usr:enabled"] = true; userInTheUserStore.save(); Sorts out the problem.
          ahunt Andrew Hunt made changes -
          Assignee Investigation Queue [ investigation ]
          Escalation level Reviewed [ 10171 ] Service Pack [ 10080 ]
          dward Dave Ward [X] (Inactive) made changes -
          Priority Critical [ 2 ] Blocker [ 1 ]
          dward Dave Ward [X] (Inactive) made changes -
          Status Investigate [ 10004 ] Open [ 1 ]
          Assignee David Ward [ dward ]
          dward Dave Ward [X] (Inactive) made changes -
          Assignee David Ward [ dward ] Investigation Queue [ investigation ]
          Status Open [ 1 ] Investigate [ 10004 ]
          Hide
          dward Dave Ward [X] (Inactive) added a comment -

          So the problem may be to do with user enabling

          Show
          dward Dave Ward [X] (Inactive) added a comment - So the problem may be to do with user enabling
          dvaserin Dmitry Vaserin made changes -
          Assignee Investigation Queue [ investigation ] Dmitry Vaserin [ dvaserin ]
          dvaserin Dmitry Vaserin made changes -
          Status Investigate [ 10004 ] Investigating [ 10006 ]
          dvaserin Dmitry Vaserin made changes -
          Remaining Estimate 0 minutes [ 0 ]
          Time Spent 2 hours [ 7200 ]
          Worklog Id 23194 [ 23194 ]
          dvaserin Dmitry Vaserin made changes -
          Date_Investigated 20/Mar/12 [ 2012-03-20 ]
          Status Investigating [ 10006 ] Investigated [ 10008 ]
          Assignee Repo Team Unassigned [ repoteam ] David Ward [ dward ]
          dward Dave Ward [X] (Inactive) made changes -
          Link This issue is related to by ALF-12242 [ ALF-12242 ]
          dward Dave Ward [X] (Inactive) made changes -
          Status Investigated [ 10008 ] Resolved [ 5 ]
          Assignee David Ward [ dward ] QA Backlog Unassigned [ qabacklog ]
          Fix Version/s 4.0.1 [ 11020 ]
          Fix Version/s 4.0.2 [ 11322 ]
          Resolution Fixed [ 1 ]
          rmanthena Ravi Manthena made changes -
          Assignee QA Backlog Unassigned [ qabacklog ] Alfresco QA Team [ alfrescoqa ]
          Hide
          alfrescoqa Alfresco QA Team added a comment -

          I've checked this issue on Alfresco Enterprise v.4.0.1 (build 864) Tomcat, PostgreSQL, Java 6 (all installer deployed) Client: Win7 SP1 x64, FF11.

          I'm able to login to Alfresco using credentials of any ldap user . But when I click the invitation URL from invitation letter my browser redirects me to the page with 500 - Internal error. Please refer to fail2.jpg. If I manually try to login to Alfresco Share and using My Task try to accept the invitation I get "Failure" notification (refer to fail1.jpg).

          alfresco-global, fail1.jpg, fail2.jpg and log file were attached to 864err.rar file.

          VadimZh

          Show
          alfrescoqa Alfresco QA Team added a comment - I've checked this issue on Alfresco Enterprise v.4.0.1 (build 864) Tomcat, PostgreSQL, Java 6 (all installer deployed) Client: Win7 SP1 x64, FF11. I'm able to login to Alfresco using credentials of any ldap user . But when I click the invitation URL from invitation letter my browser redirects me to the page with 500 - Internal error. Please refer to fail2.jpg. If I manually try to login to Alfresco Share and using My Task try to accept the invitation I get "Failure" notification (refer to fail1.jpg). alfresco-global, fail1.jpg, fail2.jpg and log file were attached to 864err.rar file. VadimZh
          alfrescoqa Alfresco QA Team made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Assignee Alfresco QA Team [ alfrescoqa ] Repo Team Unassigned [ repoteam ]
          alfrescoqa Alfresco QA Team made changes -
          Attachment 864err.rar [ 30236 ]
          alfrescoqa Alfresco QA Team made changes -
          Assignee Repo Team Unassigned [ repoteam ] Steve Rigby [ srigby ]
          dward Dave Ward [X] (Inactive) made changes -
          Status Reopened [ 4 ] Open [ 1 ]
          Original Estimate 0 minutes [ 0 ]
          Assignee Steve Rigby [ srigby ] David Ward [ dward ]
          dward Dave Ward [X] (Inactive) made changes -
          Assignee David Ward [ dward ] Investigation Queue [ investigation ]
          Status Open [ 1 ] Investigate [ 10004 ]
          dvaserin Dmitry Vaserin made changes -
          Assignee Investigation Queue [ investigation ] Dmitry Vaserin [ dvaserin ]
          dvaserin Dmitry Vaserin made changes -
          Status Investigate [ 10004 ] Investigating [ 10006 ]
          dvaserin Dmitry Vaserin made changes -
          Time Spent 2 hours [ 7200 ] 1 day [ 28800 ]
          Worklog Id 23298 [ 23298 ]
          dvaserin Dmitry Vaserin made changes -
          Time Spent 1 day [ 28800 ] 2 days [ 57600 ]
          Worklog Id 23382 [ 23382 ]
          dvaserin Dmitry Vaserin made changes -
          Time Spent 2 days [ 57600 ] 2 days, 7 hours, 30 minutes [ 84600 ]
          Worklog Id 23396 [ 23396 ]
          dvaserin Dmitry Vaserin made changes -
          Date_Investigated 20/Mar/12 [ 2012-03-20 ] 29/Mar/12 [ 2012-03-29 ]
          Status Investigating [ 10006 ] Investigated [ 10008 ]
          Assignee Repo Team Unassigned [ repoteam ] David Ward [ dward ]
          Hide
          dward Dave Ward [X] (Inactive) added a comment -

          Corrected fix to ALF-12242

          Show
          dward Dave Ward [X] (Inactive) added a comment - Corrected fix to ALF-12242
          dward Dave Ward [X] (Inactive) made changes -
          Status Investigated [ 10008 ] Resolved [ 5 ]
          Assignee David Ward [ dward ] QA Backlog Unassigned [ qabacklog ]
          Resolution Fixed [ 1 ]
          rmanthena Ravi Manthena made changes -
          Assignee QA Backlog Unassigned [ qabacklog ] Alfresco QA Team [ alfrescoqa ]
          Hide
          alfrescoqa Alfresco QA Team added a comment -

          The issue is not reproduced on Enterprise - v4.0.1 (880), RHEL 5.5 x64bit, MySQL 5.5, mysql-connector-java-5.1.17-bin.jar, Tomcat 6.0.35, JDK 6 U27 X64, Alfresco+ OpenLDAP 2.4.23, Clustering Schema 2, FF 10.0, Windows 7
          TatianaK

          Show
          alfrescoqa Alfresco QA Team added a comment - The issue is not reproduced on Enterprise - v4.0.1 (880), RHEL 5.5 x64bit, MySQL 5.5, mysql-connector-java-5.1.17-bin.jar, Tomcat 6.0.35, JDK 6 U27 X64, Alfresco+ OpenLDAP 2.4.23, Clustering Schema 2, FF 10.0, Windows 7 TatianaK
          alfrescoqa Alfresco QA Team made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Assignee Alfresco QA Team [ alfrescoqa ] Closed Issues [ closedissues ]
          adavis Alan Davis made changes -
          Status Closed [ 6 ] Editable Closed [ 10061 ]
          adavis Alan Davis made changes -
          Assignee Closed Issues [ closedissues ] Closed Bugs [ closedbugs ]
          adavis Alan Davis made changes -
          Project Alfresco [ 10281 ] Service Packs and Hot Fixes [ 11350 ]
          Key ALF-13289 MNT-453
          Workflow Alfjira_II_PM [ 140591 ] Service Packs and Hot Fixes [ 172247 ]
          Issue Type Bug [ 1 ] Service Pack Request [ 39 ]
          Resource External [ 10060 ]
          Fix Version/s 4.0.1 [ 12749 ]
          Fix Version/s 4.0.1 [ 11020 ]
          Rank (Obsolete) 61160000000
          Date_Investigated 29/Mar/12 [ 2012-03-29 ]
          Escalated Yes [ 10470 ]
          Status Transition Date 02/Apr/12 12:50 PM [ 2012-04-02T12:50+0100 ]
          Affects Version/s 4.0 [ 12748 ]
          Affects Version/s 4.0 [ 10653 ]
          Escalation level Service Pack [ 10080 ]
          Component/s Authentication and Permissions [ 12277 ]
          Component/s Authentication and Permissions [ 10582 ]
          adavis Alan Davis made changes -
          Status Editable Closed [ 10061 ] Closed [ 6 ]
          adavis Alan Davis made changes -
          Workflow Service Packs and Hot Fixes [ 172247 ] Service Packs and Hot Fixes - rm EC [ 184753 ]
          adavis Alan Davis made changes -
          Workflow Service Packs and Hot Fixes - rm EC [ 184753 ] Service Packs and Hot Fixes [ 192044 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          New New Open Open
          3d 1h 28m 1 Dave Ward [X] (Inactive) 16-Mar-12 02:06 PM
          Investigate Investigate Open Open
          2d 23h 15m 1 Dave Ward [X] (Inactive) 19-Mar-12 01:21 PM
          Resolved Resolved Reopened Reopened
          5d 18h 53m 1 Alfresco QA Team 27-Mar-12 11:49 AM
          Reopened Reopened Open Open
          1m 48s 1 Dave Ward [X] (Inactive) 27-Mar-12 11:50 AM
          Open Open Investigate Investigate
          33s 3 Dave Ward [X] (Inactive) 27-Mar-12 11:51 AM
          Investigate Investigate Investigating Investigating
          1d 3m 2 Dmitry Vaserin 27-Mar-12 12:58 PM
          Investigating Investigating Investigated Investigated
          2d 4h 8m 2 Dmitry Vaserin 29-Mar-12 03:11 PM
          Investigated Investigated Resolved Resolved
          2d 30m 2 Dave Ward [X] (Inactive) 30-Mar-12 01:58 PM
          Resolved Resolved Closed Closed
          2d 22h 52m 1 Alfresco QA Team 02-Apr-12 12:50 PM
          Closed Closed Removed Status Removed Status
          350d 4h 27m 1 Alan Davis 18-Mar-13 04:18 PM
          Removed Status Removed Status Closed Closed
          17h 24m 1 Alan Davis 19-Mar-13 09:43 AM

            People

            • Assignee:
              closedbugs Closed Bugs
              Reporter:
              amadon Alex Madon
            • Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 days, 7 hours, 30 minutes
                2d 7h 30m