Welcome Guest, Not a member yet? Register   Sign In
CURLAUTH_NTLM is required
#1

In my case, the CURLRequest Class needs the curl option CRULAUTH_NTLM to access a Microsoft IIS web server. CI4 only allows CURLAUTH_DIGEST and CURLAUTH_BASIC.

It would be helpful if the setCURLOptions() function in the CodeIgniter4/system/HTTP/CURLRequest.php file could be supplemented as follows:


PHP Code:
            elseif (! empty($config['auth'][2]) && strtolower($config['auth'][2]) === 'ntlm')
    
        {
    
            $curl_options[CURLOPT_HTTPAUTH] = CURLAUTH_NTLM;
    
        

Many thanks!
Reply


Messages In This Thread
CURLAUTH_NTLM is required - by RalfK - 05-28-2021, 02:56 AM
RE: CURLAUTH_NTLM is required - by MGatner - 05-28-2021, 06:40 PM



Theme © iAndrew 2016 - Forum software by © MyBB