summaryrefslogtreecommitdiff
path: root/source4/torture/drs
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2017-07-06 16:29:14 +1200
committerAndrew Bartlett <abartlet@samba.org>2017-07-28 00:25:14 +0200
commite91782541e1e814772fa4bcfaad85d354b53a3a5 (patch)
treedd683498c164fcd33d8be4764f7c68ab5fd0c126 /source4/torture/drs
parent7ad34d120614f2449816025fc84a1ecb4979222b (diff)
downloadsamba-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.py4
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