Author: akhaldi
Date: Sat Jan 28 22:07:27 2012
New Revision: 55282
URL:
http://svn.reactos.org/svn/reactos?rev=55282&view=rev
Log:
[NTDSAPI]
* Sync to Wine 1.3.37.
Modified:
trunk/reactos/dll/win32/ntdsapi/ntdsapi.c
trunk/reactos/dll/win32/ntdsapi/ntdsapi.spec
trunk/reactos/include/psdk/ntdsapi.h
Modified: trunk/reactos/dll/win32/ntdsapi/ntdsapi.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/ntdsapi/ntdsapi.…
==============================================================================
--- trunk/reactos/dll/win32/ntdsapi/ntdsapi.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/ntdsapi/ntdsapi.c [iso-8859-1] Sat Jan 28 22:07:27 2012
@@ -150,3 +150,38 @@
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;
+}
Modified: trunk/reactos/dll/win32/ntdsapi/ntdsapi.spec
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/ntdsapi/ntdsapi.…
==============================================================================
--- trunk/reactos/dll/win32/ntdsapi/ntdsapi.spec [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/ntdsapi/ntdsapi.spec [iso-8859-1] Sat Jan 28 22:07:27 2012
@@ -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
@@ -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
Modified: trunk/reactos/include/psdk/ntdsapi.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/ntdsapi.h?rev…
==============================================================================
--- trunk/reactos/include/psdk/ntdsapi.h [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/ntdsapi.h [iso-8859-1] Sat Jan 28 22:07:27 2012
@@ -29,6 +29,27 @@
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;
+
+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