- Timestamp:
- Jul 2, 2011, 4:01:14 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vendor/current/docs/htmldocs/Samba3-HOWTO/AdvancedNetworkManagement.html
r414 r597 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.7 4.0"><link rel="home" href="index.html" title="The Official Samba 3.5.x 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="orgname">Samba Team</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 class="email" 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#id2657466">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2657493">Remote Server Administration</a></span></dt><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2657636">Remote Desktop Management</a></span></dt><dd><dl><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2657665">Remote Management from NoMachine.Com</a></span></dt><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2658041">Remote Management with ThinLinc</a></span></dt></dl></dd><dt><span class="sect1"><a href="AdvancedNetworkManagement.html#id2658226">Network Logon Script Magic</a></span></dt><dd><dl><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2658451">Adding Printers without User Intervention</a></span></dt><dt><span class="sect2"><a href="AdvancedNetworkManagement.html#id2658494">Limiting Logon Connections</a></span></dt></dl></dd></dl></div><p>2 <a class="indexterm" name="id 2657454"></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="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.7">Limiting Logon Connections</a></span></dt></dl></dd></dl></div><p> 2 <a class="indexterm" name="id"></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="id2657466"></a>Features and Benefits</h2></div></div></div><p>6 </p><div class="sect1" 6"></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="id2657493"></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="id 2657506"></a>18 <a class="indexterm" name="id 2657513"></a>19 <a class="indexterm" name="id 2657520"></a>16 </p></div><div class="sect1" </p><p> 17 <a class="indexterm" name="id"></a> 18 <a class="indexterm" name="id"></a> 19 <a class="indexterm" name="id"></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="id 2657538"></a>24 <a class="indexterm" name="id 2657545"></a>23 <a class="indexterm" name="id"></a> 24 <a class="indexterm" name="id"></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 </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>27 </p><div class="itemizedlist"><ul ><p>Event Viewer</p></li></ul></div><p> 28 28 Download the archived file at the Microsoft <a class="ulink" href="ftp://ftp.microsoft.com/Softlib/MSLFILES/NEXUS.EXE" target="_top">Nexus</a> link. 29 29 </p><p> 30 <a class="indexterm" name="id 2657599"></a>31 <a class="indexterm" name="id 2657606"></a>32 <a class="indexterm" name="id 2657613"></a>30 <a class="indexterm" name="id9"></a> 31 <a class="indexterm" name="id6"></a> 32 <a class="indexterm" name="id3"></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 35 <a class="ulink" 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="id2657636"></a>Remote Desktop Management</h2></div></div></div><p>37 <a class="indexterm" name="id 2657644"></a>38 <a class="indexterm" name="id 2657651"></a>36 </p></div><div class="sect1" "></a>Remote Desktop Management</h2></div></div></div><p> 37 <a class="indexterm" name="id"></a> 38 <a class="indexterm" name="id"></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="id2657665"></a>Remote Management from NoMachine.Com</h3></div></div></div><p>44 <a class="indexterm" name="id 2657673"></a>43 </p><div class="sect2" "></a>Remote Management from NoMachine.Com</h3></div></div></div><p> 44 <a class="indexterm" name="id"></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 </p><p> “<span class="quote">49 <a class="indexterm" name="id 2657689"></a>48 </p><p>“<span class="quote"> 49 <a class="indexterm" name="id"></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 </span>”</ p><p>“<span class="quote">54 <a class="indexterm" name="id 2657704"></a>55 <a class="indexterm" name="id 2657711"></a>56 <a class="indexterm" name="id 2657717"></a>57 <a class="indexterm" name="id 2657724"></a>53 </span>”</>“<span class="quote"> 54 <a class="indexterm" name="id"></a> 55 <a class="indexterm" name="id"></a> 56 <a class="indexterm" name="id7"></a> 57 <a class="indexterm" name="id"></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 60 60 even if the computer is in a domain? 61 </span>”</ p><p>62 Answer provided: Check out the new offer of “<span class="quote">NX</span>”software from61 </span>”</p><p> 62 Answer provided: Check out the new offer of software from 63 63 <a class="ulink" href="http://www.nomachine.com/" target="_top">NoMachine</a>. 64 64 </p><p> 65 <a class="indexterm" name="id 2657755"></a>66 <a class="indexterm" name="id 2657762"></a>67 <a class="indexterm" name="id 2657769"></a>65 <a class="indexterm" name="id"></a> 66 <a class="indexterm" name="id"></a> 67 <a class="indexterm" name="id"></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="id 2657782"></a>72 <a class="indexterm" name="id"></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="id 2657796"></a>78 <a class="indexterm" name="id 2657803"></a>79 <a class="indexterm" name="id 2657810"></a>80 <a class="indexterm" name="id 2657816"></a>77 <a class="indexterm" name="id"></a> 78 <a class="indexterm" name="id"></a> 79 <a class="indexterm" name="id"></a> 80 <a class="indexterm" name="id"></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, 83 which popped up immediately on “<span class="quote">mouse-over</span>”. From inside that (remote X)83 which popped up immediately on . From inside that (remote X) 84 84 session I started a rdesktop session on another, a Windows XP machine. 85 85 To test the performance, I played Pinball. I am proud to announce 86 86 that my score was 631,750 points at first try. 87 87 </p><p> 88 <a class="indexterm" name="id 2657835"></a>89 <a class="indexterm" name="id 2657842"></a>90 <a class="indexterm" name="id 2657849"></a>91 <a class="indexterm" name="id 2657856"></a>92 NX performs better on my local LAN than any of the other “<span class="quote">pure</span>”88 <a class="indexterm" name="id35"></a> 89 <a class="indexterm" name="id"></a> 90 <a class="indexterm" name="id"></a> 91 <a class="indexterm" name="id"></a> 92 NX performs better on my local LAN than any of the other 93 93 connection methods I use from time to time: TightVNC, rdesktop or 94 94 Remote X. It is even faster than a direct crosslink connection between 95 95 two nodes. 96 96 </p><p> 97 <a class="indexterm" name="id 2657873"></a>98 <a class="indexterm" name="id 2657880"></a>99 <a class="indexterm" name="id 2657886"></a>97 <a class="indexterm" name="id"></a> 98 <a class="indexterm" name="id"></a> 99 <a class="indexterm" name="id"></a> 100 100 I even got sound playing from the Remote X app to my local boxes, and 101 had a working “<span class="quote">copy'n'paste</span>”from an NX window (running a KDE session101 had a working from an NX window (running a KDE session 102 102 in Italy) to my Mozilla mailing agent. These guys are certainly doing 103 103 something right! … … 119 119 at all). 120 120 </p><p> 121 <a class="indexterm" name="id 2657936"></a>121 <a class="indexterm" name="id"></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 … … 127 127 </p><p> 128 128 To answer your questions: 129 </p><div class="itemizedlist"><ul type="disc"><li><p>129 </p><div class="itemizedlist"><ul ><p> 130 130 You do not need to install a terminal server; XP has RDP support built in. 131 </p></li><li ><p>131 </p></li><li><p> 132 132 NX is much cheaper than Citrix and comparable in performance, probably faster. 133 </p></li><li ><p>133 </p></li><li><p> 134 134 You do not need to hack XP it just works. 135 </p></li><li ><p>135 </p></li><li><p> 136 136 You log into the XP box from remote transparently (and I think there is no 137 137 need to change anything to get a connection, even if authentication is against a domain). 138 </p></li><li ><p>138 </p></li><li><p> 139 139 The NX core technologies are all Open Source and released under the GPL 140 140 you can now use a (very inconvenient) command line at no cost, 141 141 but you can buy a comfortable (proprietary) NX GUI front end for money. 142 </p></li><li ><p>143 <a class="indexterm" name="id 2658000"></a>144 <a class="indexterm" name="id 2658006"></a>145 <a class="indexterm" name="id 2658013"></a>146 <a class="indexterm" name="id 2658020"></a>147 <a class="indexterm" name="id 2658026"></a>142 </p></li><li><p> 143 <a class="indexterm" name="id0"></a> 144 <a class="indexterm" name="id6"></a> 145 <a class="indexterm" name="id"></a> 146 <a class="indexterm" name="id"></a> 147 <a class="indexterm" name="id6"></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 class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2658041"></a>Remote Management with ThinLinc</h3></div></div></div><p>151 </p></li></ul></div></div><div class="sect2" "></a>Remote Management with ThinLinc</h3></div></div></div><p> 152 152 Another alternative for remote access is <span class="emphasis"><em>ThinLinc</em></span> from Cendio. 153 153 </p><p> 154 <a class="indexterm" name="id 2658057"></a>155 <a class="indexterm" name="id 2658063"></a>156 <a class="indexterm" name="id 2658070"></a>157 <a class="indexterm" name="id 2658077"></a>158 <a class="indexterm" name="id 2658084"></a>159 <a class="indexterm" name="id 2658091"></a>160 <a class="indexterm" name="id 2658097"></a>161 <a class="indexterm" name="id 2658104"></a>154 <a class="indexterm" name="id"></a> 155 <a class="indexterm" name="id"></a> 156 <a class="indexterm" name="id"></a> 157 <a class="indexterm" name="id"></a> 158 <a class="indexterm" name="id"></a> 159 <a class="indexterm" name="id"></a> 160 <a class="indexterm" name="id"></a> 161 <a class="indexterm" name="id"></a> 162 162 ThinLinc is a terminal server solution that is available for Linux and Solaris based on standard 163 163 protocols such as SSH, TightVNC, NFS and PulseAudio. 164 164 </p><p> 165 <a class="indexterm" name="id 2658116"></a>166 <a class="indexterm" name="id 2658123"></a>165 <a class="indexterm" name="id"></a> 166 <a class="indexterm" name="id"></a> 167 167 ThinLinc an be used both in the LAN environment to implement a Thin Client strategy for an organization, and as 168 168 secure remote access solution for people working from remote locations, even over smallband connections. 169 169 ThinLinc is free to use for a single concurrent user. 170 170 </p><p> 171 <a class="indexterm" name="id 2658138"></a>172 <a class="indexterm" name="id 2658145"></a>173 <a class="indexterm" name="id 2658152"></a>171 <a class="indexterm" name="id"></a> 172 <a class="indexterm" name="id"></a> 173 <a class="indexterm" name="id"></a> 174 174 The product can also be used as a frontend to access Windows Terminal Server or Citrix farms, or even Windows 175 175 XP machines, securing the connection via the ssh protocol. The client is available both for Linux (supporting … … 186 186 <a class="ulink" href="http://www.python.org" target="_top">Python</a> and 187 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="id2658226"></a>Network Logon Script Magic</h2></div></div></div><p>188 </p></div></div><div class="sect1" "></a>Network Logon Script Magic</h2></div></div></div><p> 189 189 There are several opportunities for creating a custom network startup configuration environment. 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 create191 a custom logon script and then execute it.</p></li><li ><p>User of a tool such as KixStart.</p></li></ul></div><p>190 </p><div class="itemizedlist"><ul ><p>Use of Samba's preexec and postexec functions on access to the NETLOGON share to create 191 a custom logon script and then execute it.</p></li><li><p>User of a tool such as KixStart.</p></li></ul></div><p> 192 192 The Samba source code tree includes two logon script generation/execution tools. 193 193 See <code class="filename">examples</code> directory <code class="filename">genlogon</code> and … … 196 196 The following listings are from the genlogon directory. 197 197 </p><p> 198 <a class="indexterm" name="id 2658296"></a>198 <a class="indexterm" name="id"></a> 199 199 This is the <code class="filename">genlogon.pl</code> file: 200 200 … … 275 275 </p><p> 276 276 Those wishing to use a more elaborate or capable logon processing system should check out these sites: 277 </p><div class="itemizedlist"><ul type="disc"><li><p><a class="ulink" href="http://www.craigelachie.org/rhacer/ntlogon" target="_top">http://www.craigelachie.org/rhacer/ntlogon</a></p></li><li><p><a class="ulink" 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="id2658451"></a>Adding Printers without User Intervention</h3></div></div></div><p>278 <a class="indexterm" name="id 2658460"></a>277 </p><div class="itemizedlist"><ul "></a>Adding Printers without User Intervention</h3></div></div></div><p> 278 <a class="indexterm" name="id"></a> 279 279 Printers may be added automatically during logon script processing through the use of: 280 280 </p><pre class="screen"> … … 283 283 284 284 See the documentation in the <a class="ulink" 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="id2658494"></a>Limiting Logon Connections</h3></div></div></div><p>285 </p></div><div class="sect2" "></a>Limiting Logon Connections</h3></div></div></div><p> 286 286 Sometimes it is necessary to limit the number of concurrent connections to a 287 287 Samba shared resource. For example, a site may wish to permit only one network
Note:
See TracChangeset
for help on using the changeset viewer.
