diff options
author | Andrew Bartlett <abartlet@samba.org> | 2010-10-29 15:06:36 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2010-11-02 04:36:04 +0000 |
commit | cf4de8ec2c8df2ceabbe3d836d296b058e7b19fb (patch) | |
tree | 9afa59acaf2a8665e9bc9dfc8bdc177db4a7ca36 /source3/utils/smbpasswd.c | |
parent | 9da4ace1d9789d300ab298bc34694c44b2062f30 (diff) | |
download | samba-cf4de8ec2c8df2ceabbe3d836d296b058e7b19fb.tar.gz samba-cf4de8ec2c8df2ceabbe3d836d296b058e7b19fb.tar.bz2 samba-cf4de8ec2c8df2ceabbe3d836d296b058e7b19fb.zip |
s3-debug Remove 'AllowDebugChange' and use lp_set_cmdline() instead
By removing this global variable, the API between the two different
debug systems is made more similar. Both s3 and s4 now have
lp_set_cmdline() which ensures that the smb.conf cannot overwrite
these the user-specified log level.
Andrew Bartlett
Diffstat (limited to 'source3/utils/smbpasswd.c')
-rw-r--r-- | source3/utils/smbpasswd.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source3/utils/smbpasswd.c b/source3/utils/smbpasswd.c index 0fc002ad8a..c530c78f41 100644 --- a/source3/utils/smbpasswd.c +++ b/source3/utils/smbpasswd.c @@ -20,8 +20,6 @@ #include "secrets.h" #include "../librpc/gen_ndr/samr.h" -extern bool AllowDebugChange; - /* * Next two lines needed for SunOS and don't * hurt anything else... @@ -570,8 +568,6 @@ int main(int argc, char **argv) int local_flags = 0; int ret; - AllowDebugChange = False; - #if defined(HAVE_SET_AUTH_PARAMETERS) set_auth_parameters(argc, argv); #endif /* HAVE_SET_AUTH_PARAMETERS */ |