ntdsapi: Add stubs DsServerRegisterSpnA, DsServerRegisterSpnW.

This commit is contained in:
Alistair Leslie-Hughes 2011-08-31 15:34:07 +10:00 committed by Alexandre Julliard
parent 52fa3bf42d
commit 5b49e228ae
3 changed files with 33 additions and 2 deletions

View File

@ -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;
}

View File

@ -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

View File

@ -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