[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdelibs/kioslave/http
From:       Thiago Macieira <thiago () kde ! org>
Date:       2005-09-11 14:14:55
Message-ID: 1126448095.122243.32537.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 459583 by thiago:

Forward porting commit 459419: supply the workstation name
for NTLM.


 M  +3 -1      http.cc  


--- trunk/KDE/kdelibs/kioslave/http/http.cc #459582:459583
@@ -50,6 +50,7 @@
 #include <krfcdate.h>
 #include <kcodecs.h>
 #include <kinstance.h>
+#include <kresolver.h>
 #include <kmimemagic.h>
 #include <dcopclient.h>
 #include <kdatastream.h>
@@ -5463,7 +5464,8 @@
     // create a response
     QByteArray challenge;
     KCodecs::base64Decode( strauth.right( len - 5 ), challenge );
-    KNTLM::getAuth( buf, challenge, user, passwd, domain, QString::null, false, false );
+    KNTLM::getAuth( buf, challenge, user, passwd, domain, 
+		    KNetwork::KResolver::localHostName(), false, false );
   }
   else
   {
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic