summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-02-12 20:41:49 +0100
committerVolker Lendecke <vl@samba.org>2009-04-05 13:52:46 +0200
commitac4c319ed7559b73ed3232251f9dbc659aa53970 (patch)
tree7ba61967d8770f073e96756f176b0c3d10c9aac9
parentd3825d5d1023bed835e04f4a99a59e1d3b5b4b81 (diff)
downloadsamba-ac4c319ed7559b73ed3232251f9dbc659aa53970.tar.gz
samba-ac4c319ed7559b73ed3232251f9dbc659aa53970.tar.bz2
samba-ac4c319ed7559b73ed3232251f9dbc659aa53970.zip
Pass the current debuglevel down to the forked smbd
-rw-r--r--source3/rpc_client/rpc_transport_smbd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/rpc_client/rpc_transport_smbd.c b/source3/rpc_client/rpc_transport_smbd.c
index bde8d04208..efc57eb243 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);
}