diff options
| author | Andrew Tridgell <tridge@samba.org> | 2010-09-23 19:51:36 -0700 |
|---|---|---|
| committer | Andrew Tridgell <tridge@samba.org> | 2010-09-25 10:38:45 -0700 |
| commit | c53210bf0609de982d0b36f76198defc8a4502da (patch) | |
| tree | 9741ba4b9f9f173a075c16e0359f4c6994a9f5f1 /source4/scripting/python/samba/netcmd/export.py | |
| parent | 3d7a4cf5b68a1adcc4b7b53819ffc0c580e92da0 (diff) | |
| download | samba-c53210bf0609de982d0b36f76198defc8a4502da.tar.gz samba-c53210bf0609de982d0b36f76198defc8a4502da.tar.bz2 samba-c53210bf0609de982d0b36f76198defc8a4502da.zip | |
s4-net: added --ipaddress option to net commands
this allows override of server IP address, bypassing NBT or DNS name
resolution of DCs
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source4/scripting/python/samba/netcmd/export.py')
| -rw-r--r-- | source4/scripting/python/samba/netcmd/export.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/netcmd/export.py b/source4/scripting/python/samba/netcmd/export.py index 5edb318f3e7..47c0bf0732f 100644 --- a/source4/scripting/python/samba/netcmd/export.py +++ b/source4/scripting/python/samba/netcmd/export.py @@ -45,7 +45,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) + net = Net(creds, lp, server=credopts.ipaddress) net.export_keytab(keytab=keytab) |
