This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to...
[samba.git] / docs / htmldocs / other-clients.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <HTML
3 ><HEAD
4 ><TITLE
5 >Samba and other CIFS clients</TITLE
6 ><META
7 NAME="GENERATOR"
8 CONTENT="Modular DocBook HTML Stylesheet Version 1.77"><LINK
9 REL="HOME"
10 TITLE="SAMBA Project Documentation"
11 HREF="samba-howto-collection.html"><LINK
12 REL="PREVIOUS"
13 TITLE="Portability"
14 HREF="portability.html"><LINK
15 REL="NEXT"
16 TITLE="Diagnosing your samba server"
17 HREF="diagnosis.html"></HEAD
18 ><BODY
19 CLASS="CHAPTER"
20 BGCOLOR="#FFFFFF"
21 TEXT="#000000"
22 LINK="#0000FF"
23 VLINK="#840084"
24 ALINK="#0000FF"
25 ><DIV
26 CLASS="NAVHEADER"
27 ><TABLE
28 SUMMARY="Header navigation table"
29 WIDTH="100%"
30 BORDER="0"
31 CELLPADDING="0"
32 CELLSPACING="0"
33 ><TR
34 ><TH
35 COLSPAN="3"
36 ALIGN="center"
37 >SAMBA Project Documentation</TH
38 ></TR
39 ><TR
40 ><TD
41 WIDTH="10%"
42 ALIGN="left"
43 VALIGN="bottom"
44 ><A
45 HREF="portability.html"
46 ACCESSKEY="P"
47 >Prev</A
48 ></TD
49 ><TD
50 WIDTH="80%"
51 ALIGN="center"
52 VALIGN="bottom"
53 ></TD
54 ><TD
55 WIDTH="10%"
56 ALIGN="right"
57 VALIGN="bottom"
58 ><A
59 HREF="diagnosis.html"
60 ACCESSKEY="N"
61 >Next</A
62 ></TD
63 ></TR
64 ></TABLE
65 ><HR
66 ALIGN="LEFT"
67 WIDTH="100%"></DIV
68 ><DIV
69 CLASS="CHAPTER"
70 ><H1
71 ><A
72 NAME="OTHER-CLIENTS"
73 ></A
74 >Chapter 22. Samba and other CIFS clients</H1
75 ><P
76 >This chapter contains client-specific information.</P
77 ><DIV
78 CLASS="SECT1"
79 ><H1
80 CLASS="SECT1"
81 ><A
82 NAME="AEN3070"
83 ></A
84 >22.1. Macintosh clients?</H1
85 ><P
86 >Yes. <A
87 HREF="http://www.thursby.com/"
88 TARGET="_top"
89 >Thursby</A
90 > now have a CIFS Client / Server called DAVE - see</P
91 ><P
92 >They test it against Windows 95, Windows NT and samba for
93 compatibility issues.  At the time of writing, DAVE was at version
94 1.0.1. The 1.0.0 to 1.0.1 update is available as a free download from
95 the Thursby web site (the speed of finder copies has been greatly
96 enhanced, and there are bug-fixes included).</P
97 ><P
98
99 Alternatives - There are two free implementations of AppleTalk for
100 several kinds of UNIX machnes, and several more commercial ones.
101 These products allow you to run file services and print services
102 natively to Macintosh users, with no additional support required on
103 the Macintosh.  The two free omplementations are 
104 <A
105 HREF="http://www.umich.edu/~rsug/netatalk/"
106 TARGET="_top"
107 >Netatalk</A
108 >, and 
109 <A
110 HREF="http://www.cs.mu.oz.au/appletalk/atalk.html"
111 TARGET="_top"
112 >CAP</A
113 >.  
114 What Samba offers MS
115 Windows users, these packages offer to Macs.  For more info on these
116 packages, Samba, and Linux (and other UNIX-based systems) see
117 <A
118 HREF="http://www.eats.com/linux_mac_win.html"
119 TARGET="_top"
120 >http://www.eats.com/linux_mac_win.html</A
121 ></P
122 ></DIV
123 ><DIV
124 CLASS="SECT1"
125 ><H1
126 CLASS="SECT1"
127 ><A
128 NAME="AEN3079"
129 ></A
130 >22.2. OS2 Client</H1
131 ><DIV
132 CLASS="SECT2"
133 ><H2
134 CLASS="SECT2"
135 ><A
136 NAME="AEN3081"
137 ></A
138 >22.2.1. How can I configure OS/2 Warp Connect or 
139                 OS/2 Warp 4 as a client for Samba?</H2
140 ><P
141 >A more complete answer to this question can be 
142                 found on <A
143 HREF="http://carol.wins.uva.nl/~leeuw/samba/warp.html"
144 TARGET="_top"
145 >               http://carol.wins.uva.nl/~leeuw/samba/warp.html</A
146 >.</P
147 ><P
148 >Basically, you need three components:</P
149 ><P
150 ></P
151 ><UL
152 ><LI
153 ><P
154 >The File and Print Client ('IBM Peer')
155                         </P
156 ></LI
157 ><LI
158 ><P
159 >TCP/IP ('Internet support') 
160                         </P
161 ></LI
162 ><LI
163 ><P
164 >The "NetBIOS over TCP/IP" driver ('TCPBEUI')
165                         </P
166 ></LI
167 ></UL
168 ><P
169 >Installing the first two together with the base operating 
170                 system on a blank system is explained in the Warp manual. If Warp 
171                 has already been installed, but you now want to install the 
172                 networking support, use the "Selective Install for Networking" 
173                 object in the "System Setup" folder.</P
174 ><P
175 >Adding the "NetBIOS over TCP/IP" driver is not described 
176                 in the manual and just barely in the online documentation. Start 
177                 MPTS.EXE, click on OK, click on "Configure LAPS" and click 
178                 on "IBM OS/2 NETBIOS OVER TCP/IP" in  'Protocols'.  This line 
179                 is then moved to 'Current Configuration'. Select that line, 
180                 click on "Change number" and increase it from 0 to 1. Save this
181                 configuration.</P
182 ><P
183 >If the Samba server(s) is not on your local subnet, you 
184                 can optionally add IP names and addresses of these servers 
185                 to the "Names List", or specify a  WINS server ('NetBIOS 
186                 Nameserver' in IBM and RFC terminology). For Warp Connect you 
187                 may need to download an update for 'IBM Peer' to bring it on 
188                 the same level as Warp 4. See the webpage mentioned above.</P
189 ></DIV
190 ><DIV
191 CLASS="SECT2"
192 ><H2
193 CLASS="SECT2"
194 ><A
195 NAME="AEN3096"
196 ></A
197 >22.2.2. How can I configure OS/2 Warp 3 (not Connect), 
198                 OS/2 1.2, 1.3 or 2.x for Samba?</H2
199 ><P
200 >You can use the free Microsoft LAN Manager 2.2c Client 
201                 for OS/2 from 
202                 <A
203 HREF="ftp://ftp.microsoft.com/BusSys/Clients/LANMAN.OS2/"
204 TARGET="_top"
205 >               ftp://ftp.microsoft.com/BusSys/Clients/LANMAN.OS2/</A
206 >.
207         See <A
208 HREF="http://carol.wins.uva.nl/~leeuw/lanman.html"
209 TARGET="_top"
210 >               http://carol.wins.uva.nl/~leeuw/lanman.html</A
211 > for 
212                 more information on how to install and use this client. In 
213                 a nutshell, edit the file \OS2VER in the root directory of 
214                 the OS/2 boot partition and add the lines:</P
215 ><P
216 ><PRE
217 CLASS="PROGRAMLISTING"
218 >               20=setup.exe
219                 20=netwksta.sys
220                 20=netvdd.sys
221                 </PRE
222 ></P
223 ><P
224 >before you install the client. Also, don't use the 
225                 included NE2000 driver because it is buggy. Try the NE2000 
226                 or NS2000 driver from 
227                 <A
228 HREF="ftp://ftp.cdrom.com/pub/os2/network/ndis/"
229 TARGET="_top"
230 >               ftp://ftp.cdrom.com/pub/os2/network/ndis/</A
231 > instead.
232                 </P
233 ></DIV
234 ><DIV
235 CLASS="SECT2"
236 ><H2
237 CLASS="SECT2"
238 ><A
239 NAME="AEN3105"
240 ></A
241 >22.2.3. Are there any other issues when OS/2 (any version) 
242                 is used as a client?</H2
243 ><P
244 >When you do a NET VIEW or use the "File and Print 
245                 Client Resource Browser", no Samba servers show up. This can 
246                 be fixed by a patch from <A
247 HREF="http://carol.wins.uva.nl/~leeuw/samba/fix.html"
248 TARGET="_top"
249 >               http://carol.wins.uva.nl/~leeuw/samba/fix.html</A
250 >.
251                 The patch will be included in a later version of Samba. It also 
252                 fixes a couple of other problems, such as preserving long 
253                 filenames when objects are dragged from the Workplace Shell 
254                 to the Samba server. </P
255 ></DIV
256 ><DIV
257 CLASS="SECT2"
258 ><H2
259 CLASS="SECT2"
260 ><A
261 NAME="AEN3109"
262 ></A
263 >22.2.4. How do I get printer driver download working 
264                 for OS/2 clients?</H2
265 ><P
266 >First, create a share called [PRINTDRV] that is 
267                 world-readable.  Copy your OS/2 driver files there.  Note 
268                 that the .EA_ files must still be separate, so you will need 
269                 to use the original install files, and not copy an installed 
270                 driver from an OS/2 system.</P
271 ><P
272 >Install the NT driver first for that printer.  Then, 
273                 add to your smb.conf a parameter, os2 driver map = 
274                 <TT
275 CLASS="REPLACEABLE"
276 ><I
277 >filename</I
278 ></TT
279 >".  Then, in the file 
280                 specified by <TT
281 CLASS="REPLACEABLE"
282 ><I
283 >filename</I
284 ></TT
285 >, map the 
286                 name of the NT driver name to the OS/2 driver name as 
287                 follows:</P
288 ><P
289 ><B
290 CLASS="COMMAND"
291 >nt driver name = os2 "driver 
292                 name"."device name"</B
293 >, e.g.:
294                 HP LaserJet 5L = LASERJET.HP LaserJet 5L</P
295 ><P
296 >You can have multiple drivers mapped in this file.</P
297 ><P
298 >If you only specify the OS/2 driver name, and not the 
299                 device name, the first attempt to download the driver will 
300                 actually download the files, but the OS/2 client will tell 
301                 you the driver is not available.  On the second attempt, it 
302                 will work.  This is fixed simply by adding the device name
303                  to the mapping, after which it will work on the first attempt.
304                 </P
305 ></DIV
306 ></DIV
307 ><DIV
308 CLASS="SECT1"
309 ><H1
310 CLASS="SECT1"
311 ><A
312 NAME="AEN3119"
313 ></A
314 >22.3. Windows for Workgroups</H1
315 ><DIV
316 CLASS="SECT2"
317 ><H2
318 CLASS="SECT2"
319 ><A
320 NAME="AEN3121"
321 ></A
322 >22.3.1. Use latest TCP/IP stack from Microsoft</H2
323 ><P
324 >Use the latest TCP/IP stack from microsoft if you use Windows
325 for workgroups.</P
326 ><P
327 >The early TCP/IP stacks had lots of bugs.</P
328 ><P
329
330 Microsoft has released an incremental upgrade to their TCP/IP 32-Bit
331 VxD drivers.  The latest release can be found on their ftp site at
332 ftp.microsoft.com, located in /peropsys/windows/public/tcpip/wfwt32.exe.
333 There is an update.txt file there that describes the problems that were
334 fixed.  New files include WINSOCK.DLL, TELNET.EXE, WSOCK.386, VNBT.386,
335 WSTCP.386, TRACERT.EXE, NETSTAT.EXE, and NBTSTAT.EXE.</P
336 ></DIV
337 ><DIV
338 CLASS="SECT2"
339 ><H2
340 CLASS="SECT2"
341 ><A
342 NAME="AEN3126"
343 ></A
344 >22.3.2. Delete .pwl files after password change</H2
345 ><P
346 >WfWg does a lousy job with passwords. I find that if I change my
347 password on either the unix box or the PC the safest thing to do is to
348 delete the .pwl files in the windows directory. The PC will complain about not finding the files, but will soon get over it, allowing you to enter the new password.</P
349 ><P
350
351 If you don't do this you may find that WfWg remembers and uses the old
352 password, even if you told it a new one.</P
353 ><P
354
355 Often WfWg will totally ignore a password you give it in a dialog box.</P
356 ></DIV
357 ><DIV
358 CLASS="SECT2"
359 ><H2
360 CLASS="SECT2"
361 ><A
362 NAME="AEN3131"
363 ></A
364 >22.3.3. Configure WfW password handling</H2
365 ><P
366 >There is a program call admincfg.exe
367 on the last disk (disk 8) of the WFW 3.11 disk set.  To install it
368 type EXPAND A:\ADMINCFG.EX_ C:\WINDOWS\ADMINCFG.EXE Then add an icon
369 for it via the "Progam Manager" "New" Menu.  This program allows you
370 to control how WFW handles passwords.  ie disable Password Caching etc
371 for use with <B
372 CLASS="COMMAND"
373 >security = user</B
374 ></P
375 ></DIV
376 ><DIV
377 CLASS="SECT2"
378 ><H2
379 CLASS="SECT2"
380 ><A
381 NAME="AEN3135"
382 ></A
383 >22.3.4. Case handling of passwords</H2
384 ><P
385 >Windows for Workgroups uppercases the password before sending it to the server. Unix passwords can be case-sensitive though. Check the <A
386 HREF="smb.conf.5.html"
387 TARGET="_top"
388 >smb.conf(5)</A
389 > information on <B
390 CLASS="COMMAND"
391 >password level</B
392 > to specify what characters samba should try to uppercase when checking.</P
393 ></DIV
394 ></DIV
395 ><DIV
396 CLASS="SECT1"
397 ><H1
398 CLASS="SECT1"
399 ><A
400 NAME="AEN3140"
401 ></A
402 >22.4. Windows '95/'98</H1
403 ><P
404 >When using Windows 95 OEM SR2 the following updates are recommended where Samba
405 is being used. Please NOTE that the above change will affect you once these
406 updates  have been installed.</P
407 ><P
408
409 There are more updates than the ones mentioned here. You are referred to the
410 Microsoft Web site for all currently available updates to your specific version
411 of Windows 95.</P
412 ><P
413 ></P
414 ><OL
415 TYPE="1"
416 ><LI
417 ><P
418 >Kernel Update: KRNLUPD.EXE</P
419 ></LI
420 ><LI
421 ><P
422 >Ping Fix: PINGUPD.EXE</P
423 ></LI
424 ><LI
425 ><P
426 >RPC Update: RPCRTUPD.EXE</P
427 ></LI
428 ><LI
429 ><P
430 >TCP/IP Update: VIPUPD.EXE</P
431 ></LI
432 ><LI
433 ><P
434 >Redirector Update: VRDRUPD.EXE</P
435 ></LI
436 ></OL
437 ><P
438 >Also, if using MS OutLook it is desirable to install the OLEUPD.EXE fix. This
439 fix may stop your machine from hanging for an extended period when exiting
440 OutLook and you may also notice a significant speedup when accessing network
441 neighborhood services.</P
442 ></DIV
443 ><DIV
444 CLASS="SECT1"
445 ><H1
446 CLASS="SECT1"
447 ><A
448 NAME="AEN3156"
449 ></A
450 >22.5. Windows 2000 Service Pack 2</H1
451 ><P
452
453 There are several annoyances with Windows 2000 SP2. One of which
454 only appears when using a Samba server to host user profiles
455 to Windows 2000 SP2 clients in a Windows domain.  This assumes
456 that Samba is a member of the domain, but the problem will
457 likely occur if it is not.</P
458 ><P
459
460 In order to server profiles successfully to Windows 2000 SP2 
461 clients (when not operating as a PDC), Samba must have 
462 <B
463 CLASS="COMMAND"
464 >nt acl support = no</B
465 >
466 added to the file share which houses the roaming profiles.
467 If this is not done, then the Windows 2000 SP2 client will
468 complain about not being able to access the profile (Access 
469 Denied) and create multiple copies of it on disk (DOMAIN.user.001,
470 DOMAIN.user.002, etc...).  See the 
471 <A
472 HREF="smb.conf.5.html"
473 TARGET="_top"
474 >smb.conf(5)</A
475 > man page
476 for more details on this option.  Also note that the 
477 <B
478 CLASS="COMMAND"
479 >nt acl support</B
480 > parameter was formally a global parameter in
481 releases prior to Samba 2.2.2.</P
482 ><P
483
484 The following is a minimal profile share:</P
485 ><P
486 ><PRE
487 CLASS="PROGRAMLISTING"
488 >       [profile]
489                 path = /export/profile
490                 create mask = 0600
491                 directory mask = 0700
492                 nt acl support = no
493                 read only = no</PRE
494 ></P
495 ><P
496 >The reason for this bug is that the Win2k SP2 client copies
497 the security descriptor for the profile which contains
498 the Samba server's SID, and not the domain SID.  The client
499 compares the SID for SAMBA\user and realizes it is
500 different that the one assigned to DOMAIN\user.  Hence the reason
501 for the "access denied" message.</P
502 ><P
503 >By disabling the <B
504 CLASS="COMMAND"
505 >nt acl support</B
506 > parameter, Samba will send
507 the Win2k client a response to the QuerySecurityDescriptor
508 trans2 call which causes the client to set a default ACL
509 for the profile. This default ACL includes </P
510 ><P
511 ><B
512 CLASS="COMMAND"
513 >DOMAIN\user    "Full Control"</B
514 ></P
515 ><P
516 ><SPAN
517 CLASS="emphasis"
518 ><I
519 CLASS="EMPHASIS"
520 >NOTE : This bug does not occur when using winbind to
521 create accounts on the Samba host for Domain users.</I
522 ></SPAN
523 ></P
524 ></DIV
525 ></DIV
526 ><DIV
527 CLASS="NAVFOOTER"
528 ><HR
529 ALIGN="LEFT"
530 WIDTH="100%"><TABLE
531 SUMMARY="Footer navigation table"
532 WIDTH="100%"
533 BORDER="0"
534 CELLPADDING="0"
535 CELLSPACING="0"
536 ><TR
537 ><TD
538 WIDTH="33%"
539 ALIGN="left"
540 VALIGN="top"
541 ><A
542 HREF="portability.html"
543 ACCESSKEY="P"
544 >Prev</A
545 ></TD
546 ><TD
547 WIDTH="34%"
548 ALIGN="center"
549 VALIGN="top"
550 ><A
551 HREF="samba-howto-collection.html"
552 ACCESSKEY="H"
553 >Home</A
554 ></TD
555 ><TD
556 WIDTH="33%"
557 ALIGN="right"
558 VALIGN="top"
559 ><A
560 HREF="diagnosis.html"
561 ACCESSKEY="N"
562 >Next</A
563 ></TD
564 ></TR
565 ><TR
566 ><TD
567 WIDTH="33%"
568 ALIGN="left"
569 VALIGN="top"
570 >Portability</TD
571 ><TD
572 WIDTH="34%"
573 ALIGN="center"
574 VALIGN="top"
575 >&nbsp;</TD
576 ><TD
577 WIDTH="33%"
578 ALIGN="right"
579 VALIGN="top"
580 >Diagnosing your samba server</TD
581 ></TR
582 ></TABLE
583 ></DIV
584 ></BODY
585 ></HTML
586 >