Hi !
I have a problem after changing NT sp3 to sp4 and Samba from 1.x to
2.0. Now 20% of file transfers crashes with errors:
[1999/01/29 09:34:37, 3] smbd/error.c:error_packet(138)
error packet at line 1540 cmd=50 (SMBtrans2) eclass=1 ecode=6
What's that? System is practically unusable... I use Linux 2.0.36 or
2.2. The handshake is:
[1999/01/29 09:34:37, 3] smbd/negprot.c:reply_negprot(332)
Requested protocol [PC NETWORK PROGRAM 1.0]
[1999/01/29 09:34:37, 3] smbd/negprot.c:reply_negprot(332)
Requested protocol [XENIX CORE]
[1999/01/29 09:34:37, 3] smbd/negprot.c:reply_negprot(332)
Requested protocol [MICROSOFT NETWORKS 1.03]
[1999/01/29 09:34:37, 3] smbd/negprot.c:reply_negprot(332)
Requested protocol [LANMAN1.0]
[1999/01/29 09:34:37, 3] smbd/negprot.c:reply_negprot(332)
Requested protocol [Windows for Workgroups 3.1a]
[1999/01/29 09:34:37, 3] smbd/negprot.c:reply_negprot(332)
Requested protocol [LM1.2X002]
[1999/01/29 09:34:37, 3] smbd/negprot.c:reply_negprot(332)
Requested protocol [LANMAN2.1]
[1999/01/29 09:34:37, 3] smbd/negprot.c:reply_negprot(332)
Requested protocol [NT LM 0.12]
[1999/01/29 09:34:37, 3] smbd/negprot.c:reply_negprot(409)
Selected protocol NT LM 0.12
[1999/01/29 09:34:37, 3] smbd/process.c:process_smb(565)
Transaction 2 of length 193
[1999/01/29 09:34:37, 3] smbd/process.c:switch_message(402)
switch message SMBsesssetupX (pid 690)
[1999/01/29 09:34:37, 3] smbd/reply.c:reply_sesssetup_and_X(675)
Domain=[LENINGRAD] NativeOS=[Windows NT 1381] NativeLanMan=[]
[1999/01/29 09:34:37, 3] smbd/reply.c:reply_sesssetup_and_X(679)
sesssetupX:name=[andrew]
.....
[1999/01/29 09:34:37, 3] lib/doscalls.c:dos_ChDir(327)
dos_ChDir to /home/andrew
[1999/01/29 09:34:37, 3] lib/doscalls.c:dos_ChDir(327)
dos_ChDir to /etc
^^^^^^^^^^^^^^^^^^^^^ what it wants to do in /etc?
[1999/01/29 09:34:37, 1] smbd/service.c:make_connection(488)
leningrad (130.245.22.9) connect to service andrew as user andrew
(uid=1071, g
id=1071) (pid 690)
[1999/01/29 09:34:37, 3] smbd/reply.c:reply_tcon_and_X(340)
tconX service=andrew user=andrew
[1999/01/29 09:34:37, 3] smbd/process.c:process_smb(565)
Transaction 3 of length 120
[1999/01/29 09:34:37, 3] smbd/process.c:switch_message(402)
switch message SMBtrans2 (pid 690)
[1999/01/29 09:34:37, 3] lib/doscalls.c:dos_ChDir(327)
dos_ChDir to /home/andrew
[1999/01/29 09:34:37, 3] smbd/error.c:error_packet(138)
error packet at line 1540 cmd=50 (SMBtrans2) eclass=1 ecode=6
[1999/01/29 09:34:39, 3] smbd/process.c:process_smb(565)
Transaction 4 of length 48
[1999/01/29 09:34:39, 3] smbd/process.c:switch_message(402)
switch message SMBchkpth (pid 690)
Thank you for the help!
Andrew
appendix:
my setup is:
# Global parameters
workgroup = ECSL
netbios name netbios aliases server string = Samba
Server
interfaces bind interfaces only = No
security = USER
encrypt passwords = Yes
update encrypted = No
use rhosts = No
map to guest = Never
null passwords = No
password server smb passwd file = /etc/smbpasswd
hosts equiv root directory = /
passwd program = /bin/passwd
passwd chat = *old*password* %o\n *new*password* %n\n
*new*password* %n\
n *changed*
passwd chat debug = No
username map password level = 0
username level = 0
unix password sync = No
log level = 3
syslog = 1
syslog only = No
log file = /var/log/samba/log.%m
max log size = 50
timestamp logs = Yes
protocol = NT1
read bmpx = Yes
read raw = Yes
write raw = Yes
nt smb support = Yes
nt pipe support = Yes
announce version = 4.2
announce as = NT
max mux = 50
max xmit = 65535
name resolve order = lmhosts host wins bcast
max packet = 65535
max ttl = 259200
max wins ttl = 518400
min wins ttl = 21600
time server = No
change notify timeout = 60
deadtime = 0
getwd cache = Yes
keepalive = 300
lpq cache time = 10
max disk size = 0
max open files = 10000
read prediction = No
read size = 16384
shared mem size = 1048576
socket options = TCP_NODELAY
stat cache size = 50
load printers = Yes
printcap name = /etc/printcap
printer driver file = /etc/printers.def
strip dot = No
character set mangled stack = 50
coding system client code page = 850
stat cache = Yes
domain groups domain admin group domain guest group
domain admin users domain guest users machine password timeout =
604800
add user script delete user script logon script
logon path = \\%N\%U\profile
logon drive logon home = \\%N\%U
domain logons = Yes
os level = 0
lm announce = Auto
lm interval = 60
preferred master = No
local master = Yes
domain master = No
browse list = Yes
dns proxy = No
wins proxy = No
wins server wins support = No
kernel oplocks = Yes
ole locking compatibility = Yes
smbrun = /usr/bin/smbrun
config file preload lock dir = /var/lock/samba
default service message command dfree command
valid chars remote announce remote browse sync socket
address = 0.0.0.0
homedir map time offset = 0
unix realname = No
NIS homedir = No
panic action comment path alternate permissions
= No
revalidate = No
username guest account = nobody
invalid users valid users admin users read list
write list force user force group read only = Yes
create mask = 0744
force create mode = 00
directory mask = 0755
force directory mode = 00
guest only = No
guest ok = No
only user = No
hosts allow = 130.245.22. 127.
hosts deny status = Yes
max connections = 0
min print space = 0
strict sync = No
sync always = No
print ok = No
postscript = No
printing = bsd
print command = lpr -r -P%p %s
lpq command = lpq -P%p
lprm command = lprm -P%p %j
lppause command lpresume command queuepause command
queueresume command printer name printer driver = NULL
printer driver location default case = lower
case sensitive = No
preserve case = Yes
short preserve case = Yes
mangle case = No
mangling char = ~
hide dot files = Yes
delete veto files = No
veto files hide files veto oplock files map
system = No
map hidden = No
map archive = Yes
mangled names = Yes
mangled map browseable = Yes
blocking locks = Yes
fake oplocks = No
locking = Yes
oplocks = Yes
strict locking = No
share modes = Yes
copy include exec postexec root preexec
root postexec available = Yes
volume fstype = NTFS
set directory = No
wide links = Yes
follow symlinks = Yes
dont descend magic script magic output delete
readonly = No
dos filetimes = No
dos filetime resolution = No
fake directory create times = No
[homes]
comment = Home Directories
read only = No
browseable = No
[printers]
comment = All Printers
. path = /var/spool/samba
print ok = Yes
browseable = No
..