mirror of
https://github.com/reactos/reactos.git
synced 2025-04-22 05:00:27 +00:00
[NTDSAPI]
* Sync to Wine 1.3.37. svn path=/trunk/; revision=55282
This commit is contained in:
parent
2b498df22f
commit
f96ae418aa
3 changed files with 59 additions and 3 deletions
|
@ -150,3 +150,38 @@ 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;
|
||||||
|
}
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
* 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;
|
||||||
|
}
|
||||||
|
|
|
@ -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
|
||||||
|
@ -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
|
||||||
|
|
|
@ -29,6 +29,27 @@ 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;
|
||||||
|
|
||||||
|
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
|
||||||
|
|
Loading…
Reference in a new issue