summaryrefslogtreecommitdiffstats
path: root/source4/scripting/python/samba/netcmd/domain.py
diff options
context:
space:
mode:
authorKarolin Seeger <kseeger@samba.org>2012-10-08 12:32:58 +0200
committerKarolin Seeger <kseeger@samba.org>2012-10-08 14:26:51 +0200
commitacea51cc37ff9171c9e18ff0c21b825080aa4b8e (patch)
tree3e1d8883963f55563a579239ccc2a498c8ff0d8c /source4/scripting/python/samba/netcmd/domain.py
parent8e259891d6ae5c94ab5bc549cbbc1a7e9efb34de (diff)
downloadsamba-acea51cc37ff9171c9e18ff0c21b825080aa4b8e.tar.gz
samba-acea51cc37ff9171c9e18ff0c21b825080aa4b8e.tar.xz
samba-acea51cc37ff9171c9e18ff0c21b825080aa4b8e.zip
samba-tool: Unify usage messages.
Karolin Autobuild-User(master): Karolin Seeger <kseeger@samba.org> Autobuild-Date(master): Mon Oct 8 14:26:52 CEST 2012 on sn-devel-104
Diffstat (limited to 'source4/scripting/python/samba/netcmd/domain.py')
-rw-r--r--source4/scripting/python/samba/netcmd/domain.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/source4/scripting/python/samba/netcmd/domain.py b/source4/scripting/python/samba/netcmd/domain.py
index a9ad086d264..67732b14791 100644
--- a/source4/scripting/python/samba/netcmd/domain.py
+++ b/source4/scripting/python/samba/netcmd/domain.py
@@ -81,7 +81,7 @@ def get_testparm_var(testparm, smbconf, varname):
try:
import samba.dckeytab
class cmd_domain_export_keytab(Command):
- """Dumps kerberos keys of the domain into a keytab"""
+ """Dump Kerberos keys of the domain into a keytab."""
synopsis = "%prog <keytab> [options]"
@@ -106,7 +106,7 @@ except:
class cmd_domain_info(Command):
- """Print basic info about a domain and the DC passed as parameter"""
+ """Print basic info about a domain and the DC passed as parameter."""
synopsis = "%prog <ip_address> [options]"
@@ -405,7 +405,7 @@ class cmd_domain_provision(Command):
result.report_logger(self.logger)
def _get_nameserver_ip(self):
- """Grab the nameserver IP address from /etc/resolv.conf"""
+ """Grab the nameserver IP address from /etc/resolv.conf."""
from os import path
RESOLV_CONF="/etc/resolv.conf"
@@ -429,7 +429,7 @@ class cmd_domain_provision(Command):
class cmd_domain_dcpromo(Command):
- """Promotes an existing domain member or NT4 PDC to an AD DC"""
+ """Promote an existing domain member or NT4 PDC to an AD DC."""
synopsis = "%prog <dnsdomain> [DC|RODC] [options]"
@@ -494,7 +494,7 @@ class cmd_domain_dcpromo(Command):
class cmd_domain_join(Command):
- """Joins domain as either member or backup domain controller"""
+ """Join domain as either member or backup domain controller."""
synopsis = "%prog <dnsdomain> [DC|RODC|MEMBER|SUBDOMAIN] [options]"
@@ -573,7 +573,7 @@ class cmd_domain_join(Command):
class cmd_domain_demote(Command):
- """Demote ourselves from the role of Domain Controller"""
+ """Demote ourselves from the role of Domain Controller."""
synopsis = "%prog [options]"
@@ -815,7 +815,7 @@ class cmd_domain_demote(Command):
class cmd_domain_level(Command):
- """Raises domain and forest function levels"""
+ """Raise domain and forest function levels."""
synopsis = "%prog (show|raise <options>) [options]"
@@ -1019,7 +1019,7 @@ class cmd_domain_level(Command):
class cmd_domain_passwordsettings(Command):
- """Sets password settings
+ """Set password settings.
Password complexity, history length, minimum password length, the minimum
and maximum password age) on a Samba4 server.