Author: akhaldi
Date: Sat Nov 21 09:21:43 2015
New Revision: 69972
URL:
http://svn.reactos.org/svn/reactos?rev=69972&view=rev
Log:
[NTDSAPI] Sync with Wine Staging 1.7.55. CORE-10536
Modified:
trunk/reactos/dll/win32/ntdsapi/ntdsapi.c
trunk/reactos/dll/win32/ntdsapi/ntdsapi.spec
trunk/reactos/media/doc/README.WINE
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 Nov 21 09:21:43 2015
@@ -205,3 +205,29 @@
debugstr_w(ServiceClass), debugstr_w(UserObjectDN));
return ERROR_CALL_NOT_IMPLEMENTED;
}
+
+DWORD WINAPI DsClientMakeSpnForTargetServerW(LPCWSTR class, LPCWSTR name, DWORD *buflen,
LPWSTR buf)
+{
+ DWORD len;
+ WCHAR *p;
+
+ TRACE("(%s,%s,%p,%p)\n", debugstr_w(class), debugstr_w(name), buflen,
buf);
+
+ if (!class || !name || !buflen) return ERROR_INVALID_PARAMETER;
+
+ len = strlenW(class) + 1 + strlenW(name) + 1;
+ if (*buflen < len)
+ {
+ *buflen = len;
+ return ERROR_BUFFER_OVERFLOW;
+ }
+ *buflen = len;
+
+ memcpy(buf, class, strlenW(class) * sizeof(WCHAR));
+ p = buf + strlenW(class);
+ *p++ = '/';
+ memcpy(p, name, strlenW(name) * sizeof(WCHAR));
+ buf[len - 1] = 0;
+
+ return ERROR_SUCCESS;
+}
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 Nov 21 09:21:43 2015
@@ -7,7 +7,7 @@
@ stub DsBindWithSpnA
@ stub DsBindWithSpnW
@ stub DsClientMakeSpnForTargetServerA
-@ stub DsClientMakeSpnForTargetServerW
+@ stdcall DsClientMakeSpnForTargetServerW(wstr wstr ptr ptr)
@ stub DsCrackNamesA
@ stub DsCrackNamesW
@ stub DsCrackSpn2A
Modified: trunk/reactos/media/doc/README.WINE
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/doc/README.WINE?rev=…
==============================================================================
--- trunk/reactos/media/doc/README.WINE [iso-8859-1] (original)
+++ trunk/reactos/media/doc/README.WINE [iso-8859-1] Sat Nov 21 09:21:43 2015
@@ -138,7 +138,7 @@
reactos/dll/win32/nddeapi # Synced to WineStaging-1.7.47
reactos/dll/win32/netapi32 # Forked at Wine-1.3.34
reactos/dll/win32/npptools # Synced to WineStaging-1.7.47
-reactos/dll/win32/ntdsapi # Synced to WineStaging-1.7.47
+reactos/dll/win32/ntdsapi # Synced to WineStaging-1.7.55
reactos/dll/win32/ntprint # Synced to WineStaging-1.7.47
reactos/dll/win32/objsel # Synced to WineStaging-1.7.47
reactos/dll/win32/odbc32 # Synced to WineStaging-1.7.37. Depends on port of
Linux ODBC.