You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Friday, March 17th 2006, 2:13pm

Problem with Digest authorization and Konqueror

Hello,

I'm experiencing problem opening a file on a apache server using dav. The apache server requires Digest authentication, "AuthType Digest".

With Konqueror I get "Authorization Failed. Do you want to retry?"

I have no problem using Firefox 1.5 from the same client machine. But when I use konqueror the authorization consequently fails...

I sniffed using Ethereal, and interesting enough, there are differences between Firefox and Konqueror.

Firefox:
==============
Hypertext Transfer Protocol
GET /dav/myfile.ics HTTP/1.1\r\n
Host: my.host.org\r\n
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.1) Gecko/20060225 Firefox/1.5.0.1\r\n
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5\r\n
Accept-Language: en-us,en;q=0.5\r\n
Accept-Encoding: gzip,deflate\r\n
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7\r\n
Keep-Alive: 300\r\n
Connection: keep-alive\r\n
Authorization: Digest username="myname", realm="private", nonce="YQFppTAPBAA=f799a52543b13b741944b5919793a97f32ff7f68", uri="/dav/kristian.ics", algorithm=MD5, response="d48ac10c67bf497a08e7687a91ab7afe", qop=auth, nc=00000001, cnonce="2
\r\n

Konqueror:
==============
Hypertext Transfer Protocol
GET /dav/myfile.ics HTTP/1.1\r\n
User-Agent: Mozilla/5.0 (compatible; Konqueror/3.5; Linux 2.6.15-gentoo-r7; X11) KHTML/3.5.1 (like Gecko)\r\n
Accept: text/html, image/jpeg, image/png, text/*, image/*, */*\r\n
Accept-Charset: iso-8859-1, utf-8;q=0.5, *;q=0.5\r\n
Accept-Language: en\r\n
Host: my.host.org\r\n
Connection: Keep-Alive\r\n
\r\n

As you can see, the Authorization bit is completly missing in the Konqueror GET. How come? Can anyone help me out?
I'm running KDE 3.5.1, on a 2.6.15-gentoo-r7 box.
I compiled with USE flags USE="arts -debug -java -kdeenablefinal -kdexdeltas -xinerama"

/Kristian

This post has been edited 1 times, last edit by "Kristian" (Mar 17th 2006, 2:25pm)