mirror of
https://github.com/samba-team/samba.git
synced 2024-12-28 07:21:54 +03:00
parent
177ff4d64c
commit
a2b82b408b
@ -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 );
|
||||
}
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user