[Samba] Samba segs when serving files from a windows partition on OpenBSD-4.2

Jeremy Allison jra at samba.org
Tue Apr 29 20:13:29 GMT 2008


On Mon, Apr 28, 2008 at 09:05:29PM +0100, Edd Barrett wrote:

> I am sure that the OpenBSD team will be interested in fixing these bugs
> if they still exist, as they take pride making good quality code. I
> can't speak for NetBSD or FreeBSD.
> 
> As for the "directory name cache size = 0" it does not work for me. On
> OpenBSD. I used this configuration:
> 
> [global]
> workgroup = MYGROUP
> server string = Samba Server
> security = share
> log file = /var/log/smbd.%m
> directory name cache size = 0
> 
> [public]
>    comment = Public Stuff
>    path = /mnt/hot/sd0i
>    public = yes
>    writable = yes
>    printable = no
> 
> I tested this with samba-latest.tgz from your web-page.
> 
> If I change the path to someplace else on a UFS slice, all is well.

Did you remove the lib/replace/repdir_getdirentries.c code as
well ? The aborts will still trigger even with "directory name cache
size = 0" if that code is in place.

Jeremy.


More information about the samba mailing list