Commit 315599c6 authored by Alistair Leslie-Hughes's avatar Alistair Leslie-Hughes Committed by Alexandre Julliard

ntdsapi: Add stub for DsGetSpnA.

parent 904f4ac8
...@@ -150,3 +150,18 @@ DWORD WINAPI DsMakeSpnA(LPCSTR svc_class, LPCSTR svc_name, ...@@ -150,3 +150,18 @@ DWORD WINAPI DsMakeSpnA(LPCSTR svc_class, LPCSTR svc_name,
return ERROR_CALL_NOT_IMPLEMENTED; 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 @@ ...@@ -29,7 +29,7 @@
@ stub DsGetDomainControllerInfoA @ stub DsGetDomainControllerInfoA
@ stub DsGetDomainControllerInfoW @ stub DsGetDomainControllerInfoW
@ stub DsGetRdnW @ stub DsGetRdnW
@ stub DsGetSpnA @ stdcall DsGetSpnA(long str str long long ptr ptr ptr ptr)
@ stub DsGetSpnW @ stub DsGetSpnW
@ stub DsInheritSecurityIdentityA @ stub DsInheritSecurityIdentityA
@ stub DsInheritSecurityIdentityW @ stub DsInheritSecurityIdentityW
......
...@@ -29,6 +29,16 @@ DWORD WINAPI DsMakeSpnA(LPCSTR, LPCSTR, LPCSTR, USHORT, LPCSTR, DWORD*, LPSTR); ...@@ -29,6 +29,16 @@ DWORD WINAPI DsMakeSpnA(LPCSTR, LPCSTR, LPCSTR, USHORT, LPCSTR, DWORD*, LPSTR);
DWORD WINAPI DsMakeSpnW(LPCWSTR, LPCWSTR, LPCWSTR, USHORT, LPCWSTR, DWORD*, LPWSTR); DWORD WINAPI DsMakeSpnW(LPCWSTR, LPCWSTR, LPCWSTR, USHORT, LPCWSTR, DWORD*, LPWSTR);
#define DsMakeSpn WINELIB_NAME_AW(DsMakeSpn) #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 #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