1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00
samba-mirror/source4/scripting
Matthias Dieter Wallnöfer de555895e5 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.
2010-02-12 15:04:07 +01:00
..
bin s4-script: make enablerecyclebin use system_session 2010-02-12 01:08:11 +11:00
devel s4-devel: added rebuild_zone.sh 2010-01-16 14:10:44 +11:00
python s4:getopt.py - set the password callback only when no password has been provided 2010-02-12 15:04:07 +01:00