I am trying to track down an error where a call that is made to the K2SPListItems web service on teh SharePoint box fails with a 401 / not authorized.
I can see why it's a 401 - there is no user name passed in with the SOAP request, so it is being treated as anonymous and rejected. But I can't understand where the anonymous is coming from. Kerberos appears to be working fine (for instance, all accesses to SQL Server happen via Kerberos and all the event id 540's show Kerberos).
One thing I noticed on the K2 log is that all of the Execute SmartObject steps in my system run under anonymous:
| 10040 | SmartObjects | ExecuteSmartObjects | Debug | SourceCode.SmartObjects.Runtime [Byte[] ExecuteInstance(Byte[], Boolean, System.Data.DataTable)] | 10040 Execution request received. | anonymous | 0.0.0.0 | MultiK201:c:program files (x86)k2 blackpearlHost ServerBin | 885867 |
So my question is: is that normal or is that part of my problem? (I should add that the SharePoint web service access is happening inside a SmartObject process.)
Does anyone know where the SmartObject process actually runs and if there is a way to make it run under the K2 Host process id?
Thanks