1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

s3:winbind: Move debug statement into the error handling

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
Andreas Schneider 2017-06-23 16:25:27 +02:00 committed by Andreas Schneider
parent 45da755430
commit 4eef11e0a0

View File

@ -338,9 +338,9 @@ void winbindd_dc_info(struct winbindd_cli_state *cli)
if (cli->request->domain_name[0] != '\0') {
domain = find_domain_from_name_noinit(
cli->request->domain_name);
DEBUG(10, ("Could not find domain %s\n",
cli->request->domain_name));
if (domain == NULL) {
DEBUG(10, ("Could not find domain %s\n",
cli->request->domain_name));
request_error(cli);
return;
}