Home » HTTP » HTTP_WebDAV_Server » Bug #3138
Authentication doesnt work in wondows client
Details
| Submitted | 2005-01-08 18:17 UTC |
|---|---|
| From | svein at edbc dot no |
| Assigned | hholzgra |
| Status | Closed |
| Package | HTTP_WebDAV_Server |
| PHP Version | 4.3.8 |
| OS | Linux |
| Roadmaps | (Not assigned) |
Comments
[2005-01-08 18:17 UTC] svein at edbc dot no
Description:
------------
Its a known issue that winoze clients doesnt work with the standard
Header("401 Unauthorized");
Header("WWW-Authenticate: Basic realm");
You have to change it so that 401 is the last header sent (around line 120 in server.php):
Header("WWW-Authenticate: Basic realm");
Header("401 Unauthorized");
Then it works ok also in winoze client.
Reproduce code:
---------------
Code in description field.
Expected result:
----------------
Working authentication
Actual result:
--------------
Broken authentication. The function check_auth(...) is never called when you click ok in the user/pass dialog.
If you do the mentioned changes auth works ok