[haiku-development] Re: [GSoC] improper name for "Porting SAMBA" task

> Both BeOS and ZETA had a CIFS. Whenever I needed it, I didn't have so
> much
> luck with the BeOS version. In certain situations, the ZETA version
> was
> quite reliable, but it was very picky about the server version. I
> don't
> know if any of this is available as open source somewhere, maybe
> others can
> provide more insights.

The zeta version was rewritten AFAIK, but isn't open either.
I never really got it to work on my laptop, probably a version issue.

> Also, there is a port of the SAMBA server on www.bebits.com. See
> <http://www.bebits.com/app/1577>. It does come with the source code
> too.

I also have some patches around, like
http://revolf.free.fr/beos/patches/samba-3.0.0-0005.patch.txt

> The point is that Haiku is much more POSIX compliant so some hacks
> which
> might have been necessary for this port are no longer necessary for
> Haiku.

Indeed, we now support proper advisory locking, so the configure-time
tests won't have to be force-skipped :)
Also some BONE-specifics are not needed anymore (ifconf stuff is
different).
We should have setgroups() now too...

> The SAMBA code has probably evolved since that time too (in five
> years),
> especially with protocol documentation having become available
> recently it
> must have improved. So I guess it is worthwhile to do a new port of
> the
> current code base, while using this previous port as a reference
> perhaps.

Indeed the 4.x branch has been rewritten from scratch.
I started porting it but didn't get very far as I recall.

François.

Other related posts: