[Samba] Strange MS-Access Problems with Samba 2.2.1a

Joel Hammer Joel at HammersHome.com
Tue Aug 27 04:19:00 GMT 2002


A standard response to data corruption is to turn off oplocks. They are on
by default. Also, read about strict sync and sync always. These are off by
default.

To use the man page instead of swat.
man smb.conf
/     strict sync

Joel


On Tue, Aug 27, 2002 at 02:30:54PM +0200, Gregor Herbort wrote:
> Hello,
> 
> something strange happens sometimes with a MS access Database when trying to
> open it on a samba share. The database is destroyed and I think the problem
> is Samba cause in the database file you can find some log entries from
> samba. I got some tips from a german ng but I think it is better to publish
> it here cause might be a bug in samba 2.2.1a.
> I use samba 2.2.1a on Suse 7.3 and MS Office 2000 with service pack 2 on
> WIN98 SE
> greetings
> Gregor
> 
> Parts of the destroyed database file:
> --snip--
> @^A^@^G^D^@^D^@^@^@^@^@^F^@·÷^L^@
> ^@^A^@^G^D^@^C^@^@^@^@^@^F^@·÷^L^@
> ^@^A^@^G^D^@^B^@^@^@^@^@^F^@·÷^L^@
> ^@^A^@^G[2002/08/15 10:18:43, 2] smbd/open.c:open_file(216)
>   GREGOR opened file Access-Datenbank/db1.mdb read=Yes write=No (numopen=2)
> [2002/08/15 10:18:43, 2] smbd/close.c:close_normal_file(205)
>   gregor closed file Access-Datenbank/db1.mdb (numopen=1)
> [2002/08/15 10:18:43, 2] smbd/open.c:open_file(216)
>   GREGOR opened file Access-Datenbank/db1.mdb read=Yes write=Yes (numopen=2)
> [2002/08/15 10:18:47, 2] smbd/close.c:close_normal_file(205)
> --snip--
> 
> Samba-Configuration:
> [global]
> server string = Herbort Server
> encrypt passwords = yes
> workgroup = SIMPSONS
> security = DOMAIN
> interfaces = 192.168.17.60/255.255.255.0
> domain logons = yes
> logon script=%U.bat
> netbios name = samba-server
> wins support = yes
> os level = 255
> domain master = yes
> preferred master = yes
> local master = yes
> socket options = TCP_NODELAY IPTOS_LOWDELAY
> log level = 2
> case sensitive = no
> mangle case = no
> short preserve case = yes
> preserve case = yes
> dos filetimes = yes
> dos filetime resolution = yes
> 
> [daten]
> public=yes
> comment=Daten
> read only=no
> path=/home/daten
> create mask =  777
> directory mask = 777
> writeable = FALSE
> valid users = gregor
> write list = gregor
> guest ok = no
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba



More information about the samba mailing list