mirror of
https://github.com/samba-team/samba.git
synced 2025-12-13 16:23:50 +03:00
python/samba/getopt: don't prompt for a password for --use-krb5-ccache=...
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15018 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
@@ -439,6 +439,7 @@ class CredentialsOptions(OptionGroup):
|
||||
self.creds.set_bind_dn(arg)
|
||||
|
||||
def _set_krb5_ccache(self, option, opt_str, arg, parser):
|
||||
self.ask_for_password = False
|
||||
self.creds.set_kerberos_state(MUST_USE_KERBEROS)
|
||||
self.creds.set_named_ccache(arg)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user