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 ...@@ -165,3 +165,23 @@ DWORD WINAPI DsGetSpnA(DS_SPN_NAME_TYPE ServType, LPCSTR Servlass, LPCSTR ServNa
return ERROR_CALL_NOT_IMPLEMENTED; 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 @@ ...@@ -80,8 +80,8 @@
@ stub DsReplicaUpdateRefsW @ stub DsReplicaUpdateRefsW
@ stub DsReplicaVerifyObjectsA @ stub DsReplicaVerifyObjectsA
@ stub DsReplicaVerifyObjectsW @ stub DsReplicaVerifyObjectsW
@ stub DsServerRegisterSpnA @ stdcall DsServerRegisterSpnA(long str str)
@ stub DsServerRegisterSpnW @ stdcall DsServerRegisterSpnW(long wstr wstr)
@ stub DsUnBindA @ stub DsUnBindA
@ stub DsUnBindW @ stub DsUnBindW
@ stub DsUnquoteRdnValueA @ stub DsUnquoteRdnValueA
......
...@@ -39,6 +39,17 @@ typedef enum ...@@ -39,6 +39,17 @@ typedef enum
DS_SPN_SERVICE = 5 DS_SPN_SERVICE = 5
} DS_SPN_NAME_TYPE; } 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 #ifdef __cplusplus
} }
#endif #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