No subject

Helms, Hoyle W. HELMSH at RJRT.com
Mon Mar 22 15:23:25 GMT 1999


I am fairly new to the world of SAMBA and am having problems getting SAMBA to work on OS/390 OMVS 2.6.  I have installed SAMBA on
OS/390 OMVS 2.4 system and file sharing is working great.  

Here is the problem.

>From OMVS I issue:  smbclient -L '\\myserver' -U username -d 11

I get the following results:  

SAMBA Client log

lp_file_list_changed()
file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf  last mod_time: Sun Mar 21 20:47:12 1999

03/22/1999 07:30:04 init msg_type=0x81 msg_flags=0x0
write_socket(5,4)
[000] 82 00 00 00                                       b...
write_socket(5,4) wrote 4
got smb length of 164
got message type 0x0 of len 0xa4
03/22/1999 07:30:04 Transaction 1 of length 168
size=164
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=0
smb_flg2=0
smb_tid=0
smb_pid=43
smb_uid=0
smb_mid=143
smt_wct=0
smb_bcc=129
[000] 02 50 43 20 4E 45 54 57  4F 52 4B 20 50 52 4F 47  .&..+... |...&.|.
[010] 52 41 4D 20 31 2E 30 00  02 4D 49 43 52 4F 53 4F  ..(..... .(...|.|
[020] 46 54 20 4E 45 54 57 4F  52 4B 53 20 31 2E 30 33  ...+...| ........
[030] 00 02 4D 49 43 52 4F 53  4F 46 54 20 4E 45 54 57  ..(...|. |...+...
[040] 4F 52 4B 53 20 33 2E 30  00 02 4C 41 4E 4D 41 4E  |....... ..<.+(.+
[050] 31 2E 30 00 02 4C 4D 31  2E 32 58 30 30 32 00 02  .....<(. ........
[060] 53 61 6D 62 61 00 02 4E  54 20 4C 4D 20 30 2E 31  ./_./..+ ..<(....
[070] 32 00 02 4E 54 20 4C 41  4E 4D 41 4E 20 31 2E 30  ...+..<. +(.+....
[080] 00                                                .
switch message SMBnegprot (pid 671088662)
Requested protocol [PC NETWORK PROGRAM 1.0]
Requested protocol [MICROSOFT NETWORKS 1.03]
Requested protocol [MICROSOFT NETWORKS 3.0]
Requested protocol [LANMAN1.0]
Requested protocol [LM1.2X002]
Requested protocol [Samba]
lp_file_list_changed()
file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf  last mod_time: Sun Mar 21 20:47:12 1999

lp_file_list_changed()
file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf  last mod_time: Sun Mar 21 20:47:12 1999

Selected protocol NT LANMAN 1.0
03/22/1999 07:30:04 negprot index=7
size=83
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=128
smb_flg2=1
smb_tid=0
smb_pid=43
smb_uid=0
smb_mid=143
smt_wct=17
smb_vwv[0]=7 (0x7)
smb_vwv[1]=12803 (0x3203)
smb_vwv[2]=256 (0x100)
smb_vwv[3]=65280 (0xFF00)
smb_vwv[4]=255 (0xFF)
smb_vwv[5]=65280 (0xFF00)
smb_vwv[6]=255 (0xFF)
smb_vwv[7]=5632 (0x1600)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=296 (0x128)
smb_vwv[10]=3 (0x3)
smb_vwv[11]=0 (0x0)
smb_vwv[12]=11246 (0x2BEE)
smb_vwv[13]=24502 (0x5FB6)
smb_vwv[14]=48756 (0xBE74)
smb_vwv[15]=11265 (0x2C01)
smb_vwv[16]=2049 (0x801)
smb_bcc=14
[000] 33 2D B9 CF 11 CD E0 ED  52 4A 52 57 53 00        ......\. ......
write_socket(5,87)
[000] 00 00 00 53 FF 53 4D 42  72 00 00 00 00 80 01 00  ......(. ........
[010] 00 00 00 00 00 00 00 00  00 00 00 00 00 00 2B 00  ........ ........
[020] 00 00 8F 00 11 07 00 03  32 00 01 00 FF FF 00 00  ........ ........
[030] FF FF 00 00 16 00 00 28  01 03 00 00 00 EE 2B B6  ........ ........
[040] 5F 74 BE 01 2C 01 08 0E  00 33 2D B9 CF 11 CD E0  ^....... .......\
[050] ED 52 4A 52 57 53 00                              .......
write_socket(5,87) wrote 87
got smb length of 89
got message type 0x0 of len 0x59
03/22/1999 07:30:04 Transaction 2 of length 93
size=89
smb_com=0x73
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=8
smb_flg2=1
smb_tid=0
smb_pid=43
smb_uid=0
smb_mid=143
smt_wct=13
smb_vwv[0]=255 (0xFF)
smb_vwv[1]=0 (0x0)
smb_vwv[2]=65535 (0xFFFF)
smb_vwv[3]=2 (0x2)
smb_vwv[4]=43 (0x2B)
smb_vwv[5]=22 (0x16)
smb_vwv[6]=10240 (0x2800)
smb_vwv[7]=1 (0x1)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=0 (0x0)
smb_vwv[10]=0 (0x0)
smb_vwv[11]=0 (0x0)
smb_vwv[12]=0 (0x0)
smb_bcc=28
[000] 00 41 44 41 54 45 00 57  4F 52 4B 47 52 4F 55 50  ........ |....|.&
[010] 00 55 6E 69 78 00 53 61  6D 62 61 00              ..>..../ _./.
switch message SMBsesssetupX (pid 671088662)
03/22/1999 07:30:04 unknown command type (SMBsesssetupX): cnum=0 type=115 (0x73)
03/22/1999 07:30:04 error packet at line 360 cmd=115 (SMBsesssetupX) eclass=2 ecode=22
size=35
smb_com=0x73
smb_rcls=2
smb_reh=0
smb_err=22
smb_flg=136
smb_flg2=1
smb_tid=0
smb_pid=43
smb_uid=0
smb_mid=143
smt_wct=0
smb_bcc=0
write_socket(5,39)
[000] 00 00 00 23 FF 53 4D 42  73 02 00 16 00 88 01 00  ......(. .....h..
[010] 00 00 00 00 00 00 00 00  00 00 00 00 00 00 2B 00  ........ ........
[020] 00 00 8F 00 00 00 00                              .......
write_socket(5,39) wrote 39
end of file from client
Closing connections
smb_shm_close
fcntl_lock 4 7 0 1 2
Lock call successful
calling smb_shm_unregister_process(/usr/local/samba/var/locks/SHARE_MEM_FILE.processes, 671088662)
smb_shm_unregister_process : read record for pid 671088662
smb_shm_unregister_process : erasing record for pid 671088662 (seek_val = -4)
fcntl_lock 4 7 0 1 3
Lock call successful
03/22/1999 07:30:04 Server exit  (normal exit)

SAMBA Server log 

03/22/1999 07:30:00 client started (version 1.9.18p1)
Initialising global parameters
params.c:pm_process() - Processing configuration file "/usr/local/samba/lib/smb.conf"
Processing section "[global]"
doing parameter username map = /usr/local/samba/lib/users.map
doing parameter workgroup = RJRWS
doing parameter server string = Samba Server
doing parameter log file = /usr/local/samba/var/log.%m
doing parameter max log size = 50
doing parameter security = user
doing parameter username map = /usr/local/samba/lib/users.map
doing parameter encrypt passwords = yes
doing parameter dns proxy = no
pm_process() returned Yes
lp_servicenumber: couldn't find homes
lp_servicenumber: couldn't find printers
lp_servicenumber: couldn't find printers
adding IPC service
codepage_initialise: client code page = 850
load_client_codepage: loading codepage 850.
load_client_codepage: filename /usr/local/samba/lib/codepages/codepage.850 does not exist.
codepage_initialise: loading dynamic codepage file /usr/local/samba/lib/codepages/codepage.850 for code page 850 failed. Using
default client codepage 850
Netmask for VLINK1           = 255.255.255.0
Derived broadcast address 192.168.1.255
Added interface ip=192.168.1.41 bcast=192.168.1.255 nmask=255.255.255.0
Opening sockets
Connecting to 192.168.1.41 at port 139
Connected
write_socket(3,76)
[000] 81 00 00 48 20 46 43 45  4B 46 43 43 4E 46 45 45  a....... ....+...
[010] 46 45 44 45 49 43 41 43  41 43 41 43 41 43 41 43  ........ ........
[020] 41 43 41 43 41 00 20 46  45 45 46 45 44 46 45 43  ........ ........
[030] 41 43 41 43 41 43 41 43  41 43 41 43 41 43 41 43  ........ ........
[040] 41 43 41 43 41 41 41 00  00 00 00 00              ........ ....
write_socket(3,76) wrote 76
Sent session request
got smb length of 0
write_socket(3,168)
[000] 00 00 00 A4 FF 53 4D 42  72 00 00 00 00 00 00 00  ...u..(. ........
[010] 00 00 00 00 00 00 00 00  00 00 00 00 00 00 2B 00  ........ ........
[020] 00 00 8F 00 00 81 00 02  50 43 20 4E 45 54 57 4F  .....a.. &..+...|
[030] 52 4B 20 50 52 4F 47 52  41 4D 20 31 2E 30 00 02  ...&.|.. .(......
[040] 4D 49 43 52 4F 53 4F 46  54 20 4E 45 54 57 4F 52  (...|.|. ..+...|.
[050] 4B 53 20 31 2E 30 33 00  02 4D 49 43 52 4F 53 4F  ........ .(...|.|
[060] 46 54 20 4E 45 54 57 4F  52 4B 53 20 33 2E 30 00  ...+...| ........
[070] 02 4C 41 4E 4D 41 4E 31  2E 30 00 02 4C 4D 31 2E  .<.+(.+. ....<(..
[080] 32 58 30 30 32 00 02 53  61 6D 62 61 00 02 4E 54  ........ /_./..+.
[090] 20 4C 4D 20 30 2E 31 32  00 02 4E 54 20 4C 41 4E  .<(..... ..+..<.+
[0A0] 4D 41 4E 20 31 2E 30 00                           (.+.....
write_socket(3,168) wrote 168
got smb length of 83
size=83
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=128
smb_flg2=1
smb_tid=0
smb_pid=43
smb_uid=0
smb_mid=143
smt_wct=17
smb_vwv[0]=7 (0x7)
smb_vwv[1]=12803 (0x3203)
smb_vwv[2]=256 (0x100)
smb_vwv[3]=65280 (0xFF00)
smb_vwv[4]=255 (0xFF)
smb_vwv[5]=65280 (0xFF00)
smb_vwv[6]=255 (0xFF)
smb_vwv[7]=5632 (0x1600)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=296 (0x128)
smb_vwv[10]=3 (0x3)
smb_vwv[11]=0 (0x0)
smb_vwv[12]=11246 (0x2BEE)
smb_vwv[13]=24502 (0x5FB6)
smb_vwv[14]=48756 (0xBE74)
smb_vwv[15]=11265 (0x2C01)
smb_vwv[16]=2049 (0x801)
smb_bcc=14
[000] 33 2D B9 CF 11 CD E0 ED  52 4A 52 57 53 00        ......\. ......
max mux 50
max vcs 1
max raw 65535
capabilities 0x301
Sec mode 12803
max xmt 65535
Got 8 byte crypt key
Chose protocol [NT LANMAN 1.0]
Server time is Mon Mar 22 07:30:04 1999
Timezone is UTC-5.0
write_socket(3,93)
[000] 00 00 00 59 FF 53 4D 42  73 00 00 00 00 08 01 00  ......(. ........
[010] 00 00 00 00 00 00 00 00  00 00 00 00 00 00 2B 00  ........ ........
[020] 00 00 8F 00 0D FF 00 00  00 FF FF 02 00 2B 00 16  ........ ........
[030] 00 00 28 01 00 00 00 00  00 00 00 00 00 00 00 1C  ........ ........
[040] 00 00 41 44 41 54 45 00  57 4F 52 4B 47 52 4F 55  ........ .|....|.
[050] 50 00 55 6E 69 78 00 53  61 6D 62 61 00           &..>.... /_./.
write_socket(3,93) wrote 93
got smb length of 35
size=35
smb_com=0x73
smb_rcls=2
smb_reh=0
smb_err=22
smb_flg=136
smb_flg2=1
smb_tid=0
smb_pid=43
smb_uid=0
smb_mid=143
smt_wct=0
smb_bcc=0
Session setup failed for username=username myname=my_system_name destname=my_system_name ERRSRV - 22
You might find the -U, -W or -n options useful
Sometimes you have to use `-n USERNAME' (particularly with OS/2)
Some servers also insist on uppercase-only passwords


I have tried with and without encryption, with and without setting smbpasswd.... 

ANY help would be greatly appreciated  


More information about the samba mailing list