Skip to contentSkip to conversation

tiny samba

DISCUSSION Patrick Fischer 3 participants 3 messages Nov 6, 2007

lore
Share & tools
lore
#0 lore raw

Hello OE.
I would like to create an tiny samba server just to share files for a windows clients.
A full samba is overkill. (don't need LDAP, Usermanagment,....)

Is there a tiny samba bb or any idea how to create a mini smb server?

Best regards

Patrick Fischer

#1 lore raw

Hi Patrick

www.lighttpd.net with the WEBDAV module might be an option for you.

greetings

roger

Quoting Patrick Fischer <[email protected]>:

Quoted 7 lines

Hello OE.
I would like to create an tiny samba server just to share files for a windows clients.
A full samba is overkill. (don't need LDAP, Usermanagment,....)

Is there a tiny samba bb or any idea how to create a mini smb server?

Quoted 11 lines

Best regards

Patrick Fischer

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Roger Meier

Dorfstrasse 23A
CH-8606 Greifensee
044 940 52 48
079 706 67 55

mail: <[email protected]>
web:  http://www.bufferoverflow.ch/

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

#2 lore raw
In reply to Patrick Fischer

I recently had the need for the same thing. There is a samba-essentials recipe, but it appears to be broken in the upstream.

Bitbake will complain that it looks at source includes, but there is a fix in this bug:

http://bugs.openembedded.org/show_bug.cgi?id=2117

It also appears that the SRC_URI in samba-essential_3.0.20.bb needs to be fixed from

SRC_URI = "..."

to

SRC_URI += " ..."

The space is very important.

Also, bitbake complains that debug binaries are included in a non-debug package, so I added this:

FILES_${PN}-dbg = "${libdir}/charset/.debug \
                  ${libdir}/vfs/.debug"

This should get you a workingn tiny samba server in ~3MB.

If I get some time I'll submit a full patch via the bug tracker.

Quoted 15 lines · Patrick Fischer

Hello OE.
I would like to create an tiny samba server just to share files for a windows clients. A full samba is overkill. (don't need LDAP, Usermanagment,....)

Is there a tiny samba bb or any idea how to create a mini smb server?

Best regards

Patrick Fischer

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel