git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa07baa
)
s3:smbcacls: forbid change of debug level from config file
author
Michael Adam
<obnox@samba.org>
Tue, 11 Aug 2009 21:35:48 +0000
(23:35 +0200)
committer
Michael Adam
<obnox@samba.org>
Tue, 11 Aug 2009 22:34:33 +0000
(
00:34
+0200)
Michael
source3/utils/smbcacls.c
patch
|
blob
|
history
diff --git
a/source3/utils/smbcacls.c
b/source3/utils/smbcacls.c
index 2e41afc27f389b5b28734df42ad7187af9aac534..dfc2a92031da0763b441d81e6665dd62b10b4106 100644
(file)
--- 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);