Whiffen, Richard (Exchange)
1998-Feb-17 20:58 UTC
Quark 4.0 and Samba 1.9.18p2 saving problem...
Hello all, Sorry this is such a long message but, we're having an odd problem with our samba servers. The samba server version doesn't appear to matter too much, the problem happens on a 1.9.18p2 and a 1.9.17p4 machine. I tried searching the digests, but didn't see anything that fit. A PC running NT 4.0 SP#3 and Quark 4.0 has this problem: If they open a Quark V3.3 file and try to save it as a 4.0 file they get an Error -54 (File Locked). They cannot save the file under the same name as the original v3.3 file. If you create a 4.0 file and save the 4.0 file, it works fine. If you create a 4.0 file and save it, then try to change it to a v3.3 file with the same name, you get the same error. I think when it tries to replace the existing file with a file of a different version, it gives the error. Here's a snippet from the log file where I try to open a Quark V3.3 file in Quark v4.0: *BEGIN INCLUDED LOG SNIPPET* 02/17/1998 13:10:49 nt6 (172.16.5.25) connect to service whiffen as user whiffen (uid=521,gid=100) (pid 3113) 02/17/1998 13:29:11 nt6 (172.16.5.25) closed connection to service whiffen 02/17/1998 14:07:01 nt6 (172.16.5.25) connect to service whiffen as user whiffen (uid=521,gid=100) (pid 3113) 02/17/1998 14:07:14 whiffen opened file janetz/design approval.qxd read=Yes write=No (numopen=1 fnum=94) del_share_modes Deleting share mode entry dev=771 ino=71682 del_share_modes num entries = 0, deleting share_mode dev=771 ino=71682 02/17/1998 14:07:14 whiffen closed file janetz/design approval.qxd (numopen=0) 02/17/1998 14:07:14 whiffen opened file janetz/design approval.qxd read=Yes write=No (numopen=1 fnum=95) *END INCLUDED LOG SNIPPET* These same lines repeat with a different fnum= value on the last line Usually there's 25 or so of them: del_share_modes Deleting share mode entry dev=771 ino=71682 del_share_modes num entries = 0, deleting share_mode dev=771 ino=71682 02/17/1998 14:07:14 whiffen closed file janetz/design approval.qxd (numopen=0) 02/17/1998 14:07:14 whiffen opened file janetz/design approval.qxd read=Yes write=No (numopen=1 fnum=96) I can work with the file, I just can't save it under the same name. I tried a lot of file locking settings and tried the oplock setting in 1.9.18p2 but they all yielded the same results. I also have a call into Quark about this, but they're tech support currently has no ideas. They wanted to blame it on NetBeui but we're not running Netbeui, so I'm at a loss. I'm also including 2 smb.conf files. Neither works. The first has been played with a lot so the settings may not make sense, since I was grasping at straws. The second is our primary file server our users use. Is there a server setting I can change to help this problem? Any setting suggestions would be greatly appreciated. Thanks for your time, Rich Whiffen my current SMB.conf 1.9.18p2: ; The global setting for a RedHat default install ; smbd re-reads this file regularly, but if in doubt stop and restart it: ; /etc/rc.d/init.d/smb stop ; /etc/rc.d/init.d/smb start ;======================= Global Settings ====================================[global] workgroup = WORKGROUP guest ok = no password server = ICI3 ICI11 wins server = ici11 security = server local master = no remote announce = 172.16.255.255/WORKGROUP 172.16.1.3/WORKGROUP comment = RedHat Samba Server log file = /var/log/samba-log.%m max log size = 50 lock directory = /var/lock/samba locking = no strict locking = no [homes] locking = no oplocks = False read only = no path = /home create mask = 0775 comment = Rich Share The SMB.conf file of another server 1.9.17p4 SunOS 4.1.4 that has the same problem: [global] workgroup = WORKGROUP server string = Applications and Home Directory Server guest ok = no password server = ICI3 ICI11 security = server local master = no lock directory = /var/tmp remote announce = 172.16.255.255/WORKGROUP 172.16.1.3/WORKGROUP [home6] read only = no path = /home6 create mask = 0775 admin users = lafko comment = User Home Directories for SunOS [home6b] read only = no path = /home6b create mask = 0775 admin users = lafko comment = Pubs User Home Directories for SunOS -- Richard C Whiffen Investment Company Institute 1401 H Street NW Washington, DC 20005 (202) 326 5992 whiffen@ici.org http://www.ici.org