mirror of
https://github.com/samba-team/samba.git
synced 2025-07-25 00:59:11 +03:00
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>
This commit is contained in:
@ -41,5 +41,5 @@ class cmd_time(Command):
|
||||
def run(self, server_name, 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)
|
||||
print net.time(server_name)
|
||||
|
Reference in New Issue
Block a user