For a while, I’ve been trying to set up SharePoint 2007 publishing using ISA Server 2006 with Kerberos delegation.
There are numerous articles available on how to accomplish this task, but even when doing things just fine, I came across one nasty error.
Some user were not able to login to the SharePoint farm and were seeing this error message:
Value cannot be null.
Parameter name: ptr
After some try and error, I could reproduce this behavior by following these steps:
- Create a new user on your AD
- Do NOT log in with this user on any domain resource yet (website, workstation, …)
- Log in from external (so via the ISA) with this user, specifying the username as the UPN username (username@domain)
The only solution I found was not using Kerberos delegation on the SharePoint publishing rule but instead using NTLM authentication.
Lately, I came across this Microsoft KB:
KB946358 - The LsaLookupSids function may return the old user name instead of the new user name if the user name has changed on a domain controller
Implementing this registry key with a value of 0 on the SharePoint front-end web servers did the trick and I was finally able to configure SharePoint publishing using Kerberos delegation through ISA 2006.