From ae58f17d84d9c2cbeb767a224ca14e48323d8c9b Mon Sep 17 00:00:00 2001 From: Martin Stransky Date: Tue, 10 May 2016 14:18:21 +0200 Subject: Added patch for rhbz#1332875 - new Samba auth reponse --- mozilla-1270046.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 mozilla-1270046.patch (limited to 'mozilla-1270046.patch') diff --git a/mozilla-1270046.patch b/mozilla-1270046.patch new file mode 100644 index 0000000..16c6b45 --- /dev/null +++ b/mozilla-1270046.patch @@ -0,0 +1,12 @@ +--- firefox-46.0.1/extensions/auth/nsAuthSambaNTLM.cpp.rhbz-1173156 2016-05-03 06:31:11.000000000 +0100 ++++ firefox-46.0.1/extensions/auth/nsAuthSambaNTLM.cpp 2016-05-04 10:18:53.157429123 +0100 +@@ -256,7 +256,8 @@ nsAuthSambaNTLM::GetNextToken(const void + nsCString line; + if (!ReadLine(mFromChildFD, line)) + return NS_ERROR_FAILURE; +- if (!StringBeginsWith(line, NS_LITERAL_CSTRING("KK "))) { ++ if (!StringBeginsWith(line, NS_LITERAL_CSTRING("KK ")) && ++ !StringBeginsWith(line, NS_LITERAL_CSTRING("AF "))) { + // Something went wrong. Perhaps no credentials are accessible. + return NS_ERROR_FAILURE; + } -- cgit