Blame SOURCES/0003-Add-documentation-for-computer-name-setting.patch

2c6b19
From 5482e0e3b4e59de0c30b37e7e3ed8b54eff1c493 Mon Sep 17 00:00:00 2001
2c6b19
From: Andrew Austin <aaustin@one.verizon.com>
2c6b19
Date: Fri, 22 Apr 2016 00:08:43 +0000
2c6b19
Subject: [PATCH 3/3] Add documentation for computer-name setting.
2c6b19
2c6b19
https://bugs.freedesktop.org/show_bug.cgi?id=93739
2c6b19
2c6b19
Signed-off-by: Stef Walter <stefw@redhat.com>
2c6b19
 * Fixed up indentation
2c6b19
---
2c6b19
 doc/manual/realmd-guide-active-directory.xml |  5 ++++-
2c6b19
 doc/manual/realmd.conf.xml                   | 20 ++++++++++++++++++++
2c6b19
 2 files changed, 24 insertions(+), 1 deletion(-)
2c6b19
2c6b19
diff --git a/doc/manual/realmd-guide-active-directory.xml b/doc/manual/realmd-guide-active-directory.xml
2c6b19
index 9b4535d..362cf94 100644
2c6b19
--- a/doc/manual/realmd-guide-active-directory.xml
2c6b19
+++ b/doc/manual/realmd-guide-active-directory.xml
2c6b19
@@ -166,7 +166,10 @@ $ <command>getent passwd DOMAIN\Administrator</command>
2c6b19
 		<para>The join operation will create or update a computer account
2c6b19
 		in the domain. If you wish to specify a specific organizational unit
2c6b19
 		where this account is created, you can use the
2c6b19
-		<link linkend="realmd-conf-active-directory"><option>computer-ou</option> setting</link>.</para>
2c6b19
+		<link linkend="realmd-conf-active-directory"><option>computer-ou</option> setting</link>.
2c6b19
+	        Additonally, you can override the default name for the computer account with the
2c6b19
+		<link linkend="realmd-conf-active-directory"><option>computer-name</option>
2c6b19
+		setting</link>.</para>
2c6b19
 
2c6b19
 		<para>Specify the <option>--user</option> to choose a different
2c6b19
 		user name than the default <literal>Administrator</literal> user.</para>
2c6b19
diff --git a/doc/manual/realmd.conf.xml b/doc/manual/realmd.conf.xml
2c6b19
index d9703f6..f8c87b9 100644
2c6b19
--- a/doc/manual/realmd.conf.xml
2c6b19
+++ b/doc/manual/realmd.conf.xml
2c6b19
@@ -321,7 +321,27 @@ computer-ou = OU=Linux Computers,DC=domain,DC=example,DC=com
2c6b19
 		create a computer account at a specific OU.</para>
2c6b19
 	</listitem>
2c6b19
 	</varlistentry>
2c6b19
+	<varlistentry>
2c6b19
+	<term><option>computer-name</option></term>
2c6b19
+	<listitem>
2c6b19
+		<para>This option only applied to Active Directory realms. Specify this
2c6b19
+		option to override the default name used when creating the computer
2c6b19
+		account. The system's FQDN will still be saved in the dNSHostName attribute.</para>
2c6b19
+		<informalexample>
2c6b19
+<programlisting language="js">
2c6b19
+[domain.example.com]
2c6b19
+computer-name = SERVER01
2c6b19
+</programlisting>
2c6b19
+		</informalexample>
2c6b19
+
2c6b19
+		<para>Specify the name as a string of 15 or fewer characters that is
2c6b19
+		a valid NetBIOS computer name.</para>
2c6b19
 
2c6b19
+		<para>It is also possible to use the <option>--computer-name</option>
2c6b19
+		argument of the <command>realm</command> command to override the default
2c6b19
+		computer account name.</para>
2c6b19
+	</listitem>
2c6b19
+	</varlistentry>
2c6b19
 	<varlistentry>
2c6b19
 	<term><option>user-prinicpal</option></term>
2c6b19
 	<listitem>
2c6b19
-- 
2c6b19
2.7.4
2c6b19