CEFCharp disable-auth-negotiate-cname-lookup not working

Having problems with building or using the CefSharp .NET binding? Ask your CEF-related questions here. Please ask general usage questions on StackOverflow.

Moderator: amaitland

CEFCharp disable-auth-negotiate-cname-lookup not working

Postby tomcan » Thu Sep 16, 2021 9:34 am

I am trying to use DisableAuthNegotiateCnameLookup flag not to use canonical DNS name of user when generating a Kerberos SPN. However the flag doesn't work and canonical DNS name is still used instead of the original URI. Here is how I set disable-auth-negotiate-cname-lookup flag.

var settings = new CefSettings();
settings.CefCommandLineArgs.Add("disable-auth-negotiate-cname-lookup", "true");
settings.CefCommandLineArgs.Add("auth-server-whitelist", "*");
settings.CefCommandLineArgs.Add("auth-negotiate-delegate-whitelist", "*");

I have struggled on this issue for weeks and still could not find answer or workaround solution. I have tried different CefSharp version v93/v92/v91 and none of them works. Hopefully someone can help me and give me some suggestion. Thanks in advance.
tomcan
Newbie
 
Posts: 1
Joined: Tue Sep 14, 2021 9:58 am

Re: CEFCharp disable-auth-negotiate-cname-lookup not working

Postby amaitland » Thu Sep 16, 2021 3:28 pm

This should probably be in the generic support section as it's not CefSharp specific.

CEF only supports a subset of command line args, if it doesn't work then code changes are likely required.

As a test you can try disabling CEFs request interception.

https://github.com/chromiumembedded/cef ... es.cc#L129
Maintainer of the CefSharp project.
amaitland
Virtuoso
 
Posts: 1290
Joined: Wed Jan 14, 2015 2:35 am


Return to CefSharp Forum

Who is online

Users browsing this forum: No registered users and 21 guests