File locking, Linux Redhat 6.1, samba 2.0.6 and netatalk-1.4b2+asun2.1.4

Kevin (HxPro) Wheatley hxpro at cinesite.co.uk
Fri Apr 14 18:54:37 GMT 2000


Herb Lewis wrote:
> 
> "Kevin (HxPro) Wheatley" wrote:
> >
> > Hi,
> >
> > we're trying to use the above combination with Win NT clients, but there
> > doesn't appear to be communication about file locking going on as the
> > mac users are able to corrupt samba's files, is there anything that
> > needs to be turned on/off on samba to tell the netatalk daemons to stop
> > doing nasty things?  (or vice versa)
> >
> > Has anybody else had problems with this particularily under Word and
> > Filemaker Pro ?
> >
> > Thanks
> >
> > Kevin
> >
> 
> This is most likely an oplock issue. No communication of oplock info
> between samba and the kernel exists for any version of samba except
> on IRIX. Code is being ported to Linux but Linus didn't like the first
> implementation so it didn't get into the distribution. Until this
> patch is accepted, your only option is to turn off oplocks in samba
> for any share that will be accessed by different types of clients
> (windows, local, nfs, etc.).
> 

Thanks for the mail, I've just tried this with oplocks = no and
restarted the daemons but the mac still think it's fine to trash
everything .... I've also compiled with DEFS=-DUSE_FLOCK_LOCKS on the
netatalk side, it works mac<->mac and pc<->pc,
is their a way of getting an SGI to run netatalk or something similar in
cost :-) I could then use samba on IRIX 6.5 and solve the problem with a
'spare' O200 :-)

Kevin
 
-- 
| Kevin Wheatley             | These are the opinions of nobody   |
| Technical Services Manager | and are not shared by my employers |
| Cinesite Digital Studios   |                                    |


More information about the samba mailing list