JHT ===> Added a patch from Tim Small (UK)
[kai/samba.git] / docs / Warp.txt
1 Contributor:    Wade Maxfie <maxfield@ctelcom.uucp.netcom.com>
2 Date:           Unknown
3 Status:         Old
4
5 Subject:        Samba with OS/2 Warp.
6 ============================================================================
7
8 Note that you may also find ftp://ftp.cdrom.com/pub/os2/new/os2net.faq
9 useful.
10
11
12
13         Can I use Samba with Warp?
14
15         Yes.  The MSClient software at ftp.microsoft.com in the Bussys
16 (lanman os2 directory) will work, sort of.  It is version 2.2c.
17
18         First, uncloack os2ver.  (attrib -h -r -s c:\os2ver).  It is a
19 text file.  change netwksta.xxx to 20=netwksta.sys.  Also add
20 20=setup.exe.  Another change will be needed, a .vdd file.  I remember
21 it came up during the installation as being a wrong version.  I wrote
22 the name down, changed os2ver to include it, and restarted the
23 installation.
24
25  Here is a copy of my os2ver
26
27 setup.exe
28 netbios.os2
29 nwifs.ifs
30 netwksta.sys
31 nwreq.sys
32 netbios.sys
33 ipx.sys
34 netvdd.sys
35
36 Re-cloak os2ver. (attrib +h +r +s c:\os2ver)
37
38 Run the installation from an OS/2 Box.  Note that your mouse wont work,
39 use the TAB key to move around, enter to select hilighted items.
40
41 Here is a copy of my Config.sys file regarding the Laman entries.
42 Note even though the version is 2.2c, it reports 2.2a in the text.
43
44 REM ==== LANMAN 2.2a == DO NOT MODIFY BETWEEN THESE LINES == LANMAN 2.
45 DEVICE=C:\LANMAN\DRIVERS\PROTMAN\PROTMAN.OS2 /i:C:\LANMAN
46 DEVICE=C:\LANMAN\DRIVERS\ETHERNET\Ns2000\Ns2000.OS2
47 RUN=C:\LANMAN\DRIVERS\PROTOCOL\tcpip\starttcp.exe
48 RUN=C:\LANMAN\DRIVERS\PROTOCOL\tcpip\startnb.exe
49 DEVICE=C:\LANMAN\DRIVERS\PROTOCOL\tcpip\tcpdrv.os2
50 DEVICE=C:\LANMAN\DRIVERS\PROTOCOL\tcpip\nbdrv.os2
51 DEVICE=C:\LANMAN\DRIVERS\PROTOCOL\tcpip\nmdrv.os2
52 DEVICE=C:\LANMAN\arpa\sockdrv.os2
53 DEVICE=C:\LANMAN\DRIVERS\PROTOCOL\NETBEUI\NETBEUI.OS2
54 DEVICE=C:\LANMAN\NETPROG\RDRHELP.SYS
55 IFS=C:\LANMAN\NETPROG\NETWKSTA.SYS /i:C:\LANMAN
56 DEVICE=C:\LANMAN\NETPROG\NETVDD.SYS
57 REM ==== LANMAN 2.2a == DO NOT MODIFY BETWEEN THESE LINES == LANMAN 2.
58
59
60        If you have an NE2000 card, don't reboot, or you'll be sorry.
61 enable the automatic backup mechanism for recovering old config.sys and
62 other files in OS/2.  It paid for itself during this installation nightm
63 before I knew better!)
64
65         Next, (or perhaps before this), if you have an NE2000 adaptor,
66 get the ns2000 files from hobbes.nmsu.edu (in ns2000.zip).  I manually
67 patched protocol.ini to refer to that adaptor, and copied it into my
68 c:\lanman directory.  Note that I also modified the driver to be loaded
69 in the config.sys to the ns2000.os2.  It might install as an "other"
70 adaptor.
71
72       A command file "startup.cmd" is placed in c:\.  This file is
73 automatically run when OS/2 Warp starts.
74 Here is a copy of my startup file.  Note that Warp sometimes fails to
75 login properly to the server.  I solve this by checking for the
76 existance of a file, and rerunning the loing if that file fails to
77 exist.
78
79 @REM ==== LANMAN 2.2a == DO NOT MODIFY BETWEEN THESE LINES == LANMAN
80 NET START WORKSTATION
81 :relogin
82 NET LOGON maxfield mypassword /y
83 rem net use f: \\packard90\d$
84 rem net use g: \\linuxone\cdromsdir
85 rem net use h: \\linuxone\public
86 :doOver
87 if not exist f:\wildcat\wildcat.exe goto relogin
88 @REM ==== LANMAN 2.2a == DO NOT MODIFY BETWEEN THESE LINES == LANMAN
89 exit
90
91         Finally, the system expects to be on a domain with a domain
92 server.  BTW, TCP/IP and NetBeui allow simultaneous communication with
93 Os/2 lanserver 4.0, and Samba.  (Note: Lanserver 4.0 won't yet to
94 TCP/IP.  (Well,it might, but it crashes before I get to that point, so I
95 havent' been able to enable it))
96
97 I have not yet tried with only a SAMBA server on the domain.
98
99     I would be glad to try to answer any questions at above e-mail
100 address, if I can.
101
102 wade
103