All we want is to avoid a possible callback...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* stops the credentials system prompting when we use the "auth"
* command to display the current auth parameters.
*/
* stops the credentials system prompting when we use the "auth"
* command to display the current auth parameters.
*/
- if (cmdline_credentials->password_obtained != CRED_SPECIFIED) {
- cli_credentials_set_password(cmdline_credentials, "",
- CRED_SPECIFIED);
- }
+ cli_credentials_set_password(cmdline_credentials, "", CRED_GUESS_ENV);
while (1) {
cline = smb_readline("torture> ", NULL, NULL);
while (1) {
cline = smb_readline("torture> ", NULL, NULL);