summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorDavid Mulder <dmulder@suse.com>2018-05-07 09:45:32 -0600
committerAndrew Bartlett <abartlet@samba.org>2018-07-04 10:22:15 +0200
commitc8621948f65d09cd3461cfacc4aa00051abb0796 (patch)
tree56e4b5e32c98f6eeecc00f77d17e29a5460823a8 /source4
parent56d9b1a533b8d3ebd4e686145883c7ed62c08ce0 (diff)
downloadsamba-c8621948f65d09cd3461cfacc4aa00051abb0796.tar.gz
samba_gpoupdate: Rename the command to samba-gpupdate
On a Windows client, this command is called 'gpupdate' Signed-off-by: David Mulder <dmulder@suse.com> Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4')
-rwxr-xr-xsource4/scripting/bin/samba-gpupdate (renamed from source4/scripting/bin/samba_gpoupdate)4
-rw-r--r--source4/scripting/bin/wscript_build2
-rw-r--r--source4/scripting/man/samba-gpupdate.8.xml (renamed from source4/scripting/man/samba_gpoupdate.8.xml)10
-rw-r--r--source4/scripting/wscript_build4
4 files changed, 10 insertions, 10 deletions
diff --git a/source4/scripting/bin/samba_gpoupdate b/source4/scripting/bin/samba-gpupdate
index 89b3ed77616..1a95d03c8ad 100755
--- a/source4/scripting/bin/samba_gpoupdate
+++ b/source4/scripting/bin/samba-gpupdate
@@ -39,7 +39,7 @@ from samba.gp_sec_ext import gp_sec_ext
import logging
if __name__ == "__main__":
- parser = optparse.OptionParser('samba_gpoupdate [options]')
+ parser = optparse.OptionParser('samba-gpupdate [options]')
sambaopts = options.SambaOptions(parser)
# Get the command line options
@@ -68,7 +68,7 @@ if __name__ == "__main__":
session = system_session()
# Set up logging
- logger = logging.getLogger('samba_gpoupdate')
+ logger = logging.getLogger('samba-gpupdate')
logger.addHandler(logging.StreamHandler(sys.stdout))
logger.setLevel(logging.CRITICAL)
log_level = lp.log_level()
diff --git a/source4/scripting/bin/wscript_build b/source4/scripting/bin/wscript_build
index 043442b3407..72e42584259 100644
--- a/source4/scripting/bin/wscript_build
+++ b/source4/scripting/bin/wscript_build
@@ -9,4 +9,4 @@ if bld.CONFIG_SET('AD_DC_BUILD_IS_ENABLED'):
'samba_upgradedns',
'gen_output.py']:
bld.SAMBA_SCRIPT(script, pattern=script, installdir='.')
-bld.SAMBA_SCRIPT('samba_gpoupdate', pattern='samba_gpoupdate', installdir='.')
+bld.SAMBA_SCRIPT('samba-gpupdate', pattern='samba-gpupdate', installdir='.')
diff --git a/source4/scripting/man/samba_gpoupdate.8.xml b/source4/scripting/man/samba-gpupdate.8.xml
index 0c3a0a812a1..23b191c21b9 100644
--- a/source4/scripting/man/samba_gpoupdate.8.xml
+++ b/source4/scripting/man/samba-gpupdate.8.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
-<refentry id="samba_gpoupdate.8">
+<refentry id="samba-gpupdate.8">
<refentryinfo><date>2017-07-11</date></refentryinfo>
<refmeta>
@@ -12,17 +12,17 @@
</refmeta>
<refnamediv>
- <refname>samba_gpoupdate</refname>
+ <refname>samba-gpupdate</refname>
<refpurpose>apply group policy</refpurpose>
</refnamediv>
<refsynopsisdiv>
<cmdsynopsis>
- <command>samba_gpoupdate</command>
+ <command>samba-gpupdate</command>
</cmdsynopsis>
<cmdsynopsis>
- <command>samba_gpoupdate</command>
+ <command>samba-gpupdate</command>
<arg choice="opt">
<replaceable>options</replaceable>
</arg>
@@ -37,7 +37,7 @@
<citerefentry><refentrytitle>samba</refentrytitle>
<manvolnum>1</manvolnum></citerefentry> suite.</para>
- <para><command>samba_gpoupdate</command> a script for
+ <para><command>samba-gpupdate</command> a script for
applying and unapplying Group Policy. Group Policy
application is experimental. Currently this applies
password policies (minimum/maximum password age,
diff --git a/source4/scripting/wscript_build b/source4/scripting/wscript_build
index 2f53cce12b7..df24e921cd9 100644
--- a/source4/scripting/wscript_build
+++ b/source4/scripting/wscript_build
@@ -5,8 +5,8 @@ from samba_utils import MODE_755
sbin_files = ''
if bld.CONFIG_SET('AD_DC_BUILD_IS_ENABLED'):
sbin_files = 'bin/samba_dnsupdate bin/samba_spnupdate bin/samba_upgradedns bin/samba_kcc '
-sbin_files += 'bin/samba_gpoupdate'
-man_files = 'man/samba_gpoupdate.8'
+sbin_files += 'bin/samba-gpupdate'
+man_files = 'man/samba-gpupdate.8'
if sbin_files:
bld.INSTALL_FILES('${SBINDIR}',