1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
samba-mirror/examples
Karl Lenz 7425a8fbbe winexe: Add support for connecting to a host on an alternate port
This commit allows an optional port number to be specified after the
hostname on the winexe command line. If no port is given, it defaults
to port 445, just like it used before. Although this is probably a
pretty uncommon use-case, it allows port-forwarding the service through
a firewall to an alternate port, which can occassionally be helpful.

$ ./bin/winexe -U karl%password1 //127.0.0.1:5445 cmd.exe
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Windows\system32>

Signed-off-by: Karl Lenz <xorangekiller@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
2019-07-05 03:33:19 +00:00
..
ad-bench AD-Bench: A first go at an Active Directory benchmark. 2009-10-07 15:45:46 +02:00
auth Change order of flags in Makefile so that crackcheck builds under Ubuntu 2018-12-14 04:13:38 +01:00
autofs
dce-dfs Remove remaining references to "password level" in the tree 2013-06-11 16:25:54 +02:00
fuse libsmb: add in/out cblobs to cli_smb2_create_fnum 2019-03-01 00:32:12 +00:00
LDAP Reserve an OID space for external projects 2013-10-18 05:47:29 +02:00
libsmbclient examples: Use C99 initializer for poptOption in testacl 2019-01-28 10:29:12 +01:00
logon PY3: change shebang to python3 in misc dirs 2018-12-14 18:00:40 +01:00
misc Correct "doesnt" typos. 2017-02-22 08:26:21 +01:00
nss
pam_winbind pam_winbind: update documentation for "DIR" krb5ccname pragma. 2013-07-24 02:43:09 +02:00
pcap2nbench Fix typo for response 2018-05-12 02:09:25 +02:00
pdb lib: modules: Change XXX_init interface from XXX_init(void) to XXX_init(TALLOC_CTX *) 2017-04-22 01:17:00 +02:00
perfcounter examples/perfcounter/perf_writer.c: fix memset 2016-03-30 18:26:09 +02:00
printer-accounting
printing packaging: Move smbprint to a comman location. 2012-10-29 14:08:37 +01:00
scripts PEP8: fix E401: multiple imports on one line 2018-08-24 07:49:30 +02:00
systemtap examples: add cache effectiveness stats to gencache.stp 2017-08-11 14:19:24 +02:00
tridge Remove remaining references to "password level" in the tree 2013-06-11 16:25:54 +02:00
validchars
VFS vfs: Remove unused "msg_ctx" from SMB_VFS_BRL_UNLOCK_WINDOWS 2019-07-02 17:01:27 +00:00
winexe winexe: Add support for connecting to a host on an alternate port 2019-07-05 03:33:19 +00:00
README Update mailing list references to point at lists.samba.org 2015-02-10 07:08:28 +01:00
smb.conf.default examples/smb.conf.default: Fix typo in comment line: sever -> server 2016-04-09 02:35:23 +02:00

Copyright(C) Samba-Team 1993-2001

This directory contains example config files and related material for
Samba. 

At a minimum please refer to the smb.conf.default file for current
information regarding global and share parameter settings.

Send additions to: samba-technical@lists.samba.org