Hey all,
First off, sorry for the length, but I dont know what exactly is needed to
help me, so I gave all info up front.
I have a problem with 1.9.18p3 (or p2,p1) that didnt show with versions prior
to .18. Is it a bug or is it me? I dont know. What happens is this. I have ms
office installed on a samba drive. This drive is shared to a win nt
workstation. I start Word, for instance, and after the program (doesnt seem
to matter what program) runs for awhile (several minutes), it just exits. No
crash message, the program just stops working and dies. If I try to restart
the program, I get an error message on nt that says the app will terminate
press ok. I press ok and then I can restart the program. I have included
logfiles of both occurances for someones perusal.
I have NO earthly idea whats wrong. It seems that samba forgets I'm
connected
and disconnects me. Can someone explain why? This didnt happen with versions
prior to .18.
Machine info: p120 running stock rh4.2 with the 1.9.18p3 rpm. P100 running
windows nt sp3. I'm not using the clear text registry hack (i.e. using
encrypted passwords).
thanks for any and all help,
jim
-----------------------------------------------
Here is the portion of the logfile that contains the occurance of the
application "crash":
02/23/1998 20:30:29 readX fnum=19 cnum=40 min=32768 max=32768 nread=32768
chdir to /etc
02/23/1998 20:45:32 Transaction 337 of length 101
switch message SMBsesssetupX (pid 2876)
Domain=[] NativeOS=[Windows NT 1381] NativeLanMan=[]
sesssetupX:name=[]
nobody is in 0 groups
uid 99 registered to name nobody
Clearing default real name
02/23/1998 20:45:32 Transaction 338 of length 68
switch message SMBgetatr (pid 2876)
02/23/1998 20:45:32 error packet at line 4813 cmd=8 (SMBgetatr) eclass=2
ecode=5
02/23/1998 20:51:50 Transaction 339 of length 4
02/23/1998 21:51:50 Transaction 339 of length 4
---
BOOM app dies at this point and I try to restart it.
---
Here is the portion of the logfile when I try to restart Word following a
"crash":
02/23/1998 19:42:54 Transaction 553 of length 70
switch message SMBgetatr (pid 2540)
Skipping become_user - already user
unix_clean_name [./msoffice/Office/wwintl32.dll]
Got dir cache hit on msoffice office -> Office
unix_clean_name [msoffice/Office/WWINTL32.DLL]
02/23/1998 19:42:54 getatr name=msoffice/Office/WWINTL32.DLL mode=32
size=1157904
02/23/1998 19:42:54 Transaction 554 of length 99
switch message SMBopenX (pid 2540)
Skipping become_user - already user
unix_clean_name [./msoffice/Office/wwintl32.dll]
Got dir cache hit on msoffice office -> Office
unix_clean_name [msoffice/Office/WWINTL32.DLL]
02/23/1998 19:42:54 oplock_break: called for dev = 811, inode = 1483b.
Current global_oplocks_open = 4
02/23/1998 19:43:24 oplock_break: receive_smb timed out after 30 seconds.
02/23/1998 19:43:24 oplock_break failed for file msoffice/Office/WWINTL32.DLL
(fnum = 41, dev = 811, inode = 1483b).
02/23/1998 19:43:24 oplock_break: client failure in break - shutting down
this smbd.
chdir to /etc
Closing connections
02/23/1998 19:43:24 locutus (208.142.26.5) closed connection to service data
Yielding connection to 40 data
Yielding connection to 40 STATUS.
Yield successful
del_share_modes Deleting share mode entry dev=2065 ino=84024
fd_attempt_close on file_fd_struct 0, fd = 6, dev = 811, inode = 14838,
open_flags = 2, ref_count = 2.
02/23/1998 19:43:24 jdickins closed file msoffice/Office/WINWORD.EXE
(numopen=4)
del_share_modes Deleting share mode entry dev=2065 ino=84027
del_share_modes num entries = 0, deleting share_mode dev=2065 ino=84027
fd_attempt_close on file_fd_struct 1, fd = 7, dev = 811, inode = 1483b,
open_flags = 2, ref_count = 1.
02/23/1998 19:43:24 jdickins closed file msoffice/Office/WWINTL32.DLL
(numopen=3)
del_share_modes Deleting share mode entry dev=2065 ino=84038
del_share_modes num entries = 0, deleting share_mode dev=2065 ino=84038
fd_attempt_close on file_fd_struct 2, fd = 8, dev = 811, inode = 14846,
open_flags = 2, ref_count = 1.
02/23/1998 19:43:24 jdickins closed file msoffice/Office/MSO97.DLL
(numopen=2)
del_share_modes Deleting share mode entry dev=2065 ino=84039
del_share_modes num entries = 0, deleting share_mode dev=2065 ino=84039
fd_attempt_close on file_fd_struct 3, fd = 9, dev = 811, inode = 14847,
open_flags = 2, ref_count = 1.
02/23/1998 19:43:24 jdickins closed file msoffice/Office/MSO7ENU.DLL
(numopen=1)
del_share_modes Deleting share mode entry dev=2065 ino=51205
del_share_modes num entries = 0, deleting share_mode dev=2065 ino=51205
fd_attempt_close on file_fd_struct 4, fd = 10, dev = 811, inode = c805,
open_flags = 2, ref_count = 1.
02/23/1998 19:43:24 jdickins closed file msoffice/Templates/Normal.dot
(numopen=0)
closing dptr key 0
"" "" "" <--- I trimmed these lines
for length savings
closing dptr key 21
02/23/1998 19:43:24 locutus (208.142.26.5) closed connection to service data
Yielding connection to 41 data
Yielding connection to 41 STATUS.
Yield successful
del_share_modes Deleting share mode entry dev=2065 ino=84024
del_share_modes num entries = 0, deleting share_mode dev=2065 ino=84024
fd_attempt_close on file_fd_struct 0, fd = 6, dev = 811, inode = 14838,
open_flags = 2, ref_count = 1.
02/23/1998 19:43:24 jdickins closed file msoffice/Office/WINWORD.EXE
(numopen=0)
closing dptr key 22
"" "" "" "" "" <---- i
trimmed the same lines for length sake
closing dptr key 66
02/23/1998 19:43:24 locutus (208.142.26.5) closed connection to service
jdickins
Yielding connection to 52 jdickins
Yielding connection to 52 STATUS.
Yield successful
02/23/1998 19:43:24 Server exit (oplock break failure)
02/23/1998 19:43:24 Transaction 1 of length 174
switch message SMBnegprot (pid 2869)
Requested protocol [PC NETWORK PROGRAM 1.0]
Requested protocol [XENIX CORE]
Requested protocol [MICROSOFT NETWORKS 1.03]
Requested protocol [LANMAN1.0]
Requested protocol [Windows for Workgroups 3.1a]
Requested protocol [LM1.2X002]
Requested protocol [LANMAN2.1]
Requested protocol [NT LM 0.12]
Selected protocol NT LM 0.12
02/23/1998 19:43:24 Transaction 2 of length 130
switch message SMBsesssetupX (pid 2869)
Domain=[] NativeOS=[Windows NT 1381] NativeLanMan=[]
sesssetupX:name=[]
nobody is in 0 groups
uid 99 registered to name nobody
Clearing default real name
Chained message
switch message SMBtconX (pid 2869)
Got device type A:
Trying username datA
02/23/1998 19:43:24 invalid username/password for data
02/23/1998 19:43:24 error packet at line 171 cmd=117 (SMBtconX) eclass=2
ecode=2
error string = Invalid argument
02/23/1998 19:43:24 Transaction 3 of length 43
switch message SMBulogoffX (pid 2869)
02/23/1998 19:43:24 ulogoffX vuid=100
end of file from client
Closing connections
02/23/1998 19:43:24 Server exit (normal exit)
Here is my smb.conf:
[global]
workgroup = APT
log level = 3
server string = Samba Server
printcap name = /etc/printcap
load printers = yes
log file = /var/log/samba-log.%m
max log size = 100
security = user
encrypt passwords = yes
smb passwd file = /etc/smbpasswd
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=16384
SO_RCVBUF=16384
readsize = 16384
os level = 33
dns proxy = no
[homes]
comment = Home Directories
browseable = no
writable = yes
preserve case = yes
short preserve case = yes
create mode = 0750
[data]
comment = data directory
path = /home1
valid users = jdickins
public = no
writable = yes
printable = no
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no