- Timestamp:
- May 23, 2008, 6:56:41 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.0/docs/htmldocs/Samba3-HOWTO/AdvancedNetworkManagement.html
r44 r134 1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 25. Advanced Network Management</title><link rel="stylesheet" href=" samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.71.0"><link rel="start" href="index.html" title="The Official Samba-3 HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="winbind.html" title="Chapter 24. Winbind: Use of Domain Accounts"><link rel="next" href="PolicyMgmt.html" title="Chapter 26. System and Account Policies"></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">Chapter 25. Advanced Network Management</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="winbind.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="PolicyMgmt.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="AdvancedNetworkManagement"></a>Chapter 25. Advanced Network Management</h2></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email"><<a href="mailto:[email protected]">[email protected]</a>></code></p></div></div></div></div><div><p class="pubdate">June 15 2005</p></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id415432">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id415453">Remote Server Administration</a></span></dt><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id415590">Remote Desktop Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id415616">Remote Management from NoMachine.Com</a></span></dt></dl></dd><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id415955">Network Logon Script Magic</a></span></dt><dd><dl><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id416121">Adding Printers without User Intervention</a></span></dt><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id416162">Limiting Logon Connections</a></span></dt></dl></dd></dl></div><p>2 <a class="indexterm" name="id4 15422"></a>1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 25. Advanced Network Management</title><link rel="stylesheet" href="">Limiting Logon Connections</a></span></dt></dl></dd></dl></div><p> 2 <a class="indexterm" name="id4"></a> 3 3 This section documents peripheral issues that are of great importance to network 4 4 administrators who want to improve network resource access control, to automate the user 5 5 environment, and to make their lives a little easier. 6 </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id4 15432"></a>Features and Benefits</h2></div></div></div><p>6 </p><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id4"></a>Features and Benefits</h2></div></div></div><p> 7 7 Often the difference between a working network environment and a well-appreciated one can 8 8 best be measured by the <span class="emphasis"><em>little things</em></span> that make everything work more … … 14 14 This chapter presents information on each of these areas. They are placed here, and not in 15 15 other chapters, for ease of reference. 16 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id4 15453"></a>Remote Server Administration</h2></div></div></div><p>“<span class="quote">How do I get User Manager and Server Manager?</span>”</p><p>17 <a class="indexterm" name="id4 15466"></a>18 <a class="indexterm" name="id4 15473"></a>19 <a class="indexterm" name="id4 15479"></a>16 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id4"></a>Remote Server Administration</h2></div></div></div><p>“<span class="quote">How do I get User Manager and Server Manager?</span>”</p><p> 17 <a class="indexterm" name="id4"></a> 18 <a class="indexterm" name="id4"></a> 19 <a class="indexterm" name="id4"></a> 20 20 Since I do not need to buy an <span class="application">NT4 server</span>, how do I get the User Manager for Domains 21 21 and the Server Manager? 22 22 </p><p> 23 <a class="indexterm" name="id4 15496"></a>24 <a class="indexterm" name="id4 15503"></a>23 <a class="indexterm" name="id4"></a> 24 <a class="indexterm" name="id4"></a> 25 25 Microsoft distributes a version of these tools called <code class="filename">Nexus.exe</code> for installation 26 26 on <span class="application">Windows 9x/Me</span> systems. The tools set includes: 27 27 </p><div class="itemizedlist"><ul type="disc"><li><p>Server Manager</p></li><li><p>User Manager for Domains</p></li><li><p>Event Viewer</p></li></ul></div><p> 28 Download the archived file at the Microsoft <a href="ftp://ftp.microsoft.com/Softlib/MSLFILES/NEXUS.EXE" target="_top">Nexus</a> link.29 </p><p> 30 <a class="indexterm" name="id4 15555"></a>31 <a class="indexterm" name="id4 15561"></a>32 <a class="indexterm" name="id4 15568"></a>28 Download the archived file at the Microsoft <a href="ftp://ftp.microsoft.com/Softlib/MSLFILES/NEXUS.EXE" target="_top">Nexus</a> link. 29 </p><p> 30 <a class="indexterm" name="id4"></a> 31 <a class="indexterm" name="id4"></a> 32 <a class="indexterm" name="id4"></a> 33 33 The <span class="application">Windows NT 4.0</span> version of the User Manager for 34 34 Domains and Server Manager are available from Microsoft 35 <a href="ftp://ftp.microsoft.com/Softlib/MSLFILES/SRVTOOLS.EXE" target="_top">via ftp</a>.36 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id4 15590"></a>Remote Desktop Management</h2></div></div></div><p>37 <a class="indexterm" name="id4 15598"></a>38 <a class="indexterm" name="id4 15605"></a>35 <a href="ftp://ftp.microsoft.com/Softlib/MSLFILES/SRVTOOLS.EXE" target="_top">via ftp</a>. 36 </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id4"></a>Remote Desktop Management</h2></div></div></div><p> 37 <a class="indexterm" name="id4"></a> 38 <a class="indexterm" name="id4"></a> 39 39 There are a number of possible remote desktop management solutions that range from free 40 40 through costly. Do not let that put you off. Sometimes the most costly solution is the 41 41 most cost effective. In any case, you will need to draw your own conclusions as to which 42 42 is the best tool in your network environment. 43 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id4 15616"></a>Remote Management from NoMachine.Com</h3></div></div></div><p>44 <a class="indexterm" name="id4 15623"></a>43 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id4"></a>Remote Management from NoMachine.Com</h3></div></div></div><p> 44 <a class="indexterm" name="id4"></a> 45 45 The following information was posted to the Samba mailing list at Apr 3 23:33:50 GMT 2003. 46 46 It is presented in slightly edited form (with author details omitted for privacy reasons). 47 47 The entire answer is reproduced below with some comments removed. 48 48 </p><p>“<span class="quote"> 49 <a class="indexterm" name="id4 15637"></a>49 <a class="indexterm" name="id4"></a> 50 50 I have a wonderful Linux/Samba server running as PDC for a network. Now I would like to add remote 51 51 desktop capabilities so users outside could login to the system and get their desktop up from home or 52 52 another country. 53 53 </span>”</p><p>“<span class="quote"> 54 <a class="indexterm" name="id4 15650"></a>55 <a class="indexterm" name="id4 15657"></a>56 <a class="indexterm" name="id4 15663"></a>57 <a class="indexterm" name="id4 15670"></a>54 <a class="indexterm" name="id4"></a> 55 <a class="indexterm" name="id4"></a> 56 <a class="indexterm" name="id4"></a> 57 <a class="indexterm" name="id4"></a> 58 58 Is there a way to accomplish this? Do I need a Windows Terminal server? Do I need to configure it so 59 59 it is a member of the domain or a BDC or PDC? Are there any hacks for MS Windows XP to enable remote login … … 61 61 </span>”</p><p> 62 62 Answer provided: Check out the new offer of “<span class="quote">NX</span>” software from 63 <a href="http://www.nomachine.com/" target="_top">NoMachine</a>.63 <a href="http://www.nomachine.com/" target="_top">NoMachine</a>. 64 64 </p><p> 65 <a class="indexterm" name="id4 15697"></a>66 <a class="indexterm" name="id4 15704"></a>67 <a class="indexterm" name="id4 15711"></a>65 <a class="indexterm" name="id4"></a> 66 <a class="indexterm" name="id4"></a> 67 <a class="indexterm" name="id4"></a> 68 68 It implements an easy-to-use interface to the Remote X protocol as 69 69 well as incorporating VNC/RFB and rdesktop/RDP into it, but at a speed 70 70 performance much better than anything you may have ever seen. 71 71 </p><p> 72 <a class="indexterm" name="id4 15723"></a>72 <a class="indexterm" name="id4"></a> 73 73 Remote X is not new at all, but what they did achieve successfully is 74 74 a new way of compression and caching technologies that makes the thing 75 75 fast enough to run even over slow modem/ISDN connections. 76 76 </p><p> 77 <a class="indexterm" name="id4 15735"></a>78 <a class="indexterm" name="id4 15742"></a>79 <a class="indexterm" name="id4 15748"></a>80 <a class="indexterm" name="id4 15755"></a>77 <a class="indexterm" name="id4"></a> 78 <a class="indexterm" name="id4"></a> 79 <a class="indexterm" name="id4"></a> 80 <a class="indexterm" name="id4"></a> 81 81 I test drove their (public) Red Hat machine in Italy, over a loaded 82 82 Internet connection, with enabled thumbnail previews in KDE konqueror, … … 86 86 that my score was 631,750 points at first try. 87 87 </p><p> 88 <a class="indexterm" name="id4 15771"></a>89 <a class="indexterm" name="id4 15777"></a>90 <a class="indexterm" name="id4 15784"></a>91 <a class="indexterm" name="id4 15791"></a>88 <a class="indexterm" name="id4"></a> 89 <a class="indexterm" name="id4"></a> 90 <a class="indexterm" name="id4"></a> 91 <a class="indexterm" name="id4"></a> 92 92 NX performs better on my local LAN than any of the other “<span class="quote">pure</span>” 93 93 connection methods I use from time to time: TightVNC, rdesktop or … … 95 95 two nodes. 96 96 </p><p> 97 <a class="indexterm" name="id4 15807"></a>98 <a class="indexterm" name="id4 15813"></a>99 <a class="indexterm" name="id4 15820"></a>97 <a class="indexterm" name="id4"></a> 98 <a class="indexterm" name="id4"></a> 99 <a class="indexterm" name="id4"></a> 100 100 I even got sound playing from the Remote X app to my local boxes, and 101 101 had a working “<span class="quote">copy'n'paste</span>” from an NX window (running a KDE session … … 104 104 </p><p> 105 105 I recommend test driving NX to anybody with a only a passing interest in remote computing 106 the <a href="http://www.nomachine.com/testdrive.php" target="_top">NX</a> utility.106 the <a href="http://www.nomachine.com/testdrive.php" target="_top">NX</a> utility. 107 107 </p><p> 108 108 Just download the free-of-charge client software (available for Red Hat, … … 119 119 at all). 120 120 </p><p> 121 <a class="indexterm" name="id4 15860"></a>121 <a class="indexterm" name="id4"></a> 122 122 Now the best thing for last: All the core compression and caching 123 123 technologies are released under the GPL and available as source code … … 141 141 but you can buy a comfortable (proprietary) NX GUI front end for money. 142 142 </p></li><li><p> 143 <a class="indexterm" name="id4 15916"></a>144 <a class="indexterm" name="id4 15922"></a>145 <a class="indexterm" name="id4 15929"></a>146 <a class="indexterm" name="id4 15935"></a>147 <a class="indexterm" name="id4 15942"></a>143 <a class="indexterm" name="id4"></a> 144 <a class="indexterm" name="id4"></a> 145 <a class="indexterm" name="id4"></a> 146 <a class="indexterm" name="id4"></a> 147 <a class="indexterm" name="id4"></a> 148 148 NoMachine is encouraging and offering help to OSS/Free Software implementations 149 149 for such a front-end too, even if it means competition to them (they have written 150 150 to this effect even to the LTSP, KDE, and GNOME developer mailing lists). 151 </p></li></ul></div></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id415955"></a>Network Logon Script Magic</h2></div></div></div><p> 151 </p></li></ul></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id439596"></a>Remote Management with ThinLinc</h3></div></div></div><p> 152 Another alternative for remote access is <span class="emphasis"><em>ThinLinc</em></span> from Cendio. 153 </p><p> 154 <a class="indexterm" name="id439611"></a> 155 <a class="indexterm" name="id439618"></a> 156 <a class="indexterm" name="id439625"></a> 157 <a class="indexterm" name="id439632"></a> 158 <a class="indexterm" name="id439638"></a> 159 <a class="indexterm" name="id439645"></a> 160 <a class="indexterm" name="id439652"></a> 161 <a class="indexterm" name="id439658"></a> 162 ThinLinc is a terminal server solution that is available for Linux and Solaris based on standard 163 protocols such as SSH, TightVNC, NFS and PulseAudio. 164 </p><p> 165 <a class="indexterm" name="id439670"></a> 166 <a class="indexterm" name="id439676"></a> 167 ThinLinc an be used both in the LAN environment to implement a Thin Client strategy for an organization, and as 168 secure remote access solution for people working from remote locations, even over smallband connections. 169 ThinLinc is free to use for a single concurrent user. 170 </p><p> 171 <a class="indexterm" name="id439689"></a> 172 <a class="indexterm" name="id439695"></a> 173 <a class="indexterm" name="id439702"></a> 174 The product can also be used as a frontend to access Windows Terminal Server or Citrix farms, or even Windows 175 XP machines, securing the connection via the ssh protocol. The client is available both for Linux (supporting 176 all Linux distributions as well as numerous thin terminals) and for Windows. A Java-based Web client is also 177 available. 178 </p><p> 179 ThinLinc may be evaluated by connecting to Cendio's demo system, see 180 <a class="ulink" href="http://www.cendio.com" target="_top">Cendio's</a> web site 181 <a class="ulink" href="http://www.cendio.com/testdrive" target="_top">testdrive</a> center. 182 </p><p> 183 Cendio is a major contributor to several open source projects including 184 <a class="ulink" href="http://www.tightvnc.com" target="_top">TightVNC</a>, 185 <a class="ulink" href="http://pulseaudio.org" target="_top">PulseAudio</a> , unfsd, 186 <a class="ulink" href="http://www.python.org" target="_top">Python</a> and 187 <a class="ulink" href="http://www.rdesktop.org" target="_top">rdesktop</a>. 188 </p></div></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id439771"></a>Network Logon Script Magic</h2></div></div></div><p> 152 189 There are several opportunities for creating a custom network startup configuration environment. 153 190 </p><div class="itemizedlist"><ul type="disc"><li><p>No Logon Script.</p></li><li><p>Simple universal Logon Script that applies to all users.</p></li><li><p>Use of a conditional Logon Script that applies per-user or per-group attributes.</p></li><li><p>Use of Samba's preexec and postexec functions on access to the NETLOGON share to create … … 159 196 The following listings are from the genlogon directory. 160 197 </p><p> 161 <a class="indexterm" name="id4 16021"></a>198 <a class="indexterm" name="id4"></a> 162 199 This is the <code class="filename">genlogon.pl</code> file: 163 200 … … 238 275 </p><p> 239 276 Those wishing to use a more elaborate or capable logon processing system should check out these sites: 240 </p><div class="itemizedlist"><ul type="disc"><li><p><a href="http://www.craigelachie.org/rhacer/ntlogon" target="_top">http://www.craigelachie.org/rhacer/ntlogon</a></p></li><li><p><a href="http://www.kixtart.org" target="_top">http://www.kixtart.org</a></p></li></ul></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id416121"></a>Adding Printers without User Intervention</h3></div></div></div><p>241 <a class="indexterm" name="id4 16129"></a>277 </p><div class="itemizedlist"><ul type="disc"><li><p><a "></a>Adding Printers without User Intervention</h3></div></div></div><p> 278 <a class="indexterm" name="id4"></a> 242 279 Printers may be added automatically during logon script processing through the use of: 243 280 </p><pre class="screen"> … … 245 282 </pre><p> 246 283 247 See the documentation in the <a href="http://support.microsoft.com/default.asp?scid=kb;en-us;189105" target="_top">Microsoft Knowledge Base article 189105</a>.248 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id4 16162"></a>Limiting Logon Connections</h3></div></div></div><p>284 See the documentation in the <a href="http://support.microsoft.com/default.asp?scid=kb;en-us;189105" target="_top">Microsoft Knowledge Base article 189105</a>. 285 </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id4"></a>Limiting Logon Connections</h3></div></div></div><p> 249 286 Sometimes it is necessary to limit the number of concurrent connections to a 250 287 Samba shared resource. For example, a site may wish to permit only one network … … 260 297 of use of the <em class="parameter"><code>preexec script</code></em> parameter. 261 298 </p><p> 262 The following share configuration demonstrates use of the script shown in <a href="AdvancedNetworkManagement.html#Tpees" title="Example 25.1. Script to Enforce Single Resource Logon">???</a>.299 The following share configuration demonstrates use of the script shown in <a </a>. 263 300 </p><pre class="programlisting"> 264 301 [myshare]
Note:
See TracChangeset
for help on using the changeset viewer.
