[ 
https://issues.apache.org/jira/browse/SERF-167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ivan Zhakov updated SERF-167:
-----------------------------
    Fix Version/s: serf-1.3.9

> Calling AcquireCredentialsHandle using unicode strings
> ------------------------------------------------------
>
>                 Key: SERF-167
>                 URL: https://issues.apache.org/jira/browse/SERF-167
>             Project: serf
>          Issue Type: Bug
>            Reporter: Serf Importer
>            Priority: Major
>              Labels: Priority-Medium, Type-Defect
>             Fix For: serf-1.3.9
>
>
> According to [1], function AcquireCredentialsHandle should be called using 
> unicode strings:
> ' #Remarks
> '
> ' [...]
> '
> ' - The two string parameters must be Unicode strings.
> So instead of using a regular char*, shouldn't 
> `serf__spnego_create_sec_context() ` use a wchar_t pointer like this:
> ```
> const wchar_t* sspi_package = L"Negotiate"; /* or L"NTLM" */
> ```
> [1] 
> https://msdn.microsoft.com/en-us/library/windows/desktop/aa374712(v=vs.85).aspx
> Original issue reported by *benjamin.woester*



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to