diff options
author | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2010-02-12 13:55:14 +0100 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2010-02-12 15:04:07 +0100 |
commit | de555895e59ffa691b5c8e910fe0d93cacc9281e (patch) | |
tree | cb66d3437551eff9a78faf524dfb745d6f1faa11 /selftest/diff-subunit.pl | |
parent | e82ac8655e95e9df818d8b74c79c06f090a01d70 (diff) | |
download | samba-de555895e59ffa691b5c8e910fe0d93cacc9281e.tar.gz samba-de555895e59ffa691b5c8e910fe0d93cacc9281e.tar.bz2 samba-de555895e59ffa691b5c8e910fe0d93cacc9281e.zip |
s4:getopt.py - set the password callback only when no password has been provided
Previously the "no_pass" and "no_pass2" variables weren't handled correctly.
Since at the initialisation of the "CredentialsOptions" we don't have any
password at all. Only afterwards we could get one through "set_password".
If a password is specified, use it. If no password is specified, consider the
use fo an input mask on STDOUT. But if the loadparm context contains one prefer
it over the input.
Diffstat (limited to 'selftest/diff-subunit.pl')
0 files changed, 0 insertions, 0 deletions