diff options
author | Stefan Metzmacher <metze@samba.org> | 2012-11-30 09:31:34 +0100 |
---|---|---|
committer | Andreas Schneider <asn@samba.org> | 2012-11-30 11:50:03 +0100 |
commit | 3101fcccff3ef847a123b10b2b99611e52504414 (patch) | |
tree | 575e4f4dd915c9ec30a8ffb057c33d47fbb47bdd /source3/utils/smbcquotas.c | |
parent | 4a73adf6e53fb810056a80a87c72b1370323c583 (diff) | |
download | samba-3101fcccff3ef847a123b10b2b99611e52504414.tar.gz samba-3101fcccff3ef847a123b10b2b99611e52504414.tar.bz2 samba-3101fcccff3ef847a123b10b2b99611e52504414.zip |
s3:util: fix usage of popt_burn_cmdline_password()
We should only call popt_burn_cmdline_password() after poptFreeContext(),
otherwise we remove the password to early.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'source3/utils/smbcquotas.c')
-rw-r--r-- | source3/utils/smbcquotas.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/utils/smbcquotas.c b/source3/utils/smbcquotas.c index d248bbe1eb..7363d6b4a3 100644 --- a/source3/utils/smbcquotas.c +++ b/source3/utils/smbcquotas.c @@ -608,7 +608,6 @@ FSQFLAGS:QUOTA_ENABLED/DENY_DISK/LOG_SOFTLIMIT/LOG_HARD_LIMIT", "SETSTRING" }, popt_common_set_auth_info(smbcquotas_auth_info); pc = poptGetContext("smbcquotas", argc, argv, long_options, 0); - popt_burn_cmdline_password(argc, argv); poptSetOtherOptionHelp(pc, "//server1/share1"); |