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