What could be the reason for consistent failure when calling DsMakeSpn? The error code is 87.
Thanks in advance!!
What could be the reason for consistent failure when calling DsMakeSpn? The error code is 87.
Thanks in advance!!
I suspect that the problem is not Windows Server 2008 itself. Here is some information about your error code from MSDN:
ERROR_INVALID_PARAMETER 87 (0x57) The parameter is incorrect.
Make sure your parameters are correct.
After making sure your parameters are correct, see if you need elevated permissions to perform the action. The security model in Windows 2008 is more restrictive than Windows 2003. Try running your program with elevated permissions by right-clicking and choosing "Run as administrator". If you need to debug as administrator, you can right click on your IDE and run it as administrator.
The problem has been pinpointed: The SPN in ADSI was written in upper case letters, when the function parameters (ServiceName) were written in lower case.
Anyway - does someone know what can cause ADSI to be case sensitive?
Thanks.
Is the DC you're contacting a Read-Only Domain Controller (RODC)? This is new to Windows 2008. Also, there is a specific permission that controls whether you can set SPN's on an object. Is this a host-based service? What are the specific parameters (abstracted is fine)?