In a distributed environment, when submitting InfoPath form to MOSS using Forms Services, got error "NT Authority\Anonymous Logon" at K2 HostServer.
This is caused by a bug in Forms Services as it fails to pass user's credentials who submits the form from server to server.
Workaround:
1. Create a new website using a different Port on the MOSS server, for example, port 8081
2. Install K2 blackpearl Workspace (the intent is just to use the runtime services)
3. Point the Web Service URL in your environment variable to the newly created Website
4. Switch SharePoint from using NTLM for authentication to Kerberos via SharePoint Central Administration
5. Set IIS Metabase of the newly created Workspace website to use “Negotiate,NTLM”
6. Add HTTP SPNs for the Workspace’s AppPool account
There is a Forms Service patch (KB941470). Contact Microsoft for more details.
Just adding to Frank's post about the MS hotfix (KB 941470). You must request this directly from Microsoft. You can submit a Hotfix Request here:
http://support.microsoft.com/hotfix/KBHotfix.aspx?kbnum=941470