1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00

debug and swat fixes from 3.0

(This used to be commit 52c1973f39)
This commit is contained in:
Gerald Carter 2003-11-22 06:17:46 +00:00
parent 177ff4d64c
commit a2b82b408b
2 changed files with 3 additions and 1 deletions

View File

@ -181,6 +181,7 @@ BOOL enumerate_domain_trusts( TALLOC_CTX *mem_ctx, const char *domain,
done:
/* cleanup */
if (cli) {
DEBUG(10,("enumerate_domain_trusts: shutting down connection...\n"));
cli_nt_session_close( cli );
cli_shutdown( cli );
}

View File

@ -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);