diff options
author | Andrew Bartlett <abartlet@samba.org> | 2017-07-06 16:29:14 +1200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2017-07-28 00:25:14 +0200 |
commit | e91782541e1e814772fa4bcfaad85d354b53a3a5 (patch) | |
tree | dd683498c164fcd33d8be4764f7c68ab5fd0c126 /source4/torture/drs | |
parent | 7ad34d120614f2449816025fc84a1ecb4979222b (diff) | |
download | samba-e91782541e1e814772fa4bcfaad85d354b53a3a5.tar.gz |
selftest: Add and use new helper function get_creds_ccache_name()
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Diffstat (limited to 'source4/torture/drs')
-rw-r--r-- | source4/torture/drs/python/drs_base.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source4/torture/drs/python/drs_base.py b/source4/torture/drs/python/drs_base.py index 8af1af34f80..9abfa159a02 100644 --- a/source4/torture/drs/python/drs_base.py +++ b/source4/torture/drs/python/drs_base.py @@ -101,9 +101,7 @@ class DrsBaseTestCase(SambaToolCmdTest): def _samba_tool_cmd_list(self, drs_command): # make command line credentials string - creds = self.get_credentials() - ccache = creds.get_named_ccache(self.get_loadparm()) - ccache_name = ccache.get_name() + ccache_name = self.get_creds_ccache_name() # Tunnel the command line credentials down to the # subcommand to avoid a new kinit |