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