summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/utils/smbcacls.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/utils/smbcacls.c b/source3/utils/smbcacls.c
index 2e41afc27f..dfc2a92031 100644
--- a/source3/utils/smbcacls.c
+++ b/source3/utils/smbcacls.c
@@ -23,6 +23,8 @@
#include "includes.h"
+extern bool AllowDebugChange;
+
static int test_args;
#define CREATE_ACCESS_READ READ_CONTROL_ACCESS
@@ -1043,6 +1045,7 @@ static struct cli_state *connect_one(struct user_auth_info *auth_info,
DEBUGLEVEL_CLASS[DBGC_ALL] = 1;
dbf = x_stderr;
x_setbuf( x_stderr, NULL );
+ AllowDebugChange = false;
setlinebuf(stdout);