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

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