[PATCHES] add missing samba-tool documentation and fix typos
Björn Baumbach
bb at sernet.de
Thu Mar 28 14:47:00 UTC 2019
Hi!
I've added some missing documentation to the samba-tool man page and
fixed some typos.
I need a review :-)
Best regards,
Björn
--
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: 0551-370000-0, mailto:kontakt at sernet.de
Gesch.F.: Dr. Johannes Loxen und Reinhild Jung
AG Göttingen: HR-B 2816 - http://www.sernet.de
Samba eXPerience 2019, Hotel Freizeit In
sponsored by Google, Microsoft & Red Hat
June, 4th - 6th 2019, http://sambaXP.org
-------------- next part --------------
From 2a157c0c6b512628edd5b879a0e14a8895a99cbd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn=20Baumbach?= <bb at sernet.de>
Date: Thu, 28 Mar 2019 15:02:08 +0100
Subject: [PATCH 1/4] doc: add missing samba-tool user edit documentation
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: Björn Baumbach <bbaumbach at samba.org>
---
docs-xml/manpages/samba-tool.8.xml | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/docs-xml/manpages/samba-tool.8.xml b/docs-xml/manpages/samba-tool.8.xml
index 01f5313abf8..e35b4c8fb28 100644
--- a/docs-xml/manpages/samba-tool.8.xml
+++ b/docs-xml/manpages/samba-tool.8.xml
@@ -868,6 +868,21 @@
<para>Disable an user account.</para>
</refsect3>
+<refsect3>
+ <title>user edit <replaceable>username</replaceable></title>
+ <para>Edit a user account AD object.</para>
+
+ <variablelist>
+ <varlistentry>
+ <term>--editor=EDITOR</term>
+ <listitem><para>
+ Specifies the editor to use instead of the system default, or 'vi' if no
+ system default is set.
+ </para></listitem>
+ </varlistentry>
+ </variablelist>
+</refsect3>
+
<refsect3>
<title>user enable <replaceable>username</replaceable></title>
<para>Enable an user account.</para>
--
2.19.2
From 6a8f91b194ba65a9caf216aded4fddd58669e3a4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn=20Baumbach?= <bb at sernet.de>
Date: Thu, 28 Mar 2019 15:18:49 +0100
Subject: [PATCH 2/4] doc: fix typos in samba-tool documentation
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: Björn Baumbach <bbaumbach at samba.org>
---
docs-xml/manpages/samba-tool.8.xml | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/docs-xml/manpages/samba-tool.8.xml b/docs-xml/manpages/samba-tool.8.xml
index e35b4c8fb28..bbe7a484c9d 100644
--- a/docs-xml/manpages/samba-tool.8.xml
+++ b/docs-xml/manpages/samba-tool.8.xml
@@ -865,7 +865,7 @@
<refsect3>
<title>user disable <replaceable>username</replaceable></title>
- <para>Disable an user account.</para>
+ <para>Disable a user account.</para>
</refsect3>
<refsect3>
@@ -885,7 +885,7 @@
<refsect3>
<title>user enable <replaceable>username</replaceable></title>
- <para>Enable an user account.</para>
+ <para>Enable a user account.</para>
</refsect3>
<refsect3>
@@ -919,23 +919,23 @@
<refsect3>
<title>user password [options]</title>
- <para>Change password for an user account (the one provided in
+ <para>Change password for a user account (the one provided in
authentication).</para>
</refsect3>
<refsect3>
<title>user setexpiry <replaceable>username</replaceable> [options]</title>
- <para>Set the expiration of an user account.</para>
+ <para>Set the expiration of a user account.</para>
</refsect3>
<refsect3>
<title>user setpassword <replaceable>username</replaceable> [options]</title>
- <para>Sets or resets the password of an user account.</para>
+ <para>Sets or resets the password of a user account.</para>
</refsect3>
<refsect3>
<title>user getpassword <replaceable>username</replaceable> [options]</title>
- <para>Gets the password of an user account.</para>
+ <para>Gets the password of a user account.</para>
</refsect3>
<refsect3>
--
2.19.2
From fdd9369079a78d71f48f97c83a65912e6325f31b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn=20Baumbach?= <bb at sernet.de>
Date: Thu, 28 Mar 2019 15:25:01 +0100
Subject: [PATCH 3/4] doc: add missing "samba-tool computer" entry
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: Björn Baumbach <bbaumbach at samba.org>
---
docs-xml/manpages/samba-tool.8.xml | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/docs-xml/manpages/samba-tool.8.xml b/docs-xml/manpages/samba-tool.8.xml
index bbe7a484c9d..adac1f863d0 100644
--- a/docs-xml/manpages/samba-tool.8.xml
+++ b/docs-xml/manpages/samba-tool.8.xml
@@ -110,6 +110,11 @@
<refsect1>
<title>COMMANDS</title>
+<refsect2>
+ <title>computer</title>
+ <para>Manage computer accounts.</para>
+</refsect2>
+
<refsect3>
<title>computer create <replaceable>computername</replaceable> [options]</title>
<para>Create a new computer in the Active Directory Domain.</para>
--
2.19.2
From 2353337580e891baa607039c0fcc773c2993e67a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn=20Baumbach?= <bb at sernet.de>
Date: Thu, 28 Mar 2019 15:26:36 +0100
Subject: [PATCH 4/4] doc: add missing "samba-tool ou" entry
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: Björn Baumbach <bbaumbach at samba.org>
---
docs-xml/manpages/samba-tool.8.xml | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/docs-xml/manpages/samba-tool.8.xml b/docs-xml/manpages/samba-tool.8.xml
index adac1f863d0..f94864b07c9 100644
--- a/docs-xml/manpages/samba-tool.8.xml
+++ b/docs-xml/manpages/samba-tool.8.xml
@@ -684,6 +684,11 @@
<para>Reset sysvol ACLs to defaults (including correct ACLs on GPOs).</para>
</refsect3>
+<refsect2>
+ <title>ou</title>
+ <para>Manage organizational units (OUs).</para>
+</refsect2>
+
<refsect3>
<title>ou create <replaceable>ou_dn</replaceable> [options]</title>
<para>Create an organizational unit.</para>
--
2.19.2
More information about the samba-technical
mailing list