[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha8-936-ga038f1e

Michael Adam obnox at samba.org
Tue Aug 11 16:36:13 MDT 2009


The branch, master has been updated
       via  a038f1e05b8b7acb5e99257e59178e1ece4ce156 (commit)
      from  aa07baa8515d7e692238fe2cdce95d0eaf0b1691 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit a038f1e05b8b7acb5e99257e59178e1ece4ce156
Author: Michael Adam <obnox at samba.org>
Date:   Tue Aug 11 23:35:48 2009 +0200

    s3:smbcacls: forbid change of debug level from config file
    
    Michael

-----------------------------------------------------------------------

Summary of changes:
 source3/utils/smbcacls.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/utils/smbcacls.c b/source3/utils/smbcacls.c
index 2e41afc..dfc2a92 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);
 


-- 
Samba Shared Repository


More information about the samba-cvs mailing list