rnunlist@purcell.cchem.berkeley.edu
2000-Jun-30 19:33 UTC
Samba 1.9.x vs 2.0.7 not connecting to MS DOS Server
I am not sure if this is a bug or a feature...
The 2.0.7 version no longer wants to connect to a DOS 6.22/DOS LANMAN2.1
(wg1049.exe) server. Version 1.9.18 does work.
Both smbclient and (more importantly for our needs) smbmount fail.
However, both work fine with win95 boxes. The problem seems specific to the
DOS server. I could not find any reference to this issue. Am I perhaps
overlooking something?
Using samba 1.9.18p10 to a DOS box:
smbclient -L DOS_Box
[...]
doing parameter lock directory = /var/lock/samba
doing parameter share modes = yes
pm_process() returned Yes
adding IPC service
Sharename Type Comment
--------- ---- -------
RDC Disk
RDD Disk
RL Disk
using 2.0.7:
smbclient -d 5 -N -L DOS_Box
Connecting to xxx.xxx.xx.xxx at port 139
Sent session request
size=0
smb_com=0x0
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=0
smb_flg2=0
smb_tid=0
smb_pid=0
smb_uid=0
smb_mid=0
smt_wct=0
smb_bcc=0
session request ok
size=37
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=0
smb_pid=13132
smb_uid=0
smb_mid=1
smt_wct=1
smb_vwv[0]=0 (0x0)
smb_bcc=0
size=37
smb_com=0x72
smb_bcc=0
session request ok
size=37
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=0
smb_pid=13132
smb_uid=0
smb_mid=1
smt_wct=1
smb_vwv[0]=0 (0x0)
smb_bcc=0
size=37
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=0
smb_pid=13132
smb_uid=0
smb_mid=1
smt_wct=1
smb_vwv[0]=0 (0x0)
smb_bcc=0
session setup ok
size=35
smb_com=0x75
smb_rcls=2
smb_reh=0
smb_err=1
smb_flg=128
smb_flg2=0
smb_tid=0
smb_pid=13132
smb_uid=0
smb_mid=1
smt_wct=0
smb_bcc=0
tree connect failed: ERRSRV - ERRerror (Non-specific error code.)
Thanks in advance for any pointers.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-Rudi
Nunlist Voice: (510) 642-6407 FAX: (510) 642-8369
University of California Email: nmrlab@purcell.cchem.berkeley.edu
College of Chemistry
NMR Facility
Berkeley, CA 94720-1460 Personal email: rnunlist@purcell.cchem.berkeley.edu
www.cchem.berkeley.edu/College/Facilities/nmr
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
On Sat, 1 Jul 2000 rnunlist@purcell.cchem.berkeley.edu wrote:> > I am not sure if this is a bug or a feature... > The 2.0.7 version no longer wants to connect to a DOS 6.22/DOS LANMAN2.1 > (wg1049.exe) server. Version 1.9.18 does work. > Both smbclient and (more importantly for our needs) smbmount fail.For smbmount: What kernel version(s) are you using? The support for older protocols was removed in smbfs in linux 2.2.16, with the comment: - removed support for old protocol levels. It didn't work anyway and was cluttering things up a lot. old = anything but win9x/NT/2k, I think. Does simply switching smbmount from 2.0.7 to 1.9.18 make it work? should be impossible with 2.2.16, but perhaps not if you are using an earlier version. /Urban