Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > media > main-release > by-pkgid > 275bc5f884d593fea8c87799d871d7f1 > files > 35

mandriva-doc-Mastering-Manual-en-2008.1-0.4mdv2008.1.noarch.rpm

<html>
   <head>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
   
      <title>1.&nbsp;Importing Remote SMB Directories</title>
      <link rel="stylesheet" href="images/mdk-doc.css" type="text/css">
      <meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
      <meta name="description" content="Samba directories, importing Windows file sharing DiskDrake Samba Samba This tool allows the system administrator to give users access to remotely shared directories using the SMB protocol (used mainly by Windows&reg;). While users can individually access remote shares through their file managers, it may be required in some cases to import a specific share for it to become immediately available for all users. We'll go through an example showing you how to import a directory from a Windows&reg; machine.">
      <link rel="start" href="index.html" title="Mastering Mandriva Linux">
      <link rel="up" href="mcc-networksharing.html" title="Chapter&nbsp;12.&nbsp;Network Sharing">
      <link rel="prev" href="mcc-networksharing.html" title="Chapter&nbsp;12.&nbsp;Network Sharing">
      <link rel="next" href="diskdrake-nfs.html" title="2.&nbsp;Importing Remote NFS Directories">
   </head>
   <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
      <div class="navheader">
         <table width="100%" summary="Navigation header">
            <tr>
               <th colspan="3" align="center">1.&nbsp;Importing Remote SMB
                      Directories
               </th>
            </tr>
            <tr>
               <td width="20%" align="left"><a accesskey="p" href="mcc-networksharing.html">Prev</a>&nbsp;
               </td>
               <th width="60%" align="center">Chapter&nbsp;12.&nbsp;Network Sharing</th>
               <td width="20%" align="right">&nbsp;<a accesskey="n" href="diskdrake-nfs.html">Next</a></td>
            </tr>
         </table>
         <hr>
      </div>
      <div class="section" lang="en">
         <div class="titlepage">
            <div>
               <div>
                  <h2 class="title" style="clear: both"><a name="diskdrake-smb"></a>1.&nbsp;Importing Remote SMB
                         Directories
                  </h2>
               </div>
               <div>
                  <div class="abstract">
                     <p class="title"><b>Abstract</b></p>
                           
                     <p><a name="BId-diskdrake-smb-pa1"></a><a class="indexterm" name="BIdNEW-diskdrake-smb-it3"></a> <a class="indexterm" name="BId-diskdrake-smb-it1"></a> <span class="inlinemediaobject"><img src="images/diskdrake-smb-icon.png"></span> <a class="indexterm" name="BId-diskdrake-smb-it2"></a> <a class="indexterm" name="BIdNEW-diskdrake-smb-it4"></a> This tool allows the system administrator to give users
                              access to remotely shared directories using the <acronym class="acronym">SMB</acronym>
                              protocol (used mainly by
                              <span class="application">Windows<sup>&reg;</sup></span>).
                     </p>
                     
                           
                     <p><a name="BId-diskdrake-smb-pa6"></a>While users can
                              individually access remote shares through their file managers, it may be
                              required in some cases to import a specific share for it to become
                              immediately available for all users. We'll go through an example showing
                              you how to import a directory from a
                              <span class="application">Windows<sup>&reg;</sup></span>
                              machine.
                     </p>
                         
                  </div>
               </div>
            </div>
         </div>
           
         
           
         <div class="figure"><a name="diskdrake-smb-scan"></a><p class="title"><b>Figure&nbsp;12.1.&nbsp;Scanning the Whole Network</b></p>
            <div class="figure-contents">
                   
               
                   
               <div class="mediaobject" align="center"><img src="images/diskdrake-smb-scan.png" align="middle" alt="Scanning the Whole Network"></div>
                 
            </div>
         </div><br class="figure-break">
         
           
         <p>
                <b>Choose a Server.&nbsp;</b>
            
                Clicking on the
                <span class="guilabel">Search servers</span> button scans the local network for
                machines which currently share directories (including the local one).
                We'll choose one of them and make it available locally for all
                users.
              
         </p>
         
           
         
           
         
           
         <p>
                <b>Choose a Share.&nbsp;</b>
            
                
                Click on a machine name,
                then on the little arrow at the left of the machine icon to show available
                shares. Then select the one you wish to configure.
              
         </p>
         
           
         <div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;">
            <table border="0" summary="Tip">
               <tr>
                  <td rowspan="2" align="center" valign="top" width="25"><img alt="[Tip]" src="images/tip.png"></td>
                  <th align="left">Tip</th>
               </tr>
               <tr>
                  <td align="left" valign="top">
                         
                     <p><a name="BIdNEW-diskdrake-smb-pa15"></a>If the machine
                            you're connecting to has both public and password-protected shares, then
                            canceling the password entry dialog will connect you to that machine, but
                            only to its public shares.
                     </p>
                       
                  </td>
               </tr>
            </table>
         </div>
         
           
         
           
         <p><a name="BId-diskdrake-smb-pa10"></a>Once a share is selected,
              a <span class="guibutton">Mount point</span> button appears, click on it to enter
              the local directory name where remote files will be accessible.
         </p>
         
           
         <p><a name="BId-diskdrake-smb-pa11"></a>Once this is done, two more buttons
              appear:
         </p>
         
           
         <div class="itemizedlist">
            <ul type="disc">
               <li>
                        
                  
                        
                  <p>
                             <b><span class="guibutton">Options</span>.&nbsp;</b>
                     
                             Allows you to set a
                             user name and password to access that <acronym class="acronym">SMB</acronym> mount
                             point. Other permissions and advanced settings can also be set through
                             this button. Make sure you set at least the username, or leave all
                             options empty to use defaults.
                           
                  </p>
                      
               </li>
               <li>
                        
                  <p>
                             <b><span class="guibutton">Mount</span>.&nbsp;</b>
                     
                             Makes the resource available
                             locally. When this is done, users simply have to point their file
                             manager to the directory selected as the mount point to get the files
                             hosted by the server.
                           
                  </p>
                      
               </li>
            </ul>
         </div>
         
           
         <p>
                <b>Import Share on Each
                     Reboot.&nbsp;</b>
            
                When you're finished
                configuring the access points for remote directories, click on
                <span class="guibutton">Done</span>. A dialog box will appear asking you whether
                or not you wish to save your modifications to the
                <code class="filename">/etc/fstab</code> file (where mount point information is
                usually stored). Click on <span class="guibutton">Yes</span> to make the shares
                configuration persistent between sessions. Click on
                <span class="guibutton">No</span> to exit without saving your changes.
              
         </p>
         
      </div>
      <div class="navfooter">
         <hr>
         <table width="100%" summary="Navigation footer">
            <tr>
               <td width="40%" align="left"><a accesskey="p" href="mcc-networksharing.html">Prev</a>&nbsp;
               </td>
               <td width="20%" align="center"><a accesskey="u" href="mcc-networksharing.html">Up</a></td>
               <td width="40%" align="right">&nbsp;<a accesskey="n" href="diskdrake-nfs.html">Next</a></td>
            </tr>
            <tr>
               <td width="40%" align="left" valign="top">Chapter&nbsp;12.&nbsp;Network Sharing&nbsp;</td>
               <td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td>
               <td width="40%" align="right" valign="top">&nbsp;2.&nbsp;Importing Remote NFS
                      Directories
               </td>
            </tr>
         </table>
      </div>
   </body>
</html>