summaryrefslogtreecommitdiff
path: root/source4/scripting
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-12-08 08:19:25 +1100
committerAndrew Tridgell <tridge@samba.org>2010-12-08 05:26:05 +0100
commit249afc8906bc33ed1e23f50f5c28a8ba0b8354c9 (patch)
tree28cdef62529a840d1983302768b45def9fbf738b /source4/scripting
parentd7cd2ad4383ea6eff73e9cb2135ca5e3eda70a6d (diff)
downloadsamba-249afc8906bc33ed1e23f50f5c28a8ba0b8354c9.tar.gz
samba-249afc8906bc33ed1e23f50f5c28a8ba0b8354c9.tar.bz2
samba-249afc8906bc33ed1e23f50f5c28a8ba0b8354c9.zip
samba-tools: export doesn't need any credentials
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/scripting')
-rw-r--r--source4/scripting/python/samba/netcmd/export.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/scripting/python/samba/netcmd/export.py b/source4/scripting/python/samba/netcmd/export.py
index 47c0bf0732..649a2621b1 100644
--- a/source4/scripting/python/samba/netcmd/export.py
+++ b/source4/scripting/python/samba/netcmd/export.py
@@ -44,8 +44,7 @@ class cmd_export_keytab(Command):
def run(self, keytab, credopts=None, sambaopts=None, versionopts=None):
lp = sambaopts.get_loadparm()
- creds = credopts.get_credentials(lp)
- net = Net(creds, lp, server=credopts.ipaddress)
+ net = Net(None, lp, server=credopts.ipaddress)
net.export_keytab(keytab=keytab)