From dfe9d5a48ded438d2d756b48f907bddb119464f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Tue, 10 Mar 2020 18:18:10 +0100 Subject: [PATCH] docs: Add missing winexe manpage BUG: https://bugzilla.samba.org/show_bug.cgi?id=14318 Guenther Signed-off-by: Guenther Deschner Reviewed-by: Volker Lendecke Autobuild-User(master): Volker Lendecke Autobuild-Date(master): Thu Aug 20 12:55:23 UTC 2020 on sn-devel-184 (cherry picked from commit a9b6a8378e5db19d5d5ecd42f08ec3abd49ad5b8) --- docs-xml/manpages/winexe.1.xml | 184 +++++++++++++++++++++++++++++++++ docs-xml/wscript_build | 5 + 2 files changed, 189 insertions(+) create mode 100644 docs-xml/manpages/winexe.1.xml diff --git a/docs-xml/manpages/winexe.1.xml b/docs-xml/manpages/winexe.1.xml new file mode 100644 index 00000000000..c0e41c26b15 --- /dev/null +++ b/docs-xml/manpages/winexe.1.xml @@ -0,0 +1,184 @@ + + + + + + winexe + 1 + Samba + User Commands + &doc.version; + + + + + winexe + Winexe is a Remote Windows-command executor + + + + + winexe + -h + -V + -U [DOMAIN/]USERNAME[%PASSWORD] + -A FILE + -N + -k + -d DEBUGLEVEL + --uninstall + --reinstall + --runas [DOMAIN/]USERNAME[%PASSWORD] + --runas-file FILE + --interactive [0|1] + --ostype [0|1] + + + + + DESCRIPTION + + This tool is part of the samba + 7 suite. + + The winexe allows remote command execution on native + Windows operating systems. + + + + OPTIONS + + + + &stdarg.help; + &stdarg.version; + &stdarg.username; + &stdarg.authfile; + &stdarg.nopass; + &stdarg.kerberos; + &stdarg.client.debug; + + + --uninstall + + + Uninstall winexe service after remote execution. + + + + + + --reinstall + + + Reinstall winexe service before remote execution. + + + + + + --runas [DOMAIN/]USERNAME[%PASSWORD]] + + + Run as the given user (BEWARE: this password is sent in cleartext over the network!) + + + + + + --runas-file FILE + + + Run as user options defined in a file. + + + + + + --interactive [0|1] + + + Desktop interaction. + + + There are two options: + + + + 0 - disallow + + + + + + 1 - allow. If allow, also use the --system switch (Windows requirement). Vista does not support this optoin. + + + + + + + + --ostype [0|1|2] + + + Determines which version (32-bit or 64-bit) of service will be installed. + + + There are three options: + + + + 0 - 32-bit + + + + + + 1 - 64-bit + + + + + + 2 - winexe will decide + + + + + + + + + + + + EXIT STATUS + + The winexe program returns 0 if the operation + succeeded, or 1 if the operation failed. + + + + + VERSION + + This man page is part of version &doc.version; of + the Samba suite. + + + + AUTHOR + + The original Samba software and related utilities + were created by Andrew Tridgell. Samba is now developed + by the Samba Team as an Open Source project similar + to the way the Linux kernel is developed. + + The winexe and it's native Windows counterpart were written by Andrzej Hajda. + The Samba client tool winexe was later rewritten by Volker Lendecke. + + This manpage was written by Guenther Deschner. + + + diff --git a/docs-xml/wscript_build b/docs-xml/wscript_build index c7684088989..dc5f31459e7 100644 --- a/docs-xml/wscript_build +++ b/docs-xml/wscript_build @@ -64,6 +64,8 @@ pam_winbind_manpages = ''' krb5_locator_manpages = 'manpages/winbind_krb5_locator.8' krb5_localauth_manpages = 'manpages/winbind_krb5_localauth.8' +winexe_manpages = 'manpages/winexe.1' + vfs_module_manpages = ['vfs_acl_tdb', 'vfs_acl_xattr', 'vfs_aio_fork', @@ -170,6 +172,9 @@ if ('XSLTPROC_MANPAGES' in bld.env and bld.env['XSLTPROC_MANPAGES']): if bld.CONFIG_SET('HAVE_KRB5_LOCALAUTH_PLUGIN_H'): bld.SAMBAMANPAGES(krb5_localauth_manpages) + if conf.env.build_winexe == True: + bld.SAMBAMANPAGES(winexe_manpages) + for manpage in vfs_module_manpages: if bld.SAMBA3_IS_ENABLED_MODULE(manpage): bld.SAMBAMANPAGES('manpages/%s.8' % manpage) -- 2.26.2