diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/lib/popt_common.c | 2 | ||||
-rw-r--r-- | source3/lib/util.c | 7 |
2 files changed, 1 insertions, 8 deletions
diff --git a/source3/lib/popt_common.c b/source3/lib/popt_common.c index 78d81fa530..99c26106af 100644 --- a/source3/lib/popt_common.c +++ b/source3/lib/popt_common.c @@ -524,7 +524,7 @@ static void popt_common_credentials_callback(poptContext con, } break; case 'N': - set_cmdline_auth_info_no_password(); + set_cmdline_auth_info_password(""); break; } } diff --git a/source3/lib/util.c b/source3/lib/util.c index 289d8a058f..3d653d9b80 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -367,13 +367,6 @@ bool get_cmdline_auth_info_got_pass(void) return cmdline_auth_info.got_pass; } -/* This should only be used by lib/popt_common.c JRA */ -void set_cmdline_auth_info_no_password(void) -{ - SAFE_FREE(cmdline_auth_info.password); - cmdline_auth_info.got_pass = false; -} - bool get_cmdline_auth_info_copy(struct user_auth_info *info) { *info = cmdline_auth_info; |