Note that there are some explanatory texts on larger screens.

plurals
  1. POGet Authorization realm from logon user (in Windows domain)
    primarykey
    data
    text
    <p>I try to download something from my own webserver. This webserver exists only in the intranet and so I want to use the Active Directory to manage my usernames and passwords. My webserver has Windows authentification activated, so the user can enter the service without entering his username and password again. With the browsers (Chrome and Internet Explorer) everything works absoluley well.</p> <p><strong>My Problem:</strong></p> <p>My application contacts the server via QNetworkAccessManager (Qt). This class does not support NTLM/Negotiate very well. I've make it work with winhttp (C++) but i need the solution in Qt (QNetworkAccessManager). My real problem is getting the authorization realm f.e.:</p> <blockquote> <p>Authorization: Negotiate TlRMAAl4IIAAAAAAAAAAAAAAAGAAAADw==</p> </blockquote> <p>So I've searched for approximatly 2 days to find more information about this key. At the moment I know that I have to use SSPI and <a href="http://msdn.microsoft.com/en-us/library/aa374712%28VS.85%29.aspx" rel="nofollow">AcquireCredentialsHandle</a> function to get this key, but I don't really know how to get this to work. I'm not absolutey sure that this is the correct function but i saw some simlar code in the Google Chrome (chromium) source-code.</p> <p><strong>Does anybody know how to get this authorization key from a logged on user (in a windows domain) from Windows itself without entering the password again?</strong></p> <p>Environment:</p> <ul> <li>OS: Win XP and 7 (x64)</li> </ul>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload