Commit 5b49e228 authored by Alistair Leslie-Hughes's avatar Alistair Leslie-Hughes Committed by Alexandre Julliard

ntdsapi: Add stubs DsServerRegisterSpnA, DsServerRegisterSpnW.

parent 52fa3bf4
......@@ -165,3 +165,23 @@ DWORD WINAPI DsGetSpnA(DS_SPN_NAME_TYPE ServType, LPCSTR Servlass, LPCSTR ServNa
return ERROR_CALL_NOT_IMPLEMENTED;
}
/***********************************************************************
* DsServerRegisterSpnA (NTDSAPI.@)
*/
DWORD WINAPI DsServerRegisterSpnA(DS_SPN_WRITE_OP operation, LPCSTR ServiceClass, LPCSTR UserObjectDN)
{
FIXME("(%d,%s,%s): stub!\n", operation,
debugstr_a(ServiceClass), debugstr_a(UserObjectDN));
return ERROR_CALL_NOT_IMPLEMENTED;
}
/***********************************************************************
* DsServerRegisterSpnW (NTDSAPI.@)
*/
DWORD WINAPI DsServerRegisterSpnW(DS_SPN_WRITE_OP operation, LPCWSTR ServiceClass, LPCWSTR UserObjectDN)
{
FIXME("(%d,%s,%s): stub!\n", operation,
debugstr_w(ServiceClass), debugstr_w(UserObjectDN));
return ERROR_CALL_NOT_IMPLEMENTED;
}
......@@ -80,8 +80,8 @@
@ stub DsReplicaUpdateRefsW
@ stub DsReplicaVerifyObjectsA
@ stub DsReplicaVerifyObjectsW
@ stub DsServerRegisterSpnA
@ stub DsServerRegisterSpnW
@ stdcall DsServerRegisterSpnA(long str str)
@ stdcall DsServerRegisterSpnW(long wstr wstr)
@ stub DsUnBindA
@ stub DsUnBindW
@ stub DsUnquoteRdnValueA
......
......@@ -39,6 +39,17 @@ typedef enum
DS_SPN_SERVICE = 5
} DS_SPN_NAME_TYPE;
typedef enum
{
DS_SPN_ADD_SPN_OP = 0,
DS_SPN_REPLACE_SPN_OP = 1,
DS_SPN_DELETE_SPN_OP = 2
} DS_SPN_WRITE_OP;
DWORD WINAPI DsServerRegisterSpnA(DS_SPN_WRITE_OP operation, LPCSTR ServiceClass, LPCSTR UserObjectDN);
DWORD WINAPI DsServerRegisterSpnW(DS_SPN_WRITE_OP operation, LPCWSTR ServiceClass, LPCWSTR UserObjectDN);
#define DsServerRegisterSpn WINELIB_NAME_AW(DsServerRegisterSpn)
#ifdef __cplusplus
}
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment