[deployment-guide/comm-rel: 607/727] fixed minor issues

Jaromir Hradilek jhradile at fedoraproject.org
Tue Oct 19 13:16:39 UTC 2010


commit 495d643faa404092a6cb147ef8e16bec5656c923
Author: Martin Prpic <mprpic at redhat.com>
Date:   Tue Sep 7 13:45:47 2010 +0200

    fixed minor issues

 en-US/Samba.xml |   40 ++++++++++++++++++++--------------------
 1 files changed, 20 insertions(+), 20 deletions(-)
---
diff --git a/en-US/Samba.xml b/en-US/Samba.xml
index b99e10d..4360b89 100644
--- a/en-US/Samba.xml
+++ b/en-US/Samba.xml
@@ -260,7 +260,7 @@
       </indexterm>
       <para>To connect to a Samba share from a shell prompt, type the following command:</para>
       <screen>
-<command>smbclient //<replaceable>&lt;hostname&gt;</replaceable>/<replaceable>&lt;sharename&gt;</replaceable> -U <replaceable>&lt;username&gt;</replaceable>
+<command>~]$&#160;smbclient //<replaceable>&lt;hostname&gt;</replaceable>/<replaceable>&lt;sharename&gt;</replaceable> -U <replaceable>&lt;username&gt;</replaceable>
         </command>
       </screen>
       <para>Replace <replaceable>&lt;hostname&gt;</replaceable> with the hostname or <systemitem class="protocol">IP</systemitem> address of the Samba server you want to connect to, <replaceable>&lt;sharename&gt;</replaceable> with the name of the shared directory you want to browse, and <replaceable>&lt;username&gt;</replaceable> with the Samba username for the system. Enter the correct password or press <keycap>Enter</keycap> if no password is required for the user.</para>
@@ -279,7 +279,7 @@
       <para>Sometimes it is useful to mount a Samba share to a directory so that the files in the directory can be treated as if they are part of the local file system.</para>
       <para>To mount a Samba share to a directory, create a directory to mount it to (if it does not already exist), and execute the following command as root:</para>
       <screen>
-<command>mount -t cifs //<replaceable>&lt;servername&gt;</replaceable>/<replaceable>&lt;sharename&gt;</replaceable>
+<command>~]#&#160;mount -t cifs //<replaceable>&lt;servername&gt;</replaceable>/<replaceable>&lt;sharename&gt;</replaceable>
           <replaceable>/mnt/point/</replaceable> -o username=<replaceable>&lt;username&gt;</replaceable>,password=<replaceable>&lt;password&gt;</replaceable>
         </command>
       </screen>
@@ -1005,7 +1005,7 @@ domain master = Yes
             <para>
             Add the root user to the Samba password database.</para>
 <screen>
-<command>smbpasswd -a root</command>
+<command>~]#&#160;smbpasswd -a root</command>
 Provide the password here.
 </screen>
           </listitem>
@@ -1024,18 +1024,18 @@ Provide the password here.
               Add groups that users can be members of.
             </para>
 <screen>
-<command>groupadd -f users</command>
-<command>groupadd -f nobody</command>
-<command>groupadd -f ntadmins</command>
+<command>~]#&#160;groupadd -f users</command>
+<command>~]#&#160;groupadd -f nobody</command>
+<command>~]#&#160;groupadd -f ntadmins</command>
 </screen>
           </listitem>
           <listitem>
             <para>
               Associate the UNIX groups with their respective Windows groups.
 <screen>
-<command>net groupmap add ntgroup="Domain Users" unixgroup=users</command>
-<command>net groupmap add ntgroup="Domain Guests" unixgroup=nobody</command>
-<command>net groupmap add ntgroup="Domain Admins" unixgroup=ntadmins</command>
+<command>~]#&#160;net groupmap add ntgroup="Domain Users" unixgroup=users</command>
+<command>~]#&#160;net groupmap add ntgroup="Domain Guests" unixgroup=nobody</command>
+<command>~]#&#160;net groupmap add ntgroup="Domain Admins" unixgroup=ntadmins</command>
 </screen>
             </para>
           </listitem>
@@ -1043,7 +1043,7 @@ Provide the password here.
             <para>
               Grant access rights to a user or a group. For example, to grant the right to add client machines to the domain on a Samba domain controller, to the members to the Domain Admins group, execute the following command:
 <screen>
-<command>net rpc rights grant 'DOCS\Domain Admins' SetMachineAccountPrivilege -S PDC -U root</command>
+<command>~]#&#160;net rpc rights grant 'DOCS\Domain Admins' SetMachineAccountPrivilege -S PDC -U root</command>
 </screen>
             </para>
           </listitem>
@@ -1636,7 +1636,7 @@ printer admin = ed, john
     <para>The <command>findsmb</command> program is a Perl script which reports information about <systemitem class="protocol">SMB</systemitem>-aware systems on a specific subnet. If no subnet is specified the local subnet is used. Items displayed include <systemitem class="protocol">IP</systemitem> address, NetBIOS name, workgroup or domain name, operating system, and version.</para>
     <para>The following example shows the output of executing <command>findsmb</command> as any valid user on a system:</para>
     <screen>
-<userinput>findsmb</userinput>
+<userinput>~]$&#160;findsmb</userinput>
 IP ADDR       NETBIOS NAME  WORKGROUP/OS/VERSION
 ------------------------------------------------------------------
 10.1.59.25    VERVE         [MYGROUP] [Unix] [Samba 3.0.0-15]
@@ -1705,7 +1705,7 @@ IP ADDR       NETBIOS NAME  WORKGROUP/OS/VERSION
       </command> option can be <command>ads</command>, <command>rap</command>, or <command>rpc</command> for specifying the type of server connection. Active Directory uses <command>ads</command>, Win9x/NT3 uses <command>rap</command>, and Windows NT4/2000/2003/2008 uses <command>rpc</command>. If the protocol is omitted, <command>net</command> automatically tries to determine it.</para>
     <para>The following example displays a list the available shares for a host named <command>wakko</command>:</para>
     <screen>
-<userinput>net -l share -S wakko</userinput>
+<userinput>~]$&#160;net -l share -S wakko</userinput>
 Password:
 Enumerating shared resources (exports) on remote server:
 Share name   Type     Description
@@ -1717,7 +1717,7 @@ ADMIN$       IPC      IPC Service (Samba Server)
 </screen>
     <para>The following example displays a list of Samba users for a host named <command>wakko</command>:</para>
     <screen>
-<userinput>net -l user -S wakko</userinput>
+<userinput>~]$&#160;net -l user -S wakko</userinput>
 root password:
 User name             Comment
 -----------------------------
@@ -1752,7 +1752,7 @@ lisa                  Sales
     <para>The <command>nmblookup</command> program resolves NetBIOS names into <systemitem class="protocol">IP</systemitem> addresses. The program broadcasts its query on the local subnet until the target machine replies.</para>
     <para>Here is an example:</para>
     <screen>
-<userinput>nmblookup trek</userinput>
+<userinput>~]$&#160;nmblookup trek</userinput>
 querying trek on 10.1.59.255
 10.1.56.45 trek&lt;00&gt;
 </screen>
@@ -1783,7 +1783,7 @@ querying trek on 10.1.59.255
     <para>The <command>pdbedit</command> program manages accounts located in the SAM database. All back ends are supported including <filename>smbpasswd</filename>, LDAP, and the <filename>tdb</filename> database library.</para>
     <para>The following are examples of adding, deleting, and listing users:</para>
     <screen>
-<userinput>pdbedit -a kristin</userinput>
+<userinput>~]$&#160;pdbedit -a kristin</userinput>
 new password:
 retype new password:
 Unix username:        kristin
@@ -1805,7 +1805,7 @@ Kickoff time:         Mon, 18 Jan 2038 22:14:07 GMT
 Password last set:    Thu, 29 Jan 2004 08:29:28
 GMT Password can change:  Thu, 29 Jan 2004 08:29:28 GMT
 Password must change: Mon, 18 Jan 2038 22:14:07 GMT
-<userinput>pdbedit -v -L kristin</userinput>
+<userinput>~]$&#160;pdbedit -v -L kristin</userinput>
 Unix username:        kristin
 NT username:
 Account Flags:        [U          ]
@@ -1826,13 +1826,13 @@ Kickoff time:         Mon, 18 Jan 2038 22:14:07 GMT
 Password last set:    Thu, 29 Jan 2004 08:29:28 GMT
 Password can change:  Thu, 29 Jan 2004 08:29:28 GMT
 Password must change: Mon, 18 Jan 2038 22:14:07 GMT
-<userinput>pdbedit -L</userinput>
+<userinput>~]$&#160;pdbedit -L</userinput>
 andriusb:505:
 joe:503:
 lisa:504:
 kristin:506:
-<userinput>pdbedit -x joe</userinput>
-<userinput>pdbedit -L</userinput>
+<userinput>~]$&#160;pdbedit -x joe</userinput>
+<userinput>~]$&#160;pdbedit -L</userinput>
 andriusb:505: lisa:504: kristin:506:
 </screen>
 		<!-- RHEL5:  	</section> -->
@@ -2097,7 +2097,7 @@ andriusb:505: lisa:504: kristin:506:
     <para>The <command>testparm</command> program checks the syntax of the <filename>/etc/samba/smb.conf</filename> file. If your <filename>/etc/samba/smb.conf</filename> file is in the default location (<filename>/etc/samba/smb.conf</filename>) you do not need to specify the location. Specifying the hostname and IP address to the <command>testparm</command> program verifies that the <filename>hosts.allow</filename> and <filename>host.deny</filename> files are configured correctly. The <command>testparm</command> program also displays a summary of your <filename>/etc/samba/smb.conf</filename> file and the server's role (stand-alone, domain, etc.) after testing. This is convenient when debugging as it excludes comments and concisely presents information for experienced administrators to read.</para>
     <para>For example:</para>
     <screen>
-<userinput>testparm</userinput>
+<userinput>~]$&#160;testparm</userinput>
 Load smb config files from /etc/samba/smb.conf
 Processing section "[homes]"
 Processing section "[printers]"


More information about the docs-commits mailing list