summaryrefslogtreecommitdiff
path: root/source3/utils/smbpasswd.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-10-29 15:29:09 +1100
committerAndrew Bartlett <abartlet@samba.org>2010-11-02 04:36:04 +0000
commitd9f67eebf621adacf5514c7ba1ed17b4953db762 (patch)
treed47933d295d9291c0711bb6c103c7c365c685d49 /source3/utils/smbpasswd.c
parentcf4de8ec2c8df2ceabbe3d836d296b058e7b19fb (diff)
downloadsamba-d9f67eebf621adacf5514c7ba1ed17b4953db762.tar.gz
samba-d9f67eebf621adacf5514c7ba1ed17b4953db762.tar.bz2
samba-d9f67eebf621adacf5514c7ba1ed17b4953db762.zip
s3-debug Remove last direct assignements to DEBUGLEVEL
All future assignments of the debug level should go via lp_set_cmdline("log level", "x") because this will ensure the value is not overwritten in an smb.conf load. Andrew Bartlett
Diffstat (limited to 'source3/utils/smbpasswd.c')
-rw-r--r--source3/utils/smbpasswd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/smbpasswd.c b/source3/utils/smbpasswd.c
index c530c78f41..b4e8b19f1f 100644
--- a/source3/utils/smbpasswd.c
+++ b/source3/utils/smbpasswd.c
@@ -152,7 +152,7 @@ static int process_options(int argc, char **argv, int local_flags)
lp_set_name_resolve_order(optarg);
break;
case 'D':
- DEBUGLEVEL = atoi(optarg);
+ lp_set_cmdline("log level", optarg);
break;
case 'U': {
got_username = True;