Follow DTD more strictly
[Samba/gebeck_regimport.git] / docs / docbook / projdoc / Other-Clients.xml
blob735c858e7c4149800f7b2ac2ea043f20788cd2d1
1 <chapter id="Other-Clients">
2 <chapterinfo>
3         &author.jelmer;
4         &author.jht;
5         &author.danshearer;
6         <author>&person.jmcd;<contrib>OS/2</contrib></author>
7         <pubdate>5 Mar 2001</pubdate>
8 </chapterinfo>
10 <title>Samba and Other CIFS Clients</title>
12 <para>This chapter contains client-specific information.</para>
14 <sect1>
15 <title>Macintosh Clients</title>
17 <para>
18 Yes. <ulink url="http://www.thursby.com/">Thursby</ulink> has a CIFS Client/Server called <ulink url="http://www.thursby.com/products/dave.html">DAVE.</ulink>
19 They test it against Windows 95, Windows NT /200x/XP and Samba for
20 compatibility issues. At the time of this writing, DAVE was at version
21 4.1. Please refer to Thursby's Web site for more information regarding this
22 product.
23 </para>
25 <para> 
26 Alternatives &smbmdash; There are two free implementations of AppleTalk for
27 several kinds of UNIX machines and several more commercial ones.
28 These products allow you to run file services and print services
29 natively to Macintosh users, with no additional support required on
30 the Macintosh. The two free implementations are 
31 <ulink url="http://www.umich.edu/~rsug/netatalk/">Netatalk,</ulink> and 
32 <ulink url="http://www.cs.mu.oz.au/appletalk/atalk.html">CAP.</ulink> 
33 What Samba offers MS Windows users, these packages offer to Macs. 
34 For more info on these packages, Samba, and Linux (and other UNIX-based systems), see
35 <ulink noescape="1" url="http://www.eats.com/linux_mac_win.html">http://www.eats.com/linux_mac_win.html.</ulink>
36 </para>
38 <para>Newer versions of the Macintosh (Mac OS X) include Samba.</para>
40 </sect1>
42 <sect1>
43 <title>OS2 Client</title>
45         <sect2>
46                 <title>Configuring OS/2 Warp Connect or OS/2 Warp 4</title>
48                 <para>Basically, you need three components:</para>
49                 
50                 <itemizedlist>
51                         <listitem><para>The File and Print Client (IBM Peer)</para></listitem>
52                         <listitem><para>TCP/IP (Internet support) </para></listitem>
53                         <listitem><para>The <quote>NetBIOS over TCP/IP</quote> driver (TCPBEUI)</para></listitem>
54                 </itemizedlist>
55                 
56                 <para>Installing the first two together with the base operating 
57                 system on a blank system is explained in the Warp manual. If Warp 
58                 has already been installed, but you now want to install the 
59                 networking support, use the <quote>Selective Install for Networking</quote> 
60                 object in the <quote>System Setup</quote> folder.</para>
62                 <para>Adding the <quote>NetBIOS over TCP/IP</quote> driver is not described 
63                 in the manual and just barely in the online documentation. Start 
64                 <command>MPTS.EXE</command>, click on <guiicon>OK</guiicon>, click on <guimenu>Configure LAPS</guimenu> and click 
65                 on <guimenu>IBM OS/2 NETBIOS OVER TCP/IP</guimenu> in  <guilabel>Protocols</guilabel>. This line 
66                 is then moved to <guilabel>Current Configuration</guilabel>. Select that line, 
67                 click on <guimenuitem>Change number</guimenuitem> and increase it from 0 to 1. Save this
68                 configuration.</para>
70                 <para>If the Samba server is not on your local subnet, you 
71                 can optionally add IP names and addresses of these servers 
72                 to the <guimenu>Names List</guimenu>, or specify a  WINS server (NetBIOS 
73                 Nameserver in IBM and RFC terminology). For Warp Connect, you 
74                 may need to download an update for <constant>IBM Peer</constant> to bring it on 
75                 the same level as Warp 4. See the Web page mentioned above.</para>
76         </sect2>
77         
78         <sect2>
79                 <title>Configuring Other Versions of OS/2</title>
80         
81                 <para>This sections deals with configuring OS/2 Warp 3 (not Connect), OS/2 1.2, 1.3 or 2.x.</para>
82                 
83                 <para>You can use the free Microsoft LAN Manager 2.2c Client for OS/2 that is
84                 available from 
85                 <ulink noescape="1" url="ftp://ftp.microsoft.com/BusSys/Clients/LANMAN.OS2/">
86                 ftp://ftp.microsoft.com/BusSys/Clients/LANMAN.OS2/</ulink>. In a nutshell, edit
87         the file <filename>\OS2VER</filename> in the root directory of the OS/2 boot partition and add the lines:</para>
88                 
89                 <para><programlisting>
90                 20=setup.exe
91                 20=netwksta.sys
92                 20=netvdd.sys
93                 </programlisting></para>
94                 
95                 <para>before you install the client. Also, do not use the included NE2000 driver because it is buggy.
96                 Try the NE2000 or NS2000 driver from <ulink noescape="1" url="ftp://ftp.cdrom.com/pub/os2/network/ndis/">
97                 ftp://ftp.cdrom.com/pub/os2/network/ndis/</ulink> instead.
98                 </para>
99         </sect2>
100         
101         <sect2>
102                 <title>Printer Driver Download for OS/2 Clients</title>
104                 <para>Create a share called <smbconfsection>[PRINTDRV]</smbconfsection> that is 
105                 world-readable. Copy your OS/2 driver files there. The <filename>.EA_</filename>
106                 files must still be separate, so you will need to use the original install files
107                 and not copy an installed driver from an OS/2 system.</para>
108                 
109                 <para>Install the NT driver first for that printer. Then, add to your &smb.conf; a parameter,
110                 <smbconfoption><name>os2 driver map</name><value><replaceable>filename</replaceable></value></smbconfoption>. 
111                 Next, in the file specified by <replaceable>filename</replaceable>, map the 
112                 name of the NT driver name to the OS/2 driver name as follows:</para>
113                 
114                 <para><parameter><replaceable>nt driver name</replaceable> = <replaceable>os2 driver name</replaceable>.<replaceable>device name</replaceable></parameter>, e.g.</para>
116                 <para><parameter>
117                 HP LaserJet 5L = LASERJET.HP LaserJet 5L</parameter></para>
119                 <para>You can have multiple drivers mapped in this file.</para>
120         
121                 <para>If you only specify the OS/2 driver name, and not the 
122                 device name, the first attempt to download the driver will 
123                 actually download the files, but the OS/2 client will tell 
124                 you the driver is not available. On the second attempt, it 
125                 will work. This is fixed simply by adding the device name
126                  to the mapping, after which it will work on the first attempt.
127                 </para>
128         </sect2>
129 </sect1>
131 <sect1>
132 <title>Windows for Workgroups</title>
134 <sect2>
135 <title>Latest TCP/IP Stack from Microsoft</title>
137 <para>Use the latest TCP/IP stack from Microsoft if you use Windows
138 for Workgroups. The early TCP/IP stacks had lots of bugs.</para>
140 <para> 
141 Microsoft has released an incremental upgrade to their TCP/IP 32-bit
142 VxD drivers. The latest release can be found on their ftp site at
143 ftp.microsoft.com, located in <filename>/peropsys/windows/public/tcpip/wfwt32.exe</filename>.
144 There is an update.txt file there that describes the problems that were
145 fixed. New files include <filename>WINSOCK.DLL</filename>, 
146 <filename>TELNET.EXE</filename>, 
147 <filename>WSOCK.386</filename>, 
148 <filename>VNBT.386</filename>,
149 <filename>WSTCP.386</filename>, 
150 <filename>TRACERT.EXE</filename>, 
151 <filename>NETSTAT.EXE</filename>, and 
152 <filename>NBTSTAT.EXE</filename>.
153 </para>
155 </sect2>
157 <sect2>
158 <title>Delete .pwl Files After Password Change</title>
160 <para>
161 Windows for Workgroups does a lousy job with passwords. When you change passwords on either
162 the UNIX box or the PC, the safest thing to do is to delete the .pwl files in the Windows
163 directory. The PC will complain about not finding the files, but will soon get over it,
164 allowing you to enter the new password.
165 </para>
167 <para> 
168 If you do not do this, you may find that Windows for Workgroups remembers and uses the old
169 password, even if you told it a new one.
170 </para>
172 <para> 
173 Often Windows for Workgroups will totally ignore a password you give it in a dialog box.
174 </para>
176 </sect2>
178 <sect2>
179 <title>Configuring Windows for Workgroups Password Handling</title>
181 <para>
182 There is a program call <filename>admincfg.exe</filename>
183 on the last disk (disk 8) of the WFW 3.11 disk set. To install it,
184 type <userinput>EXPAND A:\ADMINCFG.EX_ C:\WINDOWS\ADMINCFG.EXE</userinput>.
185 Then add an icon for it via the <application>Program Manager</application> <guimenu>New</guimenu> Menu. 
186 This program allows you to control how WFW handles passwords, i.e.,
187 Disable Password Caching and so on.
188 for use with <smbconfoption><name>security</name><value>user</value></smbconfoption>.
189 </para>
191 </sect2>
193 <sect2>
194 <title>Password Case Sensitivity</title>
196 <para>Windows for Workgroups uppercases the password before sending it to the server.
197 UNIX passwords can be case-sensitive though. Check the &smb.conf; information on
198 <smbconfoption><name>password level</name></smbconfoption> to specify what characters
199 Samba should try to uppercase when checking.</para>
201 </sect2>
203 <sect2>
204 <title>Use TCP/IP as Default Protocol</title>
206 <para>To support print queue reporting, you may find
207 that you have to use TCP/IP as the default protocol under
208 Windows for Workgroups. For some reason, if you leave NetBEUI as the default,
209 it may break the print queue reporting on some systems.
210 It is presumably a Windows for Workgroups bug.</para>
212 </sect2>
214 <sect2>
215 <title>Speed Improvement</title>
217 <para>
218         Note that some people have found that setting <parameter>DefaultRcvWindow</parameter> in
219 the <smbconfsection>[MSTCP]</smbconfsection> section of the 
220 <filename>SYSTEM.INI</filename> file under Windows for Workgroups to 3072 gives a
221 big improvement.
222 </para>
224 <para>
225 My own experience with DefaultRcvWindow is that I get a much better
226 performance with a large value (16384 or larger). Other people have
227 reported that anything over 3072 slows things down enormously. One
228 person even reported a speed drop of a factor of 30 when he went from
229 3072 to 8192.
230 </para>
231 </sect2>
232 </sect1>
234 <sect1>
235 <title>Windows 95/98</title>
237 <para>
238 When using Windows 95 OEM SR2, the following updates are recommended where Samba
239 is being used. Please note that the above change will effect you once these
240 updates  have been installed.
241 </para>
243 <para> 
244 There are more updates than the ones mentioned here. You are referred to the
245 Microsoft Web site for all currently available updates to your specific version
246 of Windows 95.
247 </para>
249 <simplelist>
250 <member>Kernel Update: KRNLUPD.EXE</member>
251 <member>Ping Fix: PINGUPD.EXE</member>
252 <member>RPC Update: RPCRTUPD.EXE</member>
253 <member>TCP/IP Update: VIPUPD.EXE</member>
254 <member>Redirector Update: VRDRUPD.EXE</member>
255 </simplelist>
257 <para>
258 Also, if using <application>MS Outlook,</application> it is desirable to 
259 install the <command>OLEUPD.EXE</command> fix. This
260 fix may stop your machine from hanging for an extended period when exiting
261 Outlook and you may notice a significant speedup when accessing network
262 neighborhood services.
263 </para>
265 <sect2>
266 <title>Speed Improvement</title>
268 <para>
269 Configure the Windows 95 TCP/IP registry settings to give better
270 performance. I use a program called <command>MTUSPEED.exe</command> that I got off the
271 Internet. There are various other utilities of this type freely available.
272 </para>
274 </sect2>
276 </sect1>
278 <sect1>
279 <title>Windows 2000 Service Pack 2</title>
281 <para> 
282 There are several annoyances with Windows 2000 SP2. One of which
283 only appears when using a Samba server to host user profiles
284 to Windows 2000 SP2 clients in a Windows domain. This assumes
285 that Samba is a member of the domain, but the problem will
286 most likely occur if it is not.
287 </para>
289 <para> 
290 In order to serve profiles successfully to Windows 2000 SP2 
291 clients (when not operating as a PDC), Samba must have 
292 <smbconfoption><name>nt acl support</name><value>no</value></smbconfoption>
293 added to the file share which houses the roaming profiles.
294 If this is not done, then the Windows 2000 SP2 client will
295 complain about not being able to access the profile (Access 
296 Denied) and create multiple copies of it on disk (DOMAIN.user.001,
297 DOMAIN.user.002, and so on). See the &smb.conf; man page
298 for more details on this option. Also note that the 
299 <smbconfoption><name>nt acl support</name></smbconfoption> parameter was formally a global parameter in
300 releases prior to Samba 2.2.2.
301 </para>
303 <para> 
304 <link linkend="minimalprofile"/> provides a minimal profile share.
305 </para>
307 <para><smbconfexample id="minimalprofile">
308 <title>Minimal profile share</title>
309 <smbconfsection>[profile]</smbconfsection>
310 <smbconfoption><name>path</name><value>/export/profile</value></smbconfoption>
311 <smbconfoption><name>create mask</name><value>0600</value></smbconfoption>
312 <smbconfoption><name>directory mask</name><value>0700</value></smbconfoption>
313 <smbconfoption><name>nt acl support</name><value>no</value></smbconfoption>
314 <smbconfoption><name>read only</name><value>no</value></smbconfoption>
315 </smbconfexample></para>
317 <para>
318 The reason for this bug is that the Windows 200x SP2 client copies
319 the security descriptor for the profile that contains
320 the Samba server's SID, and not the domain SID. The client
321 compares the SID for SAMBA\user and realizes it is
322 different from the one assigned to DOMAIN\user. Hence, the reason
323 for the <errorname>access denied</errorname> message.
324 </para>
326 <para>
327 By disabling the <smbconfoption><name>nt acl support</name></smbconfoption> parameter, Samba will send
328 the Windows 200x client a response to the QuerySecurityDescriptor trans2 call, which causes the client
329 to set a default ACL for the profile. This default ACL includes:
330 </para>
332 <para><emphasis>DOMAIN\user     <quote>Full Control</quote></emphasis>></para>
334 <note><para>This bug does not occur when using Winbind to
335 create accounts on the Samba host for Domain users.</para></note>
337 </sect1>
339 <sect1>
340 <title>Windows NT 3.1</title>
342 <para>If you have problems communicating across routers with Windows 
343 NT 3.1 workstations, read <ulink url="http://support.microsoft.com/default.aspx?scid=kb;Q103765">this Microsoft Knowledge Base article.</ulink>
345 </para>
347 </sect1>
349 </chapter>