Pass the current debuglevel down to the forked smbd
authorVolker Lendecke <vl@samba.org>
Thu, 12 Feb 2009 19:41:49 +0000 (20:41 +0100)
committerVolker Lendecke <vl@samba.org>
Sun, 5 Apr 2009 11:52:46 +0000 (13:52 +0200)
source3/rpc_client/rpc_transport_smbd.c

index bde8d04208f2a590b5467218dcba2851f7c52f6a..efc57eb2431a825e58d98dfea20560c0eef02ae5 100644 (file)
@@ -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);
                }