[Samba] mod_ntlm_winbind on Apache vs. IE6, no POST method

Todd Garrison frameloss at gmail.com
Mon Oct 3 20:34:22 GMT 2005


I have setup mod_ntlm_winbind to provide authentication for an Apache
1.3.33 webserver running on Fedora Core 3. The authentication works,
but I have run into a problem when using Internet Explorer.

It seems that the problem might be with Internet Explorer itself, but
here is what I think is happening - the browser will not submit any
forms with a POST method on a website protected with NTLM Auth.

Everything seems to work fine when using Firefox/Mozilla, but IE6 has
a problem. Attached is the text extracted from a packet capture using
both browsers:

FireFox 1.0.5
POST /xxxxx/index.php HTTP/1.1
Host: xxxxxxx.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.9)
Gecko/20050711 Firefox/1.0.5
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://xxxxx/xxxxx/index.php
Cookie: mosvisitor=1; sessioncookie=ddb9c2c8530d1ec2f1451a4b7b54d793;
Content-Type: application/x-www-form-urlencoded
Content-Length: 119

Internet Explorer 6.0.2800.1106.xpsp2.050301-1526

POST /xxxxx/index.php HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/x-shockwave-flash, application/vnd.ms-excel,
application/vnd.ms-powerpoint, application/msword, */*
Referer: http://xxxxxx.com/xxxxx/index.php?option=com_registration&task=lostPassword
Accept-Language: en-us
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET
CLR 1.1.4322)
Host: xxxxxx.com
Content-Length: 0
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: mosvisitor=1; JTSIJNC=a3ac998c0d34c8d35500bf11db76d33d;


You can see that IE6 sends content-length: 0 and includes the NTLM
hash again, whereas Firefox does not.

Is this a bug in mod_ntlm_winbind, IE6, or just a configuration error?

Thanks for any help you can provide!
Todd Garrison

More information about the samba mailing list