Workflow Soluiton

 View Only
  • 1.  Symantec Workflow Get Current User

    Posted Dec 21, 2010 12:11 PM

    Hi has anybody got a idea how when publishing the Workflow with Get CurrenUser Component

    You do not get the actual current user when attempting to access the deployed page?

     

    I have set the GetCurrentUser as WindowsPrinciple have changed the Web.Config to Windows Authentication and have also changed the security on IIS on the published server to be windows authentication unticking Anonymous access.

     

    Instead what I get is a login prompt to log into the webpage but I want everyone and anyone to be able to access the webpage and get current user to autopopulate the display name of the logged in user.

     

    Running as Localhost works fine however when published it either prompts to login but then fails with every account and if I leave as anonymous access then I only receive the Internet guest user account and not the AD account for user browsing the page....

     

    Any any ideas?



  • 2.  RE: Symantec Workflow Get Current User

    Posted Dec 21, 2010 12:46 PM

    When publishing, change from Windows Principal to HTTP Context and it should work.



  • 3.  RE: Symantec Workflow Get Current User

    Posted Dec 23, 2010 08:26 AM

     

    Your problem probably has to do with the authentication. You have to use the setspn commands to give your account (where the logicbase service runs with) enough rights to delegate.

     

    setspn -A http/(NETBIOSNAME 0f SD/WF Server) domain\APPIdentity (Account Running Application Pool)
    setspn -A http/(FQDN Name of SD/WF Server) domain\APPIdentity (Account Running Application Pool)

    You will also find more information in the altiris kb ID: 50971

    then it should work.

    Cheers

    winer



  • 4.  RE: Symantec Workflow Get Current User

    Posted Dec 23, 2010 09:02 AM

    Hi I tried HTTPContext but still same issue.

     

    in debug environment works as localhost but when accessing it once published fails again.

     

    Where do I set the SPN commands?



  • 5.  RE: Symantec Workflow Get Current User

    Posted Dec 27, 2010 01:25 PM

    Setspn Commands have nothing to do with the workflow. It has to do with your domain / Active Directory.

    You can set the setspn commands wherever you like, but you have to download the setspn tool first. I think they com with the windows server support tools. Google has the answer for you. :-)

     

    Cheers
    winer