From a038f1e05b8b7acb5e99257e59178e1ece4ce156 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 11 Aug 2009 23:35:48 +0200 Subject: s3:smbcacls: forbid change of debug level from config file Michael --- source3/utils/smbcacls.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source3/utils') 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); -- cgit