1
0
mirror of https://github.com/wine-mirror/wine synced 2024-07-08 20:06:18 +00:00

ntdsapi: Add stub for DsGetSpnA.

This commit is contained in:
Alistair Leslie-Hughes 2011-07-12 22:49:52 +10:00 committed by Alexandre Julliard
parent 904f4ac843
commit 315599c650
3 changed files with 26 additions and 1 deletions

View File

@ -150,3 +150,18 @@ DWORD WINAPI DsMakeSpnA(LPCSTR svc_class, LPCSTR svc_name,
return ERROR_CALL_NOT_IMPLEMENTED;
}
/***********************************************************************
* DsMakeSpnA (NTDSAPI.@)
*/
DWORD WINAPI DsGetSpnA(DS_SPN_NAME_TYPE ServType, LPCSTR Servlass, LPCSTR ServName,
USHORT InstPort, USHORT nInstanceNames,
LPCSTR *pInstanceNames, const USHORT *pInstancePorts,
DWORD *pSpn, LPSTR **pszSpn)
{
FIXME("(%d,%s,%s,%d,%d,%p,%p,%p,%p): stub!\n", ServType,
debugstr_a(Servlass), debugstr_a(ServName), InstPort,
nInstanceNames, pInstanceNames, pInstancePorts, pSpn, pszSpn);
return ERROR_CALL_NOT_IMPLEMENTED;
}

View File

@ -29,7 +29,7 @@
@ stub DsGetDomainControllerInfoA
@ stub DsGetDomainControllerInfoW
@ stub DsGetRdnW
@ stub DsGetSpnA
@ stdcall DsGetSpnA(long str str long long ptr ptr ptr ptr)
@ stub DsGetSpnW
@ stub DsInheritSecurityIdentityA
@ stub DsInheritSecurityIdentityW

View File

@ -29,6 +29,16 @@ DWORD WINAPI DsMakeSpnA(LPCSTR, LPCSTR, LPCSTR, USHORT, LPCSTR, DWORD*, LPSTR);
DWORD WINAPI DsMakeSpnW(LPCWSTR, LPCWSTR, LPCWSTR, USHORT, LPCWSTR, DWORD*, LPWSTR);
#define DsMakeSpn WINELIB_NAME_AW(DsMakeSpn)
typedef enum
{
DS_SPN_DNS_HOST = 0,
DS_SPN_DN_HOST = 1,
DS_SPN_NB_HOST = 2,
DS_SPN_DOMAIN = 3,
DS_SPN_NB_DOMAIN = 4,
DS_SPN_SERVICE = 5
} DS_SPN_NAME_TYPE;
#ifdef __cplusplus
}
#endif