updated the entry for Phillip Hands
[samba.git] / docs / OS2.txt
1 This describes how to use smbclient to connect to an OS/2 server.
2 Knowing this allows you to use a OS/2 printer from unix.
3
4 Author: riiber@oslonett.no
5
6
7 How to login to an OS/2 server
8 -------------------------------
9
10 Sample setup for OS/2 server running LanMan 2.2:
11
12         OS/2 Server Name      : \\OBV11
13         OS/2 User Account     : ARNE
14         OS/2 Password         : xxx
15         OS/2 shared service 1 : LASER02 
16         OS/2 Shared service 2 : PCPROGS 
17         Samba NetBIOS name    : KLATREMUS
18
19 First, the two servers were started with the commands
20 smbd and nmbd -n KLATREMUS.
21
22 Command to connect to a the shared printer LASER02 on the OS/2 server:
23 n
24         smbclient '\\OBV11\LASER02' xxx -n ARNE -U ARNE -P
25
26 and to connect to the shared drive 'PCPROGS':
27
28         smbclient '\\OBV11\PCPROGS' xxx -n ARNE -U ARNE
29
30
31 If login to the OS/2 server fails:
32 ----------------------------------
33
34 The remarkable OS/2 server requires NetBIOS name to be equal to User name.
35 This was the only combination of (NetBIOS name, User name) that allowed login.
36
37 Password xxx must be in upper case, case in user name is unimportant.
38
39 The OS/2 server responds with "Bad password - name/password pair"
40 if the password is illegal (in lowercase, for example).
41
42 If correct user name and password, but invalid NetBIOS name is given,
43 it responds with "... SMBtcon failed. ERRDOS - 65".
44
45 The OS/2 server can disable login from a list of workstations (PCs)
46 corresponding to the NetBIOS name (-n option). I set it up to
47 allow login from any workstation.
48
49
50
51 (I experimented quite a lot with the -U and -n options, printed and browsed
52 the MS SMB protocol docs and the RFC's, then read some comp.protocols.smb,
53 got some tips, tried some "stupid" command line options, 
54 and at last I got it working!)
55
56 -Arne-
57