ntdsapi: Add stub for DsGetSpnA.
This commit is contained in:
parent
904f4ac843
commit
315599c650
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue