diff options
author | Gerald Carter <jerry@samba.org> | 2003-11-22 06:17:46 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2003-11-22 06:17:46 +0000 |
commit | a2b82b408b528a99037a390aabad867c25604836 (patch) | |
tree | 195d292aaa2f047a60a6d469e3425936ccab1698 /source3/web | |
parent | 177ff4d64c9a8891e827e927bd2354e28d4cc9d6 (diff) | |
download | samba-a2b82b408b528a99037a390aabad867c25604836.tar.gz samba-a2b82b408b528a99037a390aabad867c25604836.tar.bz2 samba-a2b82b408b528a99037a390aabad867c25604836.zip |
debug and swat fixes from 3.0
(This used to be commit 52c1973f39f4c4161097843fcf395e0102531575)
Diffstat (limited to 'source3/web')
-rw-r--r-- | source3/web/cgi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/web/cgi.c b/source3/web/cgi.c index 49a8fa92de..07e3ee38fb 100644 --- a/source3/web/cgi.c +++ b/source3/web/cgi.c @@ -355,7 +355,8 @@ static BOOL cgi_handle_authorization(char *line) } err: - cgi_setup_error("401 Bad Authorization", "", + cgi_setup_error("401 Bad Authorization", + "WWW-Authenticate: Basic realm=\"SWAT\"\r\n", "username or password incorrect"); passwd_free(&pass); |