[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [Bug 93454] NTLM is broken after introducing KNTLM
From: Szombathelyi "György" <gyurco () freemail ! hu>
Date: 2005-09-10 20:08:18
Message-ID: 20050910200818.13580.qmail () ktown ! kde ! org
[Download RAW message or body]
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
http://bugs.kde.org/show_bug.cgi?id=93454
------- Additional Comments From gyurco freemail hu 2005-09-10 22:08 -------
SVN commit 459419 by gyurco:
Supply the workstation name for NTLM.
CCBUG: 93454
M +4 -1 http.cc
--- branches/KDE/3.5/kdelibs/kioslave/http/http.cc #459418:459419
@ -5460,9 +5460,12 @
if ( len > 4 )
{
// create a response
+ char name[512];
+ QString ws;
+ if ( gethostname( name, sizeof(name) ) == 0 ) ws = QString::fromLatin1( name );
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, ws, false, false );
}
else
{
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic