zhangqd / chromiumembedded

Automatically exported from code.google.com/p/chromiumembedded
0 stars 1 forks source link

NTLM authentication issue #1150

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Current stable CEF (3.1650.1539) are fail to connect via proxies which requires 
NTLM authentication.

Related topic: http://www.magpcss.org/ceforum/viewtopic.php?f=6&t=11085

Original issue reported on code.google.com by fdd...@gmail.com on 6 Dec 2013 at 6:58

GoogleCodeExporter commented 9 years ago
Please see the patch attached. The patch adds the following properties to 
CefSettings:

auth_server_whitelist
auth_delegate_whitelist

which should be used to provide the list of domains for which sisngle sign on 
authentication must be enabled with ntlm or negotiate schemes. 

For details see http://www.magpcss.org/ceforum/viewtopic.php?f=6&t=11085

Original comment by alex.zag...@gmail.com on 5 Nov 2014 at 7:05

Attachments:

GoogleCodeExporter commented 9 years ago
@#1: Thanks for the patch. Did you test locally to verify that it works as 
expected with NTLM and/or negotiate authentication?

Also, a few comments:

1. Line 10:

+  ///
+  // Specifies the white list of domains fo which the single sign on 
authentication 
+  // may be used
+  ///
+  cef_string_t auth_server_whitelist;
+
+  ///
+  // Specifies the white list of domains fo which the single sign on 
authentication 
+  // may be used
+  ///
+  cef_string_t auth_delegate_whitelist;

Please document how these lists should be delimited and fix the 
spelling/punctuation errors.

2. Line 68:

+    CefString auth_server_whitelist_(settings.auth_server_whitelist.str, 
settings.auth_server_whitelist.length, true);
+    CefString auth_delegate_whitelist_(settings.auth_delegate_whitelist.str, 
settings.auth_delegate_whitelist.length, true);

These can be written as:
CefString auth_server_whitelist(&settings.auth_server_whitelist);
CefString auth_delegate_whitelist(&settings.auth_delegate_whitelist);

3. Wrap all lines at 80 characters.

Original comment by magreenb...@gmail.com on 7 Nov 2014 at 6:36

GoogleCodeExporter commented 9 years ago
Issue 1318 has been merged into this issue.

Original comment by magreenb...@gmail.com on 20 Nov 2014 at 4:23

GoogleCodeExporter commented 9 years ago
CEF is transitioning from Google Code to Bitbucket project hosting. If you 
would like to continue receiving notifications on this issue please add 
yourself as a Watcher at the new location: 
https://bitbucket.org/chromiumembedded/cef/issue/1150

Original comment by magreenb...@gmail.com on 14 Mar 2015 at 3:29

GoogleCodeExporter commented 9 years ago
I added the patch in current chrome and built the libcef.dll and libcef.lib 
files.
Still after using these files, I am not able to get the authentication dialog. 
Any clue what am I doing wrong ? 

Original comment by dverm...@gmail.com on 1 Apr 2015 at 10:48