From: Volker Lendecke Date: Thu, 12 Feb 2009 19:41:49 +0000 (+0100) Subject: Pass the current debuglevel down to the forked smbd X-Git-Tag: tdb-1.1.5~1031^2~106 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac4c319ed7559b73ed3232251f9dbc659aa53970;p=thirdparty%2Fsamba.git Pass the current debuglevel down to the forked smbd --- diff --git a/source3/rpc_client/rpc_transport_smbd.c b/source3/rpc_client/rpc_transport_smbd.c index bde8d04208f..efc57eb2431 100644 --- a/source3/rpc_client/rpc_transport_smbd.c +++ b/source3/rpc_client/rpc_transport_smbd.c @@ -309,7 +309,8 @@ struct async_req *rpc_cli_smbd_conn_init_send(TALLOC_CTX *mem_ctx, printf("no memory"); exit(1); } - if (asprintf(&smbd_cmd, "%s -F -S", smbd_cmd) == -1) { + if (asprintf(&smbd_cmd, "%s -F -S -d %d", smbd_cmd, + DEBUGLEVEL) == -1) { printf("no memory"); exit(1); }