diff options
author | Herb Lewis <herb@samba.org> | 2002-01-07 21:32:22 +0000 |
---|---|---|
committer | Herb Lewis <herb@samba.org> | 2002-01-07 21:32:22 +0000 |
commit | f1256e847e6820c29f8bc74db4609d8aa282a1a1 (patch) | |
tree | ef8ffff0a67d9d129e950259df11f803c8a05d48 /source3/utils/testparm.c | |
parent | bff833e76af390557428ba6aabdbc635b2c120e9 (diff) | |
download | samba-f1256e847e6820c29f8bc74db4609d8aa282a1a1.tar.gz samba-f1256e847e6820c29f8bc74db4609d8aa282a1a1.tar.bz2 samba-f1256e847e6820c29f8bc74db4609d8aa282a1a1.zip |
merge changes from 2.2 branch to prevent smb.conf from changing debug level
of commands when specified on command line.
(This used to be commit 39d6b31e14144a3ff4b992d4286b706147e58566)
Diffstat (limited to 'source3/utils/testparm.c')
-rw-r--r-- | source3/utils/testparm.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/utils/testparm.c b/source3/utils/testparm.c index 97dc0c014a..164eb1b29b 100644 --- a/source3/utils/testparm.c +++ b/source3/utils/testparm.c @@ -35,6 +35,8 @@ #include "includes.h" #include "smb.h" +extern BOOL AllowDebugChange; + /*********************************************** Here we do a set of 'hard coded' checks for bad configuration settings. @@ -216,6 +218,7 @@ int main(int argc, char *argv[]) dbf = x_stdout; DEBUGLEVEL = 2; + AllowDebugChange = False; printf("Load smb config files from %s\n",configfile); |