diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-12-08 08:19:25 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-12-08 05:26:05 +0100 |
commit | 249afc8906bc33ed1e23f50f5c28a8ba0b8354c9 (patch) | |
tree | 28cdef62529a840d1983302768b45def9fbf738b | |
parent | d7cd2ad4383ea6eff73e9cb2135ca5e3eda70a6d (diff) | |
download | samba-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>
-rw-r--r-- | source4/scripting/python/samba/netcmd/export.py | 3 |
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) |