git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
d7cd2ad
)
samba-tools: export doesn't need any credentials
author
Andrew Tridgell
<tridge@samba.org>
Tue, 7 Dec 2010 21:19:25 +0000
(08:19 +1100)
committer
Andrew Tridgell
<tridge@samba.org>
Wed, 8 Dec 2010 04:26:05 +0000
(
05:26
+0100)
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
source4/scripting/python/samba/netcmd/export.py
patch
|
blob
|
history
diff --git
a/source4/scripting/python/samba/netcmd/export.py
b/source4/scripting/python/samba/netcmd/export.py
index 47c0bf0732f5046cc7ff886c6ba192478cab3845..649a2621b1d98354d46b94ccc323ae21a1aa9080 100644
(file)
--- 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)