mirror of
https://github.com/reactos/reactos.git
synced 2024-07-06 20:55:16 +00:00
[NTDSAPI] Sync with Wine Staging 1.7.55. CORE-10536
svn path=/trunk/; revision=69972
This commit is contained in:
parent
1e9f469b55
commit
cc6dbe9490
|
@ -205,3 +205,29 @@ DWORD WINAPI DsServerRegisterSpnW(DS_SPN_WRITE_OP operation, LPCWSTR ServiceClas
|
||||||
debugstr_w(ServiceClass), debugstr_w(UserObjectDN));
|
debugstr_w(ServiceClass), debugstr_w(UserObjectDN));
|
||||||
return ERROR_CALL_NOT_IMPLEMENTED;
|
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;
|
||||||
|
}
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
@ stub DsBindWithSpnA
|
@ stub DsBindWithSpnA
|
||||||
@ stub DsBindWithSpnW
|
@ stub DsBindWithSpnW
|
||||||
@ stub DsClientMakeSpnForTargetServerA
|
@ stub DsClientMakeSpnForTargetServerA
|
||||||
@ stub DsClientMakeSpnForTargetServerW
|
@ stdcall DsClientMakeSpnForTargetServerW(wstr wstr ptr ptr)
|
||||||
@ stub DsCrackNamesA
|
@ stub DsCrackNamesA
|
||||||
@ stub DsCrackNamesW
|
@ stub DsCrackNamesW
|
||||||
@ stub DsCrackSpn2A
|
@ stub DsCrackSpn2A
|
||||||
|
|
|
@ -138,7 +138,7 @@ reactos/dll/win32/msxml6 # Synced to WineStaging-1.7.47
|
||||||
reactos/dll/win32/nddeapi # Synced to WineStaging-1.7.47
|
reactos/dll/win32/nddeapi # Synced to WineStaging-1.7.47
|
||||||
reactos/dll/win32/netapi32 # Forked at Wine-1.3.34
|
reactos/dll/win32/netapi32 # Forked at Wine-1.3.34
|
||||||
reactos/dll/win32/npptools # Synced to WineStaging-1.7.47
|
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/ntprint # Synced to WineStaging-1.7.47
|
||||||
reactos/dll/win32/objsel # 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.
|
reactos/dll/win32/odbc32 # Synced to WineStaging-1.7.37. Depends on port of Linux ODBC.
|
||||||
|
|
Loading…
Reference in a new issue