After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 306877 - ntlm auth failure
ntlm auth failure
Status: RESOLVED FIXED
Product: libsoup
Classification: Core
Component: Misc
unspecified
Other All
: Normal major
: ---
Assigned To: Dan Winship
Gerardo Marin
: 302183 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-06-08 12:43 UTC by Jeroen Hautekeete
Modified: 2005-06-08 15:08 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jeroen Hautekeete 2005-06-08 12:43:40 UTC
Version details: 2.2.3

[from ximian-connector test]

ebrowse http://domain\user@my.exchange.server/exchange/mailbox

--> 401 noth authorized

See more information in ximian-connector bug :
http://bugzilla.gnome.org/show_bug.cgi?id=302183
Comment 1 Jeroen Hautekeete 2005-06-08 12:44:26 UTC
in "soup-connection-ntlm.c"

static void
ntlm_authorize_pre (SoupMessage *msg, gpointer user_data)
{ 
---
char* slashagain;
---

        slash = strpbrk (domain_username, "\\/");
        if (slash) {
                g_free (domain);
                domain = g_strdup (domain_username);
// add the following 2 lines to remove the username from the doamin var !!
                slashagain = strpbrk (domain, "\\/");
                slashagain[0]='\0';
//
                username = slash + 1;
        } else
                username = domain_username;


Comment 2 Dan Winship 2005-06-08 13:50:43 UTC
*** Bug 302183 has been marked as a duplicate of this bug. ***
Comment 3 Dan Winship 2005-06-08 14:38:06 UTC
fixed in CVS (and eventually libsoup 2.2.4)